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
c654cdf4
Commit
c654cdf4
authored
Aug 15, 2013
by
Simon Daron
Browse files
Create episode resume /detail and add truncate text on resume
parent
0ccc55a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/templates/emissions/detail.html
View file @
c654cdf4
...
...
@@ -48,7 +48,7 @@
{% if episodes %}
<div
class=
"episode-list"
>
{% for episode in episodes %}
{% include "episodes/
detail
.html" %}
{% include "episodes/
resume
.html" %}
{% endfor %}
</div>
{% endif %}
...
...
panikweb_templates/templates/episodes/detail.html
View file @
c654cdf4
...
...
@@ -25,16 +25,19 @@
<button
class=
"symbol download"
>
I
</button>
<button
class=
"symbol buy"
>
C
</button>
</div>
<!--
<div
class=
"logo"
>
<img
src=
"http://placehold.it/100X100"
/>
</div>
-->
<div
class=
"content"
>
<h4
class=
"title"
><a
href=
"{{ episode.slug }}"
>
{{ episode.title }}
</a></h4>
{% if episode.description %}
<div
class=
"description"
>
{{ episode.description|safe }}
</div>
{% endif %}
{% if episode.text %}
<article
class=
"text"
>
{{ episode.text|safe
}}
{{ episode.text|safe}}
</article>
{% 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