mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Add icon to tags on notes.
This commit is contained in:
@@ -675,7 +675,7 @@ View.prototype = {
|
||||
modalTags.html('');
|
||||
newTags.forEach(function (item, index) {
|
||||
var noteId = parseInt(item.id) || -1;
|
||||
var tag = $('<div class="slim-tag" tag-id="' + noteId + '">' + item.text + '</div>');
|
||||
var tag = $('<div class="icon-tag slim-tag" tag-id="' + noteId + '">' + item.text + '</div>');
|
||||
modalTags.append(tag);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
<div class='note-tags'>
|
||||
{{#each tags}}
|
||||
<div class="slim-tag" tag-id="{{ id }}">{{{ name }}}</div>
|
||||
<div class="icon-tag slim-tag" tag-id="{{ id }}">{{{ name }}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</div>
|
||||
<div class='note-tags'>
|
||||
{{#each tags}}
|
||||
<div class='slim-tag' tag-id="{{ id }}">
|
||||
<div class='icon-tag slim-tag' tag-id="{{ id }}">
|
||||
{{{ name }}}
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
Reference in New Issue
Block a user