]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/includes/week.html
move week navigation arrows next to the days
[panikweb.git] / panikweb_templates / templates / includes / week.html
index 68d3651d3407521e72697100e6fcf4fe5b8b0ed8..651ce565814224d4e7ca5f7a0111f4a19faf81e7 100644 (file)
@@ -3,9 +3,13 @@
 <div class="program tabs" data-tab-about="#weekProgramContent-{{ week|slugify }}">
        <nav class="">
                <ul class="days custom distributed">
+                       <li class="week-arrow"><a href="{% url 'program_week' year=previous_week_year week=previous_week_no %}" 
+                               class="icon-chevron-sign-left" ></a></li>
                {% for day in days %}
                        <li class=""><button class="{% if day.datetime.weekday = weekday %}active{% endif %}" data-tab="#Program-week-{{ day.datetime|slugify }}">{{ day.datetime|date:"D d" }}</button></li>
                {% endfor %}
+                       <li class="week-arrow"><a href="{% url 'program_week' year=next_week_year week=next_week_no %}" 
+                               class="icon-chevron-sign-right" ></a></li>
                </ul>
        </nav>
 </div>