Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikweb
Commits
964b0996
Commit
964b0996
authored
Aug 29, 2013
by
fred
Browse files
display nonstop periods in program
parent
b766c657
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/css/specifics.css
View file @
964b0996
...
...
@@ -621,3 +621,8 @@ body { font-size: 16px;}
@media
(
min-width
:
1000px
)
{
body
#All
{
font-size
:
100%
;
}
}
div
.program
span
.nonstop
{
font-size
:
80%
;
color
:
#CCC
;
}
panikweb_templates/templates/includes/week.html
View file @
964b0996
...
...
@@ -17,8 +17,8 @@
{% if day.cells %}
{% for cell in day.cells %}
<li
class=
"ellipsis"
>
<strong>
{{ cell.datetime|date:"H:i" }}
</strong>
-
{% if cell.episode %}
<strong>
{{ cell.datetime|date:"H:i" }}
</strong>
-
<a
href=
"{% url 'episode-view' emission_slug=cell.episode.emission.slug slug=cell.episode.slug %}"
>
<span>
{{ cell.episode.emission.title }}
-
{{ cell.episode.title }}
</span>
{% if cell.episode.description %}
...
...
@@ -28,12 +28,16 @@
{% endif %}
</a>
{% elif cell.emission %}
<strong>
{{ cell.datetime|date:"H:i" }}
</strong>
-
<a
href=
"{% url 'emission-view' slug=cell.emission.slug %}"
>
<span>
{{ cell.emission.title }}
</span>
{% if cell.emission.description %}
<span
class=
"smooth"
>
-
{{ cell.emission.description|safe|striptags|truncatewords:50 }}
</span>
{% endif %}
</a>
{% else %}
<strong
style=
"visibility: hidden"
>
{{ cell.datetime|date:"H:i" }}
</strong><span
style=
"visibility: hidden"
>
-
</span>
<span
class=
"nonstop"
>
{{ cell.label }}
</span>
{% endif %}
</li>
{% endfor %}
...
...
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