diff --git a/mayan/apps/main/templates/about.html b/mayan/apps/main/templates/about.html index 0d1e3ace7f..4968571ec0 100644 --- a/mayan/apps/main/templates/about.html +++ b/mayan/apps/main/templates/about.html @@ -1,20 +1,23 @@ -{% extends "base.html" %} +{% extends 'base.html' %} + {% load i18n %} + {% load project_tags %} {% load version_tags %} -{% block title %} :: {% trans "About this program" %}{% endblock %} + +{% block title %} :: {% trans 'About this program' %}{% endblock %} {% block content %}
-

{% project_name %} ({% trans "Version" %} {% app_version "mayan" %})

+

{% project_name %} ({% trans 'Version' %} {% app_version 'mayan' %})

- {% include "project_description.html" %} + {% include 'project_description.html' %} {% endblock %} {% block footer %} {% endblock %} diff --git a/mayan/apps/main/templates/base.html b/mayan/apps/main/templates/base.html index 91a10c831a..cbf6e50402 100644 --- a/mayan/apps/main/templates/base.html +++ b/mayan/apps/main/templates/base.html @@ -1,5 +1,7 @@ -{% extends "web_theme_base.html" %} +{% extends 'web_theme_base.html' %} + {% load i18n %} + {% load project_tags %} {% load navigation_tags %} {% load settings %} @@ -17,7 +19,7 @@ {% endif %} - + {% if html_redirect %} {% endif %} @@ -32,16 +34,16 @@ - + {% block stylesheets %}{% endblock %} {% endblock %} @@ -128,7 +130,7 @@ $(':submit', this).click(function() { return false; }); - }); + }); $("a.fancybox").fancybox({ 'titleShow' : false, @@ -149,7 +151,7 @@ 'type' : 'image', 'autoScale' : true }); - + $("a.fancybox-noscaling").fancybox({ 'titleShow' : false, 'transitionIn' : 'elastic', @@ -159,7 +161,7 @@ 'type' : 'image', 'autoScale' : false }); - + $("a.fancybox-iframe").fancybox({ 'titleShow' : false, 'transitionIn' : 'elastic', @@ -172,7 +174,7 @@ 'height' : '99%', 'showNavArrows' : false, 'margin' : 20 - }); + }); $('.scrollable').scrollview(); $('.full-height').height($(window).height() - 210); $('.no-parent-history', this).click(function() { @@ -208,7 +210,7 @@ {% endfor %} - + {% endif %} {% get_setting "LOGIN_URL" as login_url %} @@ -250,7 +252,7 @@ {% endwith %} {% endwith %} - + {% endif %} {% endfor %} {% else %} @@ -270,7 +272,7 @@ {% endwith %} {% endwith %} - + {% endif %} {% endif %} {% endblock %} @@ -288,7 +290,7 @@ {% endwith %} {% endwith %} {% endif %} - + {% get_object_navigation_links "secondary_menu" as object_navigation_links %} {% if object_navigation_links %}
@@ -321,7 +323,7 @@ {% endwith %}
- {% endif %} + {% endif %} {% get_object_navigation_links "related" as object_navigation_links %} {% if object_navigation_links %}
@@ -332,7 +334,7 @@ {% endwith %}
- {% endif %} + {% endif %} {% get_object_navigation_links "sidebar" as object_navigation_links %} {% if object_navigation_links %}
@@ -375,7 +377,7 @@ {% endwith %}
- {% endif %} + {% endif %} {% endif %} {% get_object_navigation_links "sidebar" as object_navigation_links %} @@ -388,7 +390,7 @@ {% endwith %} - {% endif %} + {% endif %} {% get_sidebar_templates as sidebar_templates %} {% for template in sidebar_templates %} diff --git a/mayan/apps/main/templates/diagnostics.html b/mayan/apps/main/templates/diagnostics.html index c5db65a7da..fea22e33cc 100644 --- a/mayan/apps/main/templates/diagnostics.html +++ b/mayan/apps/main/templates/diagnostics.html @@ -1,22 +1,22 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% block title %} :: {{ title|capfirst }}{% endblock %} {% block content %} {% for key, value in blocks.items %} -
+

{{ value.title|capfirst }}

    {% with value.links as object_navigation_links %} {% with 'true' as as_li %} - {% include "generic_navigation.html" %} + {% include 'generic_navigation.html' %} {% endwith %} {% endwith %}

- +
{% endfor %} {% endblock %} diff --git a/mayan/apps/main/templates/home.html b/mayan/apps/main/templates/home.html index 095ed73001..72edafd7bf 100644 --- a/mayan/apps/main/templates/home.html +++ b/mayan/apps/main/templates/home.html @@ -1,6 +1,9 @@ -{% extends "base.html" %} -{% load project_tags %} +{% extends 'base.html' %} + {% load i18n %} + +{% load project_tags %} + {% block content %}

{% project_name %}

@@ -11,7 +14,7 @@ {% block footer %} {% endblock %} diff --git a/mayan/apps/main/templates/project_description.html b/mayan/apps/main/templates/project_description.html index beefd73b9a..b36a1667e4 100644 --- a/mayan/apps/main/templates/project_description.html +++ b/mayan/apps/main/templates/project_description.html @@ -1,9 +1,10 @@ {% load i18n %} + - +

- {% trans "Open source, Django based electronic document manager with custom metadata, indexing, tagging, file serving integration, digital signature support and OCR capabilities" %} + {% trans 'Open source, Django based electronic document manager with custom metadata, indexing, tagging, file serving integration, digital signature support and OCR capabilities' %}

http://www.mayan-edms.com @@ -18,7 +19,7 @@ https://github.com/mayan-edms/mayan-edms/issues

- {% trans "Released under the GPL V3 License" %} + {% trans 'Released under the GPL V3 License' %}

diff --git a/mayan/apps/main/templates/statistics.html b/mayan/apps/main/templates/statistics.html index 325b394ccf..66d1d55f3e 100644 --- a/mayan/apps/main/templates/statistics.html +++ b/mayan/apps/main/templates/statistics.html @@ -1,11 +1,12 @@ -{% extends "base.html" %} +{% extends 'base.html' %} + {% block title %} :: {{ title|capfirst }}{% endblock %} {% block content %} {% for block in blocks %} {% with block.title as title %} {% with block.paragraphs as paragraphs %} - {% include "generic_subtemplate.html" %} + {% include 'generic_subtemplate.html' %} {% endwith %} {% endwith %} {% endfor %} diff --git a/mayan/apps/main/templates/tools.html b/mayan/apps/main/templates/tools.html index 876fb77dcd..888cbdca87 100644 --- a/mayan/apps/main/templates/tools.html +++ b/mayan/apps/main/templates/tools.html @@ -1,22 +1,22 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% block title %} :: {{ title|capfirst }}{% endblock %} {% block content %} {% for key, value in blocks.items %} -
+

{{ value.title|capfirst }}

    {% for link in value.links %}
  • - {% include "generic_subnavigation.html" %}{% if link.description %} - {{ link.description }}{% endif %} + {% include 'generic_subnavigation.html' %}{% if link.description %} - {{ link.description }}{% endif %}
  • {% endfor %}

- +
{% endfor %} {% endblock %} diff --git a/mayan/apps/main/templates/verbose_login.html b/mayan/apps/main/templates/verbose_login.html index 5b7b262dee..e40005aef5 100644 --- a/mayan/apps/main/templates/verbose_login.html +++ b/mayan/apps/main/templates/verbose_login.html @@ -1,9 +1,10 @@ {% load i18n %} + {% load version_tags %} -

{% trans "Version" %} {% app_version "main" %}

+

{% trans 'Version' %} {% app_version 'mayan' %}

-

Copyright © 2011, 2012 Roberto Rosario.

+

{% trans 'Copyright © 2011 Roberto Rosario.' %}

-{% include "project_description.html" %} +{% include 'project_description.html' %}