aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlban Gruin2017-01-22 15:20:11 +0100
committerAlban Gruin2017-01-22 15:20:11 +0100
commit6cb64910d0c96f144fef7a42f2b2883474031959 (patch)
tree0205ffb77a07c348d4e8be04a58bc31b0e34da0a /templates
parent88737712a885568c8fa6771bc45bb811bff16866 (diff)
Ajout d'un lien vers l'emploi du temps d'origine
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index 98a2e2d..b839951 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -16,12 +16,12 @@ h1, h2, h3 {
line-height: 1.2em;
}
-h1 a {
+h1 a, h3 a {
color: #31363b;
text-decoration: none;
}
-h1 a:hover, h1 a:focus {
+h1 a:hover, h1 a:focus, h3 a:hover, h3 a:focus {
text-decoration: underline;
}
@@ -52,7 +52,7 @@ li.course {
</header>
<div class="content">{% block body %}{% for timetable in timetables %}
<section id="{{ timetable.slug }}">
- <h3>{{ timetable.name }}</h3>
+ <h3><a href="{{ timetable.url }}">{{ timetable.name }}</a></h3>
<ul>{% for group in groups %}{% if group.timetable.id == timetable.id %}
<li>{{ group.name }} &ndash; {% for week in group.weeks %}<a href="{% url "timetable" timetable.slug week.year week|dt_week group.slug %}">{{ week|dt_prettyprint }}</a> {% endfor %}</li>{% endif %}{% endfor %}
</ul>