- load i18n

div.page-title
    ul.tabs(style='margin: 0px 0px 8px;padding:0px;width:100%')
        h2(style='color:#393630; display: inline-block') {% trans title %}
        span.spacer
        if tab == 'calendar'
            div(style='font-size: 1.6em; margin-top: 0.3em')
                if prev_month
                    a(href='{% url "contest_calendar" prev_month.year prev_month.month %}') &laquo; {% trans "Prev" %}
                = ' '
                if next_month
                    a(href='{% url "contest_calendar" next_month.year next_month.month %}') {% trans "Next" %} &raquo;
        li(class=('active' if tab == 'list' else '')): a(href='{% url "problem_list" %}') {% trans "List" %}
        li(class=('active' if tab == 'calendar' else '')): a(href='{% url "contest_calendar" now.year now.month %}') {% trans "Calendar" %}
        if perms.judge.change_contest
            li: a(href='{% url "admin:judge_contest_changelist" %}') {% trans "Admin" %}

- load i18n

div.page-title
    ul.tabs(style='margin: 0px 0px 8px;padding:0px;width:100%')
        h2(style='color:#393630; display: inline-block') {% trans title %}
        span.spacer
        if tab == 'calendar'
            div(style='font-size: 1.6em; margin-top: 0.3em')
                if prev_month
                    a(href='{% url "contest_calendar" prev_month.year prev_month.month %}') &laquo; {% trans "Prev" %}
                = ' '
                if next_month
                    a(href='{% url "contest_calendar" next_month.year next_month.month %}') {% trans "Next" %} &raquo;
            span.spacer
        li(class=('active' if tab == 'list' else '')): a(href='{% url "problem_list" %}') {% trans "List" %}
        li(class=('active' if tab == 'calendar' else '')): a(href='{% url "contest_calendar" now.year now.month %}') {% trans "Calendar" %}
        if perms.judge.change_contest
            li: a(href='{% url "admin:judge_contest_changelist" %}') {% trans "Admin" %}

Use a second spacer to make things less awkward
Use a second spacer to make things less awkward
