Skip to content
GitLab
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
821bbcc8
Commit
821bbcc8
authored
Aug 27, 2013
by
Simon Daron
Browse files
Add some description in program
parent
4f18312d
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/css/specifics.css
View file @
821bbcc8
...
...
@@ -452,13 +452,11 @@ body{
}
@media
(
min-width
:
800px
)
{
.list.news
a
{
}
.list.news
.logo
{
max-width
:
50%
!important
;
}
.list.news
.special
.logo
{
max-width
:
100
%
!important
;
max-width
:
98
%
!important
;
}
.list.news
.num-1
{
max-width
:
50%
;
...
...
panikweb_templates/templates/includes/week.html
View file @
821bbcc8
...
...
@@ -16,15 +16,23 @@
<ul
class=
"custom emission-list list"
>
{% if day.cells %}
{% for cell in day.cells %}
<li>
<strong>
{{ cell.datetime|date:"H:i" }}
</strong>
<li
class=
"ellipsis"
>
<strong>
{{ cell.datetime|date:"H:i" }}
</strong>
-
{% if cell.episode %}
<a
href=
"{% url 'episode-view' emission_slug=cell.episode.emission.slug slug=cell.episode.slug %}"
>
{{ cell.episode.emission.title }} - {{ cell.episode.title }}
<span>
{{ cell.episode.emission.title }}
-
{{ cell.episode.title }}
</span>
{% if cell.episode.description %}
|
<span
class=
"smooth"
>
-
{{ cell.episode.description|safe|striptags|truncatewords:50 }}
</span>
{% elif cell.episode.emission.description %}
|
<span
class=
"smooth"
>
-
{{ cell.episode.emission.description|safe|striptags|truncatewords:50 }}
</span>
{% endif %}
</a>
{% elif cell.emission %}
<a
href=
"{% url 'emission-view' slug=cell.emission.slug %}"
>
{{ cell.emission.title }}
<span>
{{ cell.emission.title }}
</span>
{% if cell.emission.description %}
<span
class=
"smooth"
>
-
{{ cell.emission.description|safe|striptags|truncatewords:50 }}
</span>
{% endif %}
</a>
{% endif %}
</li>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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