From 216e7e2abfa5096921c4022c65c89298d7b7a4f8 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Wed, 23 Jan 2008 21:40:32 +0100 Subject: [PATCH] * Let all the influences templates extend the base template. --- templates/influences/add.html | 6 ++++++ templates/influences/add_character.html | 4 ++++ templates/influences/character_detail.html | 6 ++++++ templates/influences/character_list.html | 6 ++++++ templates/influences/index.html | 6 ++++++ 5 files changed, 28 insertions(+) diff --git a/templates/influences/add.html b/templates/influences/add.html index db277e9..3c6c866 100644 --- a/templates/influences/add.html +++ b/templates/influences/add.html @@ -1,4 +1,8 @@ {% load i18n %} +{% extends "base/base.html" %} + +{% block content %} +

{% trans "Submit influence" %}

{% if message %} {{ message }} @@ -11,3 +15,5 @@ {% endif %} + +{% endblock %} diff --git a/templates/influences/add_character.html b/templates/influences/add_character.html index 2691084..1b229c2 100644 --- a/templates/influences/add_character.html +++ b/templates/influences/add_character.html @@ -1,4 +1,7 @@ {% load i18n %} +{% extends "base/base.html" %} + +{% block content %}

{% trans "Add a character" %}

{% if message %} {{ message }} @@ -11,3 +14,4 @@ {% endif %} +{% endblock %} diff --git a/templates/influences/character_detail.html b/templates/influences/character_detail.html index f6c1490..f5071c2 100644 --- a/templates/influences/character_detail.html +++ b/templates/influences/character_detail.html @@ -1,4 +1,8 @@ {% load i18n %} +{% extends "base/base.html" %} + +{% block content %} +

{{ object.name }}

{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}

{% trans "Submit influence" %} + +{% endblock %} diff --git a/templates/influences/character_list.html b/templates/influences/character_list.html index 6673138..0ca1f29 100644 --- a/templates/influences/character_list.html +++ b/templates/influences/character_list.html @@ -1,4 +1,8 @@ {% load i18n %} +{% extends "base/base.html" %} + +{% block content %} +

{% trans "Your characters"%}

{% if object_list %}