Added missing template tags (i18n).

This commit is contained in:
Emanuel Schuetze 2012-02-21 08:21:59 +01:00
parent 0cc5d6478d
commit c14dcb1679
4 changed files with 13 additions and 0 deletions

View File

@ -1,4 +1,7 @@
{% extends "base-projector.html" %} {% extends "base-projector.html" %}
{% load i18n %}
{% block title %}{{ block.super }} - {% block title %}{{ block.super }} -
{% if title %} {{ title }} {% else %} {%trans "Agenda" %} {% endif %} {% if title %} {{ title }} {% else %} {%trans "Agenda" %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -1,5 +1,8 @@
{% extends "base-projector.html" %} {% extends "base-projector.html" %}
{% load tags %} {% load tags %}
{% load i18n %}
{% block title %}{{ block.super }} - {{ item.title }}{% endblock %} {% block title %}{{ block.super }} - {{ item.title }}{% endblock %}
{% block content %} {% block content %}

View File

@ -1,4 +1,8 @@
{% extends "base-projector.html" %} {% extends "base-projector.html" %}
{% load tags %}
{% load i18n %}
{% block title %}{{ block.super }} - #{{ item.title }}{% endblock %} {% block title %}{{ block.super }} - #{{ item.title }}{% endblock %}
{% block header %} {% block header %}
<link type="text/css" rel="stylesheet" media="all" href="/static/styles/assignment.css" /> <link type="text/css" rel="stylesheet" media="all" href="/static/styles/assignment.css" />

View File

@ -8,6 +8,9 @@
</ul> </ul>
{% endblock %} {% endblock %}
{% block submenu %}
{% endblock %}
{% block content %} {% block content %}
<h1>{%trans "Login" %}</h1> <h1>{%trans "Login" %}</h1>