From: Felix Dörre Date: Sun, 19 Nov 2017 11:38:21 +0000 (+0100) Subject: chg: Prev/Next/Back-links as bootstrap-buttons X-Git-Url: https://code.wpia.club/?p=motion.git;a=commitdiff_plain;h=8c6bfd970009dae1fc76acae9cfe4d8579b4d1a3 chg: Prev/Next/Back-links as bootstrap-buttons --- diff --git a/templates/index.html b/templates/index.html index b53a236..fdbb010 100644 --- a/templates/index.html +++ b/templates/index.html @@ -31,16 +31,16 @@ {%- endif %} {%- if prev %} {%- if prev == -1 %} -Prev +Prev {%- else %} -Prev +Prev {%- endif %} {%- endif %} {%- for motion in motions %} {% include 'motion.html' %} {%- endfor %} {%- if more %} -Next +Next {%- endif %} {%- endblock %} diff --git a/templates/single_motion.html b/templates/single_motion.html index 1cc121b..ac4ff79 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -19,5 +19,5 @@ Motion: {{motion.name}} {%- endif %} {%- endif %} -Back +Back {%- endblock %}