Commit 5d78479d authored by Tobias Reich's avatar Tobias Reich
Browse files

Show public badge on public albums

parent 2e701a5b
......@@ -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>";
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment