From cf51f70da7244723021c07f384bca488a52143da Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 30 Oct 2014 02:45:40 -0400 Subject: [PATCH] Change the name of the variable used as the main title for multiform template --- mayan/apps/main/templates/main/generic_form.html | 4 ++-- mayan/apps/metadata/views.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mayan/apps/main/templates/main/generic_form.html b/mayan/apps/main/templates/main/generic_form.html index 2a528c6a3a..f9c4fbeda1 100644 --- a/mayan/apps/main/templates/main/generic_form.html +++ b/mayan/apps/main/templates/main/generic_form.html @@ -21,9 +21,9 @@ {% endblock %} {% block content %} - {% if title %} + {% if main_title %}
-

{{ title }}

+

{{ main_title }}

{% endif %} diff --git a/mayan/apps/metadata/views.py b/mayan/apps/metadata/views.py index 723ffe18f4..ffb177922b 100644 --- a/mayan/apps/metadata/views.py +++ b/mayan/apps/metadata/views.py @@ -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, )