X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Findex.html;h=e3d1bad1e823c1cc35c9c0fab3893d7799605480;hb=4cfc1bb07644043d1e223178a98ea47f6a61d338;hp=666f6f738ad537c5680865ce6719783d8026a9cc;hpb=dbdd3d6a224eb4912b8440b6520fce0453c7b3ac;p=motion.git diff --git a/templates/index.html b/templates/index.html index 666f6f7..e3d1bad 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,14 +3,11 @@
{%- if categories|length != 0 %}
-
-User: {{g.user}} -
-
- +
+ {%- if categories|length == 1 %} @@ -28,26 +25,26 @@ User: {{g.user}}
-
- Editing note: Markdown is used formatting.
- To add a line break add two lines, to enter a link use [text](https//domain.tld/link)
- +
+ {{_('Editing note: Markdown is used formatting.')}}
+ {{_('To add a line break add two lines, to enter a link use [text](https//domain.tld/link)')}}
+
{%- 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 %}