This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/templates/share.js.handlebars
Régis Hanol 3b6b2770f3 BUGFIX: date of the post in the share dialog is now properly bound
CLEANUP: removed all unused handlebars helpers
REFACTOR: removed 'unbound' prefix (for performance reasons, helpers are unbound by default)
REFACTOR: added 'bound' prefix to bound helpers
REFACTOR: renamed helper using 'foo-bar-foo' syntax (instead of camel case)
2014-06-10 19:04:31 +02:00

16 lines
347 B
Handlebars

<h3>{{view.title}}</h3>
{{#if date}}
<span class="date">{{bound-raw-date date}}</span>
{{/if}}
<div><input type='text' /></div>
{{#each shareLinks}}
{{view Discourse.ShareLinkView contentBinding="this"}}
{{/each}}
<div class='link'>
<a href='#' {{action close}} title='{{i18n share.close}}'><i class="fa fa-times-circle"></i></a>
</div>