Clean up browsertitles (#282) in agenda and application

This commit is contained in:
Norman Jäckel 2012-07-13 00:44:12 +02:00
parent accb329a44
commit 32c80caa37
9 changed files with 24 additions and 11 deletions

View File

@ -2,7 +2,7 @@
{% load i18n %} {% load i18n %}
{% block title %}{{ block.super }} - {% trans "Agenda settings" %}{% endblock %} {% block title %}{{ block.super }} {% trans "Agenda settings" %}{% endblock %}
{% block content %} {% block content %}
<h1>{%trans "Agenda settings" %}</h1> <h1>{%trans "Agenda settings" %}</h1>

View File

@ -2,7 +2,14 @@
{% load i18n %} {% load i18n %}
{% block title %}{{ block.super }} - {%trans "Item" %}{% endblock %} {% block title %}
{{ block.super }}
{% if item %}
{{ item.title }} {% trans "Edit item" %}
{%else %}
{% trans "New item" %}
{% endif %}
{% endblock %}
{% block content %} {% block content %}
{% if item %} {% if item %}

View File

@ -5,7 +5,7 @@
{% load mptt_tags %} {% load mptt_tags %}
{% load staticfiles %} {% load staticfiles %}
{% block title %}{{ block.super }} - {% trans "Agenda" %}{% endblock %} {% block title %}{{ block.super }} {% trans "Agenda" %}{% endblock %}
{% block header %} {% block header %}
<link type="text/css" rel="stylesheet" media="all" href="{% static 'styles/tabledrag.css' %}" /> <link type="text/css" rel="stylesheet" media="all" href="{% static 'styles/tabledrag.css' %}" />

View File

@ -2,7 +2,7 @@
{% load i18n %} {% load i18n %}
{% block title %}{{ block.super }} - {% trans "Application settings" %}{% endblock %} {% block title %}{{ block.super }} {% trans "Application settings" %}{% endblock %}
{% block content %} {% block content %}
<h1>{%trans "Application settings" %}</h1> <h1>{%trans "Application settings" %}</h1>

View File

@ -2,8 +2,14 @@
{% load i18n %} {% load i18n %}
{% block title %}
{% block title %}{{ block.super }} - {%trans "Application" %}{% endblock %} {{ block.super }}
{% if application %}
{% trans "Edit application" %}
{%else %}
{% trans "New application" %}
{% endif %}
{% endblock %}
{% block content %} {% block content %}
{% if application %} {% if application %}

View File

@ -2,7 +2,7 @@
{% load i18n %} {% load i18n %}
{% block title %}{{ block.super }} - {%trans "Import applications" %} {% endblock %} {% block title %}{{ block.super }} {% trans "Import applications" %} {% endblock %}
{% block content %} {% block content %}
<h1>{%trans "Import applications" %}</h1> <h1>{%trans "Import applications" %}</h1>

View File

@ -4,7 +4,7 @@
{% load i18n %} {% load i18n %}
{% load staticfiles %} {% load staticfiles %}
{% block title %}{{ block.super }} - {%trans "Applications" %}{% endblock %} {% block title %}{{ block.super }} {% trans "Applications" %}{% endblock %}
{% block content %} {% block content %}
<h1>{%trans "Applications" %}</h1> <h1>{%trans "Applications" %}</h1>

View File

@ -3,10 +3,10 @@
{% load i18n %} {% load i18n %}
{% load staticfiles %} {% load staticfiles %}
{% block title %}{{ block.super }} - {{ poll }}{% endblock %} {% block title %}{{ block.super }} {% trans "Application No." %} {{ application.number }} {% trans "Vote" %}{% endblock %}
{% block content %} {% block content %}
<h1>{%trans "Application No." %} {{ application.number }} - {%trans "Vote" %}</h1> <h1>{%trans "Application No." %} {{ application.number }} {%trans "Vote" %}</h1>
<h3>{{ application.title }}</h3> <h3>{{ application.title }}</h3>
<p>{%trans "Results of" %} {{ ballot }}. {%trans "Vote" %}</p> <p>{%trans "Results of" %} {{ ballot }}. {%trans "Vote" %}</p>

View File

@ -4,7 +4,7 @@
{% load i18n %} {% load i18n %}
{% load staticfiles %} {% load staticfiles %}
{% block title %}{{ block.super }} - {% trans "Application" %} "{{ version.title }}"{% endblock %} {% block title %}{{ block.super }} {% trans "Application" %} "{{ version.title }}"{% endblock %}
{% block submenu %} {% block submenu %}