Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Video AG Infrastruktur
website
Commits
58beea4e
Commit
58beea4e
authored
Sep 11, 2016
by
Andreas Valder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a syntax error with string casting in jinja
parent
a5d8e1e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
templates/index.html
templates/index.html
+1
-1
No files found.
templates/index.html
View file @
58beea4e
...
...
@@ -18,7 +18,7 @@
<li
class=
"pull-right"
>
{{ valuedeletebtn(('announcements',msg.id,'deleted')) }}
</li>
<li
class=
"pull-right"
style=
"padding-right: 5px;"
>
{% if not msg.visible %}
<a
href=
"{{ url_for('edit', prefix='announcements.'+
str(
msg.id|string
)
+'.', ref=request.url, visible=1) }}"
class=
"btn btn-primary"
>
Veröffentlichen
</a>
<a
href=
"{{ url_for('edit', prefix='announcements.'+msg.id|string+'.', ref=request.url, visible=1) }}"
class=
"btn btn-primary"
>
Veröffentlichen
</a>
{% elif msg.time_expire and msg.time_expire
<
datetime.now
()
%}
<
a
href=
"#"
class=
"btn btn-danger disabled"
>
Abgelaufen
</a>
{% elif msg.time_publish and msg.time_publish > datetime.now() %}
...
...
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