diff --git a/src/c3nav/editor/templates/editor/index.html b/src/c3nav/editor/templates/editor/index.html index 6129bb88..2eb4866d 100644 --- a/src/c3nav/editor/templates/editor/index.html +++ b/src/c3nav/editor/templates/editor/index.html @@ -1,7 +1,10 @@ {% load bootstrap3 %} {% load i18n %} -{% trans 'New Section' %} + + {% trans 'Section' as model_title %} + {% blocktrans %}New {{ model_title }}{% endblocktrans %} +

{% trans 'Sections' %}

{% for s in sections %} diff --git a/src/c3nav/editor/templates/editor/section.html b/src/c3nav/editor/templates/editor/section.html index beb3ce16..d9ff149b 100644 --- a/src/c3nav/editor/templates/editor/section.html +++ b/src/c3nav/editor/templates/editor/section.html @@ -2,7 +2,10 @@ {% load i18n %} {% include 'editor/fragment_sections.html' %} -{% trans 'Edit Section' %} + + {% trans 'Section' as model_title %} + {% blocktrans %}Edit {{ model_title }}{% endblocktrans %} +

{{ section.title }}

« {% trans 'back to overview' %}