aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlban Gruin2017-02-03 10:13:25 +0100
committerAlban Gruin2017-02-03 10:13:25 +0100
commitbfa5715f6deaa71ad51811bd2f59cdd330b860d9 (patch)
tree97e7fd37b44346aaec83f0df114e131aa8fa38dc /templates
parent60cb0e3946b258deb62cbeb82a29337ac7fe2b4a (diff)
Ajout d'un lien pour voir l'emploi du temps de la semaine actuelle
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index 812a991..a89ab68 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -24,7 +24,7 @@ a:hover, a:focus {
text-decoration: underline;
}
-h1 a, h3 a {
+h1 a, h3 a, a.text {
color: #31363b;
}
@@ -61,7 +61,7 @@ li.course {
<section id="{{ timetable.slug }}">
<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" group.slug week.year week|dt_week %}">{{ week|dt_prettyprint }}</a> {% endfor %}</li>{% endif %}{% endfor %}
+ <li><a class="text" href="{% url "timetable" group.slug %}">{{ group.name }}</a> &ndash; {% for week in group.weeks %}<a href="{% url "timetable" group.slug week.year week|dt_week %}">{{ week|dt_prettyprint }}</a> {% endfor %}</li>{% endif %}{% endfor %}
</ul>
</section>{% endfor %}{% endblock %}
</div>