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
7b323142
Commit
7b323142
authored
Nov 29, 2015
by
fred
Browse files
playlist: adjust emission sidebar markup
parent
8884d9e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/templates/emissions/emission_detail.html
View file @
7b323142
...
...
@@ -48,18 +48,23 @@
{% if nonstop %}
<div
class=
"sub emissions-newsitems"
>
<h5
class=
"sectionLabel"
>
{% trans 'Recently' %}
</h5>
<ul
class=
"custom list"
>
{% for date in nonstop_dates %}
<div
class=
"episode inline episode-inline"
>
<li><div
class=
"content content-inline inline cf"
>
<a
class=
"block cf"
href=
"{% url 'nonstop-playlist' slug=emission.slug year=date.year month=date.month day=date.day %}"
>
{% if emission.image %}
{% thumbnail emission.image "60x60" crop="50% 25%" as im %}
<img
src=
"{{im.url}}"
/>
<div
class=
"logo"
>
<img
class=
"left"
height=
"60"
width=
"60"
src=
"{{im.url}}"
/>
</div>
{% endthumbnail %}
{% endif %}
<div
class=
"title"
>
<h5
class=
"title"
><a
href=
"{% url 'nonstop-playlist' slug=emission.slug year=date.year month=date.month day=date.day %}"
>
{{date|date:'D d M Y'|lower}}
</a></h5>
</div>
<div
class=
"content"
>
<h5
class=
"title"
>
{{date|date:'D d M Y'|lower}}
</h5>
</div>
</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
...
...
Write
Preview
Supports
Markdown
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