Skip to content

Commit

Permalink
Merge pull request #120 from kimausloos/master
Browse files Browse the repository at this point in the history
Don't show choose template when there is only one
  • Loading branch information
Wim Vandersmissen committed Jul 31, 2014
2 parents 381cc09 + 24ee829 commit 0575103
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
{% endfor %}
</div>
{% endfor %}
{% if resource.pagetemplates|length > 1 %}
<button class="btn" data-keyboard="true" data-toggle="modal" data-target="#change-template-modal{{id}}" name="change-template-button"><i class="icon-align-justify"></i> Change template</button>
<!--Change template modal-->
<div id="change-template-modal{{id}}" class="modal hide fade change-template-modal">
Expand Down Expand Up @@ -56,6 +57,7 @@
</div>
</div>
</div>
{% endif %}
</section>
<script>
PageTemplateEditor = {
Expand Down

0 comments on commit 0575103

Please sign in to comment.