# HG changeset patch # User Brian Neal # Date 1333226393 18000 # Node ID d958e59d6fc682c2a9936d9f336b03a1d60d71ee # Parent 9b40a8d300a41b51c5086cd565704b30a49eed18 For issue #9, remove admin customization. Used the nav-global block to add a link to the send mail to the mailing list. diff -r 9b40a8d300a4 -r d958e59d6fc6 madeira/templates/admin/base_site.html --- a/madeira/templates/admin/base_site.html Sat Mar 31 14:52:07 2012 -0500 +++ b/madeira/templates/admin/base_site.html Sat Mar 31 15:39:53 2012 -0500 @@ -1,4 +1,5 @@ {% extends "admin/base.html" %} +{% load url from future %} {% load i18n %} {% block title %}{{ title }} | {% trans 'Madeira site admin' %}{% endblock %} @@ -10,4 +11,4 @@

{% trans 'Madeira site administration' %}

{% endblock %} -{% block nav-global %}{% endblock %} +{% block nav-global %}Send mail to the mailing list{% endblock %} diff -r 9b40a8d300a4 -r d958e59d6fc6 madeira/templates/admin/index.html --- a/madeira/templates/admin/index.html Sat Mar 31 14:52:07 2012 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,129 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} - -{% block extrastyle %}{{ block.super }}{% endblock %} - -{% block coltype %}colMS{% endblock %} -{% block bodyclass %}dashboard{% endblock %} -{% block breadcrumbs %}{% endblock %} -{% block content %} -
- -{% if app_list %} -
- - - - {% if perms.band.add_news or perms.band.change_news %} - - - - - - {% endif %} - {% if perms.band.add_member or perms.band.change_member %} - - - - - - {% endif %} - {% if perms.band.add_gig or perms.band.change_gig %} - - - - - - {% endif %} - {% if perms.band.add_article or perms.band.change_article %} - - - - - - {% endif %} - {% if perms.band.add_mp3_set or perms.band.change_mp3_set %} - - - - - - {% endif %} - {% if perms.band.add_video_set or perms.band.change_video_set %} - - - - - - {% endif %} - {% if perms.band.add_merchandise or perms.band.change_merchandise %} - - - - - - {% endif %} - - - - - - - -
Madeira Quick Links
{% if perms.band.change_news %}{% endif %}News Items{% if perms.band.change_news %}{% endif %}{% if perms.band.add_news %}{% endif %}Add{% if perms.band.add_news %}{% endif %}{% if perms.band.change_news %}{% endif %}Change{% if perms.band.change_news %}{% endif %}
{% if perms.band.change_member %}{% endif %}Biography & Gear{% if perms.band.change_member %}{% endif %}{% if perms.band.add_member %}{% endif %}Add{% if perms.band.add_member %}{% endif %}{% if perms.band.change_member %}{% endif %}Change{% if perms.band.change_member %}{% endif %}
{% if perms.band.change_gig %}{% endif %}Gigs{% if perms.band.change_gig %}{% endif %}{% if perms.band.add_gig %}{% endif %}Add{% if perms.band.add_gig %}{% endif %}{% if perms.band.change_gig %}{% endif %}Change{% if perms.band.change_gig %}{% endif %}
{% if perms.band.change_article %}{% endif %}Press Items{% if perms.band.change_article %}{% endif %}{% if perms.band.add_article %}{% endif %}Add{% if perms.band.add_article %}{% endif %}{% if perms.band.change_article %}{% endif %}Change{% if perms.band.change_article %}{% endif %}
{% if perms.band.change_mp3_set %}{% endif %}Songs{% if perms.band.change_mp3_set %}{% endif %}{% if perms.band.add_mp3_set %}{% endif %}Add{% if perms.band.add_mp3_set %}{% endif %}{% if perms.band.change_mp3_set %}{% endif %}Change{% if perms.band.change_mp3_set %}{% endif %}
{% if perms.band.change_video_set %}{% endif %}Videos{% if perms.band.change_video_set %}{% endif %}{% if perms.band.add_video_set %}{% endif %}Add{% if perms.band.add_video_set %}{% endif %}{% if perms.band.change_video_set %}{% endif %}Change{% if perms.band.change_video_set %}{% endif %}
{% if perms.band.change_merchandise %}{% endif %}Merchandise{% if perms.band.change_merchandise %}{% endif %}{% if perms.band.add_merchandise %}{% endif %}Add{% if perms.band.add_merchandise %}{% endif %}{% if perms.band.change_merchandise %}{% endif %}Change{% if perms.band.change_merchandise %}{% endif %}
Send Email to Mailing List  
-
- - - {% for app in app_list %} -
- - - {% for model in app.models %} - - {% if model.perms.change %} - - {% else %} - - {% endif %} - - {% if model.perms.add %} - - {% else %} - - {% endif %} - - {% if model.perms.change %} - - {% else %} - - {% endif %} - - {% endfor %} -
{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
{{ model.name }}{{ model.name }}{% trans 'Add' %} {% trans 'Change' %} 
-
- {% endfor %} -{% else %} -

{% trans "You don't have permission to edit anything." %}

-{% endif %} -
-{% endblock %} - -{% block sidebar %} - -{% endblock %}