Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AE
Sith
Commits
bf57329b
Commit
bf57329b
authored
Apr 18, 2018
by
Skia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sas/templates: Improve generation time display
parent
4d36a961
Pipeline
#1476
passed with stage
in 12 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sas/templates/sas/album.jinja
sas/templates/sas/album.jinja
+4
-2
No files found.
sas/templates/sas/album.jinja
View file @
bf57329b
...
...
@@ -16,7 +16,7 @@
<a
href=
"
{{
url
(
'sas:main'
)
}}
"
>
SAS
</a>
>
{{
print_path
(
album.parent
)
}}
{{
album.get_display_name
()
}}
<h3>
{{
album.get_display_name
()
}}
</h3>
<a
href=
"
{{
url
(
'sas:album_edit'
,
album_id
=
album.id
)
}}
"
>
{%
trans
%}
Edit
{%
endtrans
%}
</a><br>
{
{
timezone.now
()
}
}
{
%
set
start
=
timezone.now
()
%
}
<hr>
{%
set
edit_mode
=
user.can_edit
(
album
)
%}
{%
if
edit_mode
%}
...
...
@@ -85,7 +85,9 @@
{{
form.as_p
()
}}
<p><input
type=
"submit"
value=
"
{%
trans
%}
Upload
{%
endtrans
%}
"
/></p>
</form>
{{
timezone.now
()
}}
<p
style=
"font-size: small; color: #444;"
>
{%
trans
%}
Template generation time:
{%
endtrans
%}
{{
timezone.now
()
-
start
}}
</p>
{%
endblock
%}
{%
block
script
%}
...
...
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