changeset 68:0f8ad2d97cda

For Django 1.4, remove deprecated admin_media_prefix templatetag. Also deleted some templates we don't use anymore.
author Brian Neal <bgneal@gmail.com>
date Sat, 14 Apr 2012 14:37:21 -0500
parents 0236de10077f
children 4fc5dfe04b30
files madeira/templates/admin/band/email.html madeira/templates/admin/band/email_sent.html madeira/templates/email_list/admin_mail.html
diffstat 3 files changed, 1 insertions(+), 52 deletions(-) [+]
line wrap: on
line diff
--- a/madeira/templates/admin/band/email.html	Sat Apr 14 14:21:57 2012 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-{% extends 'admin/base_site.html' %}
-{% load adminmedia %}
-{% block title %}The Madeira | Mailing List Email Form{% endblock %}
-{% block extrastyle %}
-<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />
-{% endblock %}
-{% block bodyclass %}change-form{% endblock %}
-{% block breadcrumbs %}
-<div class="breadcrumbs">
-   <a href="/admin">Home</a>
-</div>
-{% endblock %}
-{% block content %}
-<h1>Madeira Mailing List Email Form</h1>
-<div id="content-main">
-<p>Use this form to send an email to all subscribers of the The Madeira mailing list.</p>
-<form method="post" action="{{ request.build_absolute_uri }}">{% csrf_token %}
-<div>
-<fieldset class="module aligned">
-      {% for field in form %}
-      <div class="form-row {% if field.field.required %}required{% endif %} {% if field.errors %}errors{% endif %}">
-         {% if field.errors %}{{ field.errors }}{% endif %}
-         {{ field.label_tag }}
-         {{ field }}
-         </div>
-      {% endfor %}
-</fieldset>
-<div class="submit-row">
-   <input type="submit" name="Send" value="Send" class="default" />
-</div>
-</div>
-</form>
-</div>
-{% endblock %}
--- a/madeira/templates/admin/band/email_sent.html	Sat Apr 14 14:21:57 2012 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-{% extends 'admin/base_site.html' %}
-{% load adminmedia %}
-{% block title %}The Madeira | Mailing List Email Sent{% endblock %}
-{% block extrastyle %}
-<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />
-{% endblock %}
-{% block breadcrumbs %}
-<div class="breadcrumbs">
-   <a href="/admin">Home</a>
-</div>
-{% endblock %}
-{% block content %}
-<h1>Madeira Mailing List Email Sent</h1>
-<div id="content-main">
-   <p>Your email has been sent.</p>
-</div>
-{% endblock %}
--- a/madeira/templates/email_list/admin_mail.html	Sat Apr 14 14:21:57 2012 -0500
+++ b/madeira/templates/email_list/admin_mail.html	Sat Apr 14 14:37:21 2012 -0500
@@ -5,7 +5,7 @@
 {% block title %}Send mail to mailing list{% endblock %}
 
 {% block extrastyle %}
-<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}admin/css/forms.css" />
 {% endblock %}
 
 {% block breadcrumbs %}