From: Matthijs Kooijman Date: Sun, 24 Feb 2008 15:10:13 +0000 (+0100) Subject: * Rename add.html template to add_influence.html for consistency. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fxerxes.git;a=commitdiff_plain;h=3953592c299acc7770d4adeac3a95a7cb882cd0c * Rename add.html template to add_influence.html for consistency. --- diff --git a/influences/views.py b/influences/views.py index e539112..fec38f3 100644 --- a/influences/views.py +++ b/influences/views.py @@ -50,7 +50,7 @@ def add_influence(request, character_id=None): # Redirect to the just saved influence return HttpResponseRedirect(reverse('influences_influence_detail', args=[influence.id])) - return render_to_response('influences/add.html', {'form' : f}, RequestContext(request)) + return render_to_response('influences/add_influence.html', {'form' : f}, RequestContext(request)) @login_required def add_character(request): diff --git a/templates/influences/add.html b/templates/influences/add.html deleted file mode 100644 index 1a3bb01..0000000 --- a/templates/influences/add.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends "base/base.html" %} -{% load i18n %} - -{% block content %} - -

{% trans "Submit influence" %}

-{% if form %} -

-{% blocktrans %}You can submit an influence here. Use this form if your character wants -to achieve something between events, such as gathering information -through a contact, arranging for an ally to do a dirty job, etc. Please -add a clear description of what your character wants to achieve -and how he or she plans to achieve it.{% endblocktrans %} -

-

-{% blocktrans %}After you have submitted the influence, you will receive -a summary by email. When the SLs change something about the influence, -or add a resolution, you will again be notified by email.{% endblocktrans %} -

-
- -{{ form.as_table }} -
- -
-{% endif %} - -{% endblock %} diff --git a/templates/influences/add_influence.html b/templates/influences/add_influence.html new file mode 100644 index 0000000..1a3bb01 --- /dev/null +++ b/templates/influences/add_influence.html @@ -0,0 +1,28 @@ +{% extends "base/base.html" %} +{% load i18n %} + +{% block content %} + +

{% trans "Submit influence" %}

+{% if form %} +

+{% blocktrans %}You can submit an influence here. Use this form if your character wants +to achieve something between events, such as gathering information +through a contact, arranging for an ally to do a dirty job, etc. Please +add a clear description of what your character wants to achieve +and how he or she plans to achieve it.{% endblocktrans %} +

+

+{% blocktrans %}After you have submitted the influence, you will receive +a summary by email. When the SLs change something about the influence, +or add a resolution, you will again be notified by email.{% endblocktrans %} +

+
+ +{{ form.as_table }} +
+ +
+{% endif %} + +{% endblock %}