Quote action names in templates

This commit is contained in:
Piotr Sarnacki 2015-05-05 11:40:24 +02:00
parent 971691852f
commit e217335f2d
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@
</div>
{{else}}
<div class="sync-button">
<button {{action sync}} class="button">
<button {{action 'sync'}} class="button">
<span class="icon icon-sync"></span>Sync
</button>
<p class="sync-last">last synced {{format-time user.syncedAt}}</p>

View File

@ -5,7 +5,7 @@
</button>
{{else}}
<p class="sync-last">last synced {{format-time user.syncedAt}}</p>
<button {{action sync}} class="button">
<button {{action 'sync'}} class="button">
<span class="icon icon-sync"></span>Sync account
</button>
{{/if}}

View File

@ -2,7 +2,7 @@
<h4>How can we help?</h4>
<ul>
{{#if config.billingEndpoint}}
<li><a href="#" {{action displayCharm target="Travis"}}>Support Ticket</a></li>
<li><a href="#" {{action 'displayCharm' target="Travis"}}>Support Ticket</a></li>
{{/if}}
<li><a href="http://chat.travis-ci.com">Live Chat</a></li>
<li><a href="mailto:support@travis-ci.com">E-Mail us</a></li>