Change the name of the variable used as the main title for multiform template

This commit is contained in:
Roberto Rosario
2014-10-30 02:45:40 -04:00
parent d8819276b2
commit cf51f70da7
2 changed files with 4 additions and 4 deletions

View File

@@ -21,9 +21,9 @@
{% endblock %}
{% block content %}
{% if title %}
{% if main_title %}
<div class="content">
<h2 class="title">{{ title }}</h2>
<h2 class="title">{{ main_title }}</h2>
</div>
{% endif %}

View File

@@ -389,7 +389,7 @@ def setup_document_type_metadata(request, document_type_id):
extra_context={
'document_type': document_type,
'navigation_object_name': 'document_type',
'title': _(u'Optional metadata types for document type: %s') % document_type,
'main_title': _(u'Optional metadata types for document type: %s') % document_type,
},
decode_content_type=True,
)
@@ -409,7 +409,7 @@ def setup_document_type_metadata_required(request, document_type_id):
extra_context={
'document_type': document_type,
'navigation_object_name': 'document_type',
'title': _('Required metadata types for document type: %s') % document_type,
'main_title': _('Required metadata types for document type: %s') % document_type,
},
decode_content_type=True,
)