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
radiopanik
panikweb
Commits
be3117ca
Commit
be3117ca
authored
Dec 22, 2013
by
fred
Browse files
use singular form when there's only one diffusion (#1117)
parent
7434c101
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/templates/episodes/detail.html
View file @
be3117ca
...
...
@@ -26,7 +26,11 @@
{% if episode.subtitle %}
<h3
class=
"episode-subtitle"
>
{{ episode.subtitle }}
</h3>
{% endif %}
{% if diffusions|length > 1 %}
<div
class=
"label"
>
Diffusions
</div>
{% else %}
<div
class=
"label"
>
Diffusion
</div>
{% endif %}
<ul
class=
"diffusions custom"
>
{% for schedule in diffusions %}
<li><span
class=
"date"
>
{{ schedule.datetime|date:"l d M Y à H:i" }}
</span></li>
...
...
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