Browse Source

Show public badge on public albums

Tobias Reich 10 years ago
parent
commit
5d78479daa
3 changed files with 4 additions and 4 deletions
  1. 4 4
      assets/js/build.js
  2. 0 0
      assets/min/main.js
  3. 0 0
      assets/min/view.js

+ 4 - 4
assets/js/build.js

@@ -56,10 +56,10 @@ build = {
 
 
 		if (!lychee.publicMode) {
 		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 it is too large
+ 0 - 0
assets/min/main.js


File diff suppressed because it is too large
+ 0 - 0
assets/min/view.js


Some files were not shown because too many files changed in this diff