]> WPIA git - motion.git/blobdiff - templates/index.html
add: 'Prev' Pagination link
[motion.git] / templates / index.html
index 6e18c960ca9d09d2f9a837b90d6bb8c43167dc9b..9175db69462c45564f7fa108d36510a83383948a 100644 (file)
   </div>
 </div>
 </form>
+{% if prev %}
+{% if prev == -1 %}
+<a href="/">Prev</a>
+{% else %}
+<a href="/?start={{ prev }}">Prev</a>
+{% endif %}
+{% endif %}
 {% for motion in motions %}
 {% include 'motion.html' %}
 {% endfor %}