Restore shares navigation

This commit is contained in:
Matias De lellis
2020-06-16 12:43:23 -03:00
parent f2b289f1f4
commit a4eeaf9128
3 changed files with 46 additions and 24 deletions

View File

@@ -8,6 +8,18 @@
{{allNotesTxt}}
</a>
</li>
<li id="shared-folder" class="collapsible open">
<button class="collapse"></button>
<a href="#" class="icon-share svg">{{t "quicknotes" "Shares" }}</a>
<ul>
<li id="shared-by-you">
<a href="#" class="icon-share svg">{{t "quicknotes" "Shared with others" }}</a>
</li>
<li id="shared-with-you">
<a href="#" class="icon-share svg">{{t "quicknotes" "Shared with you" }}</a>
</li>
</ul>
</li>
<li id="colors-folder" class="collapsible open">
<button class="collapse"></button>
<a href="#" class="icon-search svg">{{colorsTxt}}</a>

View File

@@ -2,7 +2,7 @@
<div id="notes-grid-div" class="notes-grid">
{{#each notes}}
<div class="note-grid-item">
<div class="quicknote noselect" style="background-color: {{color}}" data-id="{{ id }}" data-timestamp="{{ timestamp }}" >
<div class="quicknote noselect {{#if is_shared}}shared{{/if}} {{#if shared_with.length}}shareowner{{/if}}" style="background-color: {{color}}" data-id="{{ id }}" data-timestamp="{{ timestamp }}" >
<div class='note-header'>
<div class='note-attachts'>
{{#each attachts}}