Skip to content

Commit

Permalink
related to #1806 changed add album icon and add photo icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Leproux committed Nov 23, 2022
1 parent c02db15 commit 06c0164
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions admin/themes/default/js/albums.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ function createAlbumNode(node, li) {
actions =
'<div class="move-cat-action-cont">'
+"<div class='move-cat-action'>"
+'<a class="move-cat-add icon-plus-circled tiptip" title="'+ str_add_album +'" href="#" data-aid="'+node.id+'"></a>'
+'<a class="move-cat-add icon-add-album tiptip" title="'+ str_add_album +'" href="#" data-aid="'+node.id+'"></a>'
+'<a class="move-cat-edit icon-pencil tiptip" title="'+ str_edit_album +'" href="admin.php?page=album-'+node.id+'"></a>'
+'<a class="move-cat-upload icon-upload tiptip" title="'+ str_add_photo +'" href="admin.php?page=photos_add&album='+node.id+'"></a>'
+'<a class="move-cat-upload icon-plus-circled tiptip" title="'+ str_add_photo +'" href="admin.php?page=photos_add&album='+node.id+'"></a>'
+'<a class="move-cat-see icon-eye tiptip" title="'+ str_visit_gallery +'" href="index.php?/category/'+node.id+'"></a>'
+'<a data-id="'+node.id+'" class="move-cat-order icon-sort-name-up tiptip" title="'+ str_sort_order +'"></a>'
+'<a data-id="'+node.id+'" class="move-cat-delete icon-trash tiptip" title="'+ str_delete_album +'" ></a>'
Expand Down
8 changes: 6 additions & 2 deletions admin/themes/default/template/albums.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const add_sub_album_of = '{'Create a sub-album of "%s"'|@translate|escape:javasc

<div class="cat-move-header">
<div class="add-album-button">
<label class="head-button-2 icon-plus-circled">
<label class="head-button-2 icon-add-album">
<p>{'Add Album'|@translate}</p>
</label>
</div>
Expand All @@ -132,7 +132,7 @@ const add_sub_album_of = '{'Create a sub-album of "%s"'|@translate|escape:javasc
<a class="icon-cancel CloseAddAlbum"></a>

<div class="AddIconContainer">
<span class="AddIcon icon-blue icon-plus-circled"></span>
<span class="AddIcon icon-blue icon-add-album"></span>
</div>
<div class="AddIconTitle">
<span></span>
Expand Down Expand Up @@ -280,6 +280,10 @@ const add_sub_album_of = '{'Create a sub-album of "%s"'|@translate|escape:javasc
}
}
.add-album-button label::before {
margin-right: 7px;
}
#AddAlbum, #DeleteAlbum, #RenameAlbum {
display: none;
}
Expand Down

0 comments on commit 06c0164

Please sign in to comment.