mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 15:47:17 +01:00
36 lines
1.1 KiB
Handlebars
36 lines
1.1 KiB
Handlebars
<div class="note-grid-item">
|
|
<div class="quicknote noselect {{#if active}}note-active{{/if}} {{#if isshared}}shared{{/if}} {{#if sharedwith}}shareowner{{/if}}" style="background-color: {{color}}" data-id="{{ id }}" data-timestamp="{{ timestamp }}" >
|
|
{{#if isshared}}
|
|
<div>
|
|
<div class='icon-share shared-title' title="Shared by {{ userid }}"></div>
|
|
<div class='note-title'>
|
|
{{{ title }}}
|
|
</div>
|
|
</div>
|
|
<div id='content' class='note-content'>
|
|
{{{ content }}}
|
|
</div>
|
|
{{else}}
|
|
<div>
|
|
<div class="icon-header-note icon-delete hide-header-icon icon-delete-note" title="Delete"></div>
|
|
<div class="icon-header-note icon-checkmark hide-header-icon" title="Pin note"></div>
|
|
<!--
|
|
{{#if sharedwith}}
|
|
<div class='icon-share shared-title-owner' title="Shared with {{ sharedwith }}"></div>
|
|
{{/if}}
|
|
-->
|
|
<div class='note-title'>
|
|
{{{ title }}}
|
|
</div>
|
|
</div>
|
|
<div class='note-content'>
|
|
{{{ content }}}
|
|
</div>
|
|
<div class='note-tags'>
|
|
{{#each tags}}
|
|
<div class="icon-tag slim-tag" tag-id="{{ id }}">{{{ name }}}</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</div> |