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
b19c4727
Commit
b19c4727
authored
Aug 16, 2014
by
Tobias Reich
Browse files
Fixed indention
parent
eebb73a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
assets/js/build.js
View file @
b19c4727
...
...
@@ -56,9 +56,9 @@ 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
.
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
.
recent
==
1
)
album
+=
"
<a class='badge red icon-time'></a>
"
;
}
...
...
@@ -139,9 +139,9 @@ build = {
no_content
+=
"
<div class='no_content fadeIn'>
"
;
no_content
+=
"
<a class='icon icon-
"
+
typ
+
"
'></a>
"
;
if
(
typ
===
"
search
"
)
no_content
+=
"
<p>No results</p>
"
;
else
if
(
typ
===
"
picture
"
)
no_content
+=
"
<p>No public albums</p>
"
;
else
if
(
typ
===
"
cog
"
)
no_content
+=
"
<p>No Configuration!</p>
"
;
if
(
typ
===
"
search
"
)
no_content
+=
"
<p>No results</p>
"
;
else
if
(
typ
===
"
picture
"
)
no_content
+=
"
<p>No public albums</p>
"
;
else
if
(
typ
===
"
cog
"
)
no_content
+=
"
<p>No Configuration!</p>
"
;
no_content
+=
"
</div>
"
;
...
...
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