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
ea98ec0f
Commit
ea98ec0f
authored
Sep 05, 2013
by
fred
Browse files
use subtitle instead of description
parent
ee4387b2
Changes
6
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/templates/emissions/detail.html
View file @
ea98ec0f
...
...
@@ -31,9 +31,9 @@
</div>
{% if emission.
description
%}
{% if emission.
subtitle
%}
<div
class=
"description"
>
{{ emission.
description|safe|striptags
}}
{{ emission.
subtitle
}}
</div>
{% endif %}
...
...
panikweb_templates/templates/emissions/inline.html
View file @
ea98ec0f
...
...
@@ -18,9 +18,9 @@
</div>
{% endif %}
<h5
class=
"title ellipsis"
>
{{ emission.title }}
</h5>
{% if emission.
description
%}
{% if emission.
subtitle
%}
<div
class=
"description ellipsis"
>
{{ emission.
description|safe|striptags
}}
{{ emission.
subtitle
}}
</div>
{% elif emission.text %}
<div
class=
"description ellipsis"
>
...
...
panikweb_templates/templates/emissions/resume.html
View file @
ea98ec0f
...
...
@@ -11,9 +11,9 @@
{% endif %}
</div>
<h5
class=
"title ellipsis"
>
{{ emission.title }}
</h5>
{% if emission.
description
%}
{% if emission.
subtitle
%}
<div
class=
"description ellipsis"
>
{{ emission.
description|safe|striptags
}}
{{ emission.
subtitle
}}
</div>
{% elif emission.text %}
<div
class=
"description ellipsis"
>
...
...
panikweb_templates/templates/episodes/detail.html
View file @
ea98ec0f
...
...
@@ -23,9 +23,9 @@
</div>
{% endif %}
<div
class=
"content userContent"
>
{% if episode.
description
%}
{% if episode.
subtitle
%}
<div
class=
"description"
>
{{ episode.
description|saf
e }}
{{ episode.
subtitl
e }}
</div>
{% endif %}
{% if episode.text %}
...
...
panikweb_templates/templates/episodes/resume.html
View file @
ea98ec0f
...
...
@@ -42,9 +42,9 @@
<a
href=
"{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}"
>
{{ episode.title }}
</a>
</h5>
{% if model = "inline" %}
{% if episode.
description
%}
{% if episode.
subtitle
%}
<div
class=
"description ellipsis"
>
{{ episode.
description|safe|striptags
|truncatewords:20}}
{{ episode.
subtitle
|truncatewords:20}}
</div>
{% elif episode.text %}
<div
class=
"description ellipsis"
>
...
...
@@ -52,9 +52,9 @@
</div>
{% endif %}
{% else %}
{% if episode.
description
%}
{% if episode.
subtitle
%}
<article
class=
"text userContent"
>
{{ episode.
description|saf
e|truncatewords:50 }}
{{ episode.
subtitl
e|truncatewords:50 }}
</article>
{% elif episode.text %}
<article
class=
"text userContent"
>
...
...
panikweb_templates/templates/includes/week.html
View file @
ea98ec0f
...
...
@@ -21,18 +21,18 @@
<strong>
{{ cell.datetime|date:"H:i" }}
</strong>
-
<a
href=
"{% url 'episode-view' emission_slug=cell.episode.emission.slug slug=cell.episode.slug %}"
>
<span><em>
{{ cell.episode.emission.title }}
</em>
-
{{ 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>
{% if cell.episode.
subtitle
%}
<span
class=
"smooth"
>
|
{{ cell.episode.
subtitle|safe
|truncatewords:50 }}
</span>
{% elif cell.episode.emission.
subtitle
%}
<span
class=
"smooth"
>
|
{{ cell.episode.emission.
subtitle|safe
|truncatewords:50 }}
</span>
{% endif %}
</a>
{% elif cell.emission %}
<strong>
{{ cell.datetime|date:"H:i" }}
</strong>
-
<a
href=
"{% url 'emission-view' slug=cell.emission.slug %}"
>
<span><em>
{{ cell.emission.title }}
</em></span>
{% if cell.emission.
description
%}
<span
class=
"smooth"
>
|
{{ cell.emission.
description|safe|striptags
|truncatewords:50 }}
</span>
{% if cell.emission.
subtitle
%}
<span
class=
"smooth"
>
|
{{ cell.emission.
subtitle|safe
|truncatewords:50 }}
</span>
{% elif cell.emission.text %}
<span
class=
"smooth"
>
|
{{ cell.emission.text|safe|striptags|truncatewords:50 }}
</span>
{% endif %}
...
...
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