Mercurial > public > sg101
diff gpp/templates/gcalendar/edit.html @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | daa2916f5b34 |
children |
line wrap: on
line diff
--- a/gpp/templates/gcalendar/edit.html Thu Jan 20 04:40:14 2011 +0000 +++ b/gpp/templates/gcalendar/edit.html Thu Jan 27 02:56:10 2011 +0000 @@ -2,14 +2,14 @@ {% load url from future %} {% block title %}Edit Calendar Events{% endblock %} {% block custom_js %} -<script type="text/javascript" src="{{ MEDIA_URL }}js/gcalendar_edit.js"></script> +<script type="text/javascript" src="{{ STATIC_URL }}js/gcalendar_edit.js"></script> {% endblock %} {% block content %} <div class="breadcrumbs"><a href="{% url 'gcalendar-index' %}">Calendar</a> » Edit Events</div> <h2>Edit Calendar Events</h2> {% if events %} <p>You have the following events on our calendar. Click on the event title to edit it, or click the -<img src="{{ MEDIA_URL }}icons/cross.png" alt="Cross" /> to delete it. +<img src="{{ STATIC_URL }}icons/cross.png" alt="Cross" /> to delete it. Your changes will be submitted to the site staff for approval, and won't be reflected on the Google calendar until then. The approval process usually takes less than 12 hours. Thanks for helping to keep our calendar up to date! @@ -18,7 +18,7 @@ {% for event in events %} <li>{{ event.start_date|date:"M d, Y"}} • <a href="{% url 'gcalendar-edit_event' event.id %}" title="Edit Event">{{ event.what }}</a> -<a class="gcal-del" id="gcal-{{ event.id }}" href="#"><img src="{{ MEDIA_URL }}icons/cross.png" alt="Delete Event" title="Delete Event" /></a> +<a class="gcal-del" id="gcal-{{ event.id }}" href="#"><img src="{{ STATIC_URL }}icons/cross.png" alt="Delete Event" title="Delete Event" /></a> </li> {% endfor %} </ul>