add share icon to owner's note as well

This commit is contained in:
Vinzenz
2016-05-31 17:23:15 +02:00
parent a19bc47bd3
commit c84dbf4d97
5 changed files with 26 additions and 2 deletions

View File

@@ -4,6 +4,9 @@
<div class='icon-share shared-title' title="shared with you by {{ userid }}"></div><div id='title' class='note-title'>{{{ title }}}</div>
<div id='content' class='note-content'>{{{ content }}}</div>
{{else}}
{{#if sharedwith}}
<div class='icon-share shared-title-owner' title="shared with {{ sharedwith }}"></div>
{{/if}}
<div id='title-editable' class='note-title'>{{{ title }}}</div>
<button class="icon-delete hide-delete-icon icon-delete-note" title="Delete"></button>
<div id='content-editable' class='note-content'>{{{ content }}}</div>