Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Daron
panikweb
Commits
00da3330
Commit
00da3330
authored
Oct 23, 2013
by
fred
Browse files
display newsitem date after the title
parent
b79491e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/templates/emissions/newsitem_detail.html
View file @
00da3330
...
...
@@ -7,12 +7,12 @@
<div
class=
"wrapper navigation"
>
<div
class=
"leftPart"
>
<header>
{% if newsitem.date %}
<div
class=
"date cf label"
>
{{ newsitem.date|date:"D d M Y" }}
</div>
{% endif %}
<h2
class=
"squashed title"
>
{{ newsitem.title }}
</h2>
{% if newsitem.date %}
<div
class=
"date cf label"
>
{{ newsitem.date|date:"D d M Y" }}
</div>
{% endif %}
</header>
{% if newsitem.image %}
<img
class=
"logo right button"
onclick=
"$(this).toggleClass('right marged');"
src=
"{{ newsitem.image.url }}"
/>
...
...
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