Ajout de liens internes
This commit is contained in:
parent
3ffffd8c4e
commit
80a7b4e57f
@ -73,17 +73,17 @@
|
||||
<a role="button" class="secondary slide-buttons" href="#index-avenir" data-placement="left" data-tooltip="Retour en haut">{% picto_from_name "chevrons-up" %}</a>
|
||||
{% if cd.is_today %}
|
||||
<hgroup>
|
||||
<h2>Aujourd'hui</h2>
|
||||
<h2>Aujourd'hui <a href="#{{ cd.id }}" role="button" class="badge">{{ cd.events|length }} {% picto_from_name "calendar" %}</a></h2>
|
||||
<h3>{{ cd.date|date:"l j F Y"|frdate }}</h3>
|
||||
</hgroup>
|
||||
{% else %}
|
||||
{% if cd.is_tomorrow %}
|
||||
<hgroup>
|
||||
<h2>Demain</h2>
|
||||
<h2>Demain <a href="#{{ cd.id }}" role="button" class="badge">{{ cd.events|length }} {% picto_from_name "calendar" %}</a></h2>
|
||||
<h3>{{ cd.date|date:"l j F Y"|frdate }}</h3>
|
||||
</hgroup>
|
||||
{% else %}
|
||||
<h2>{{ cd.date|date:"l j F Y"|frdate |capfirst }}</h2>
|
||||
<h2>{{ cd.date|date:"l j F Y"|frdate |capfirst }} <a href="#{{ cd.id }}" role="button" class="badge">{{ cd.events|length }} {% picto_from_name "calendar" %}</a></h2>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</header>
|
||||
@ -91,7 +91,7 @@
|
||||
<div class="resume">
|
||||
{% for ti in cd.get_time_intervals %}
|
||||
{% if ti.events|length > 0 %}
|
||||
<h3>{{ ti.short_name }} <a class="badge simple" href="#{{ ti.id }}" data-tooltip="Aller à {{ ti.name }}">{% picto_from_name "chevrons-down" %}</a></h3>
|
||||
<h3>{{ ti.short_name }} <a class="badge simple" href="#{{ ti.id }}" data-tooltip="Aller à {{ ti.name }}">{{ ti.events|length }} {% picto_from_name "chevrons-down" %}</a></h3>
|
||||
<ul>
|
||||
{% for event in ti.events %}
|
||||
<li>{{ event.category | circle_cat:event.has_recurrences }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user