Commit 361f4335 authored by fred's avatar fred

add some links to get back to upper levels

parent e3608f4a
{% extends "panikdb/base.html" %}
{% block content %}
{% block appbar %}
<h2>{{ emission.title }}
{% for category in emission.categories.all %}
{% if forloop.first %} - {% endif %}
<small><i>{{ category.title }} </i></small>
{% endfor %}
</h2>
<a href="../">Retourner à la liste des émissions</a>
{% endblock %}
{% block content %}
{% if emission.description %}
<div class="description">
......
{% extends "panikdb/base.html" %}
{% block appbar %}
<h2>{{ episode.emission.title }} — {{ episode.title }}</h2>
<a href="../">Retourner à l'émission</a>
{% endblock %}
{% block content %}
<h2>{{ episode.emission.title }} — {{ episode.title }}</h2>
{% if episode.description %}
<div class="description">
......
......@@ -126,6 +126,25 @@ div#content {
position: relative;
}
div#appbar button,
div#appbar a {
position: absolute;
padding-left: 15px;
padding-right: 15px;
right: 10px;
top: 20px;
}
div#appbar button {
left: -20px;
top: -55px;
}
div#appbar a {
font-size: 80%;
font-weight: normal;
}
div#content h2 {
margin-top: 0;
font-weight: normal;
......
......@@ -24,6 +24,10 @@
</div>
{% endif %}
<div id="content">
<div id="appbar">
{% block appbar %}
{% endblock %}
</div>
{% block beforecontent %}
{% endblock %}
{% block content %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment