Show edit icon on tags
This commit is contained in:
parent
53fac7a8c2
commit
c4ba5ea64e
@ -244,7 +244,7 @@ build = {
|
|||||||
tags: function(tags, forView) {
|
tags: function(tags, forView) {
|
||||||
|
|
||||||
var html = "",
|
var html = "",
|
||||||
editTagsHTML;
|
editTagsHTML = (forView===true||lychee.publicMode) ? "" : " " + build.editIcon("edit_tags");
|
||||||
|
|
||||||
if (tags!=="") {
|
if (tags!=="") {
|
||||||
|
|
||||||
@ -256,9 +256,11 @@ build = {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
html += editTagsHTML;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
editTagsHTML = (forView===true||lychee.publicMode) ? "" : " " + build.editIcon("edit_tags");
|
|
||||||
html = "<div class='empty'>No Tags" + editTagsHTML + "</div>";
|
html = "<div class='empty'>No Tags" + editTagsHTML + "</div>";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user