Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
photos
Commits
2e701a5b
Commit
2e701a5b
authored
Jul 21, 2014
by
Tobias Reich
Browse files
Removed redundant if
parent
6c18e637
Changes
2
Hide whitespace changes
Inline
Side-by-side
assets/js/build.js
View file @
2e701a5b
...
...
@@ -54,10 +54,14 @@ build = {
album
+=
"
<a>
"
+
albumJSON
.
sysdate
+
"
</a>
"
;
album
+=
"
</div>
"
;
if
(
!
lychee
.
publicMode
&&
albumJSON
.
star
===
1
)
album
+=
"
<a class='badge red icon-star'></a>
"
;
if
(
!
lychee
.
publicMode
&&
albumJSON
.
public
===
1
)
album
+=
"
<a class='badge red icon-share'></a>
"
;
if
(
!
lychee
.
publicMode
&&
albumJSON
.
unsorted
===
1
)
album
+=
"
<a class='badge red icon-reorder'></a>
"
;
if
(
!
lychee
.
publicMode
&&
albumJSON
.
recent
===
1
)
album
+=
"
<a class='badge red icon-time'></a>
"
;
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>
"
;
}
album
+=
"
</div>
"
;
...
...
assets/min/view.js
View file @
2e701a5b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment