From db7e1496b0af8f6270b8304055f2aabb2428fbe0 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Mon, 17 Oct 2011 00:03:41 +0200 Subject: Add the ability to change the language explicitely. I'm not sure the UI is better with this. Any thoughts are welcome. Fix #35 --- budget/templates/layout.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'budget/templates') diff --git a/budget/templates/layout.html b/budget/templates/layout.html index e6614d8..c546e1e 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -41,7 +41,10 @@ - +{% macro translations() %} +
  • fr
  • +
  • en
  • +{% endmacro %}

    {% if g.project %} @@ -64,6 +67,11 @@
  • {{ _("Logout") }}
  • + {{ translations() }} + + {% else %} + {% endif %}
    -- cgit v1.1