Invert the view title/project name order in the browser title.

This commit is contained in:
Roberto Rosario
2015-08-12 04:50:31 -04:00
parent d04117d345
commit 6a4562015e
15 changed files with 17 additions and 14 deletions

View File

@@ -78,6 +78,7 @@ What's new in Mayan EDMS v2.0
* Preview images' titles are clickable.
* Improved API
* Text parsers and OCR backend are used in tandem.
* Invert page title/project name order in browser title.
Upgrading from a previous version
=================================

View File

@@ -2,7 +2,7 @@
{% load i18n %}
{% block title %} :: {% blocktrans %}Insufficient permissions{% endblocktrans %}{% endblock %}
{% block title %}{% blocktrans %}Insufficient permissions{% endblocktrans %}{% endblock %}
{% block content %}
<div class="content">

View File

@@ -2,7 +2,7 @@
{% load i18n %}
{% block title %} :: {% blocktrans %}Page not found{% endblocktrans %}{% endblock %}
{% block title %}{% blocktrans %}Page not found{% endblocktrans %}{% endblock %}
{% block content %}
<div class="content">

View File

@@ -2,7 +2,7 @@
{% load i18n %}
{% block title %} :: {% trans 'Server error' %}{% endblock %}
{% block title %}{% trans 'Server error' %}{% endblock %}
{% block content %}
<div class="content">

View File

@@ -5,7 +5,7 @@
{% load common_tags %}
{% block title %} :: {% trans 'About' %}{% endblock %}
{% block title %}{% trans 'About' %}{% endblock %}
{% block stylesheets %}
<style>

View File

@@ -14,7 +14,7 @@
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="{{ LANGUAGE_CODE }}" />
<title>{% block project_name %}{% project_name %}{% endblock %}{% block title %}{% endblock %}</title>
<title>{% block title %}{% endblock %} :: {% block project_name %}{% project_name %}{% endblock %}</title>
{% compress css %}
<link href="{% static 'appearance/packages/font-awesome-4.3.0/css/font-awesome.min.css' %}" media="screen" rel="stylesheet" type="text/css" />

View File

@@ -3,7 +3,7 @@
{% load i18n %}
{% load static %}
{% block title %} :: {% trans 'Confirm' %} {{ title }}{% endblock %}
{% block title %}{% trans 'Confirm' %} {{ title }}{% endblock %}
{% block content %}
<h3>

View File

@@ -2,7 +2,7 @@
{% load common_tags %}
{% block title %} :: {% include 'appearance/calculate_form_title.html' %}{% endblock %}
{% block title %}{% include 'appearance/calculate_form_title.html' %}{% endblock %}
{% block content %}
<h3>{% include 'appearance/calculate_form_title.html' %}</h3>

View File

@@ -4,7 +4,7 @@
{% load navigation_tags %}
{% block title %} :: {% include 'appearance/calculate_form_title.html' %}{% endblock %}
{% block title %}{% include 'appearance/calculate_form_title.html' %}{% endblock %}
{% block content %}
{% if title %}

View File

@@ -2,7 +2,7 @@
{% load navigation_tags %}
{% block title %} :: {{ title }}{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<h3>

View File

@@ -2,7 +2,7 @@
{% load common_tags %}
{% block title %} :: {% include 'appearance/calculate_form_title.html' %}{% endblock %}
{% block title %}{% include 'appearance/calculate_form_title.html' %}{% endblock %}
{% block content %}
{% if main_title %}

View File

@@ -1,6 +1,6 @@
{% extends 'appearance/base.html' %}
{% block title %} :: {{ title }}{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<h3>{{ title }}</h3>

View File

@@ -5,7 +5,7 @@
{% load navigation_tags %}
{% block title %} :: {% trans 'Home' %}{% endblock %}
{% block title %}{% trans 'Home' %}{% endblock %}
{% block content %}
<h3>

View File

@@ -1,6 +1,6 @@
{% extends 'appearance/base.html' %}
{% block title %} :: {{ title }}{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<h3>

View File

@@ -1,6 +1,8 @@
{% extends 'appearance/base.html' %}
{% load i18n %}
{% block title %} :: {{ title }}{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
{% if form %}