diaspora/app/assets/templates/single-post-viewer/single-post-moderation_tpl.jst.hbs
Steffen van Bergerem d7d9891293 Merge pull request #5722 from AugierLe42e/add-notif-unsubscribe-single-post-view
Add a notification subscribtion to the single post view
2015-03-14 00:52:03 +01:00

28 lines
1,000 B
Handlebars

<div>
{{#if loggedIn}}
{{#if authorIsCurrentUser}}
<a href="#" class="remove_post" title="{{t "delete"}}">
<i class="entypo trash"></i>
</a>
{{else}}
<a href="#" data-type="post" class="post_report" title="{{t "report.name"}}">
<i class="entypo warning"></i>
</a>
<a href="#" data-type="post" class="block_user" title="{{t "ignore"}}">
<i class="entypo block"></i>
</a>
{{#if participation}}
<a href="#" data-type="nofollow" class="destroy_participation" title="{{t "stream.disable_post_notifications"}}">
<i class="entypo bell"></i>
</a>
{{else}}
<a href="#" data-type="nofollow" class="create_participation" title="{{t "stream.enable_post_notifications"}}">
<i class="entypo bell"></i>
</a>
{{/if}}
<a href="#" data-type="post" class="hide_post" title="{{t "stream.hide"}}">
<i class="entypo cross"></i>
</a>
{{/if}}
{{/if}}
</div>