Show public badge on public albums

This commit is contained in:
Tobias Reich 2014-07-21 00:14:46 +02:00
parent 2e701a5bdc
commit 5d78479daa
3 changed files with 9 additions and 9 deletions

View File

@ -56,10 +56,10 @@ build = {
if (!lychee.publicMode) {
if(albumJSON.star===1) album += "<a class='badge red icon-star'></a>";
if(albumJSON.public===1) album += "<a class='badge red icon-share'></a>";
if(albumJSON.unsorted===1) album += "<a class='badge red icon-reorder'></a>";
if(albumJSON.recent===1) album += "<a class='badge red icon-time'></a>";
if(albumJSON.star==1) album += "<a class='badge red icon-star'></a>";
if(albumJSON.public==1) album += "<a class='badge red icon-share'></a>";
if(albumJSON.unsorted==1) album += "<a class='badge red icon-reorder'></a>";
if(albumJSON.recent==1) album += "<a class='badge red icon-time'></a>";
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long