annotate gpp/templates/gcalendar/edit.html @ 162:6a5bdcf93ad3
Fix #48; shoutbox was no longer escaping user input on display.
author |
Brian Neal <bgneal@gmail.com> |
date |
Tue, 22 Dec 2009 03:55:37 +0000 |
parents |
f408971657b9 |
children |
daa2916f5b34 |
rev |
line source |
gremmie@1
|
1 {% extends 'base.html' %}
|
gremmie@1
|
2 {% block title %}Edit Calendar Events{% endblock %}
|
gremmie@1
|
3 {% block custom_js %}
|
gremmie@1
|
4 <script type="text/javascript" src="{{ MEDIA_URL }}js/gcalendar_edit.js"></script>
|
gremmie@1
|
5 {% endblock %}
|
gremmie@1
|
6 {% block content %}
|
gremmie@1
|
7 <div class="breadcrumbs"><a href="{% url gcalendar-index %}">Calendar</a> » Edit Events</div>
|
gremmie@1
|
8 <h2>Edit Calendar Events</h2>
|
gremmie@1
|
9 {% if events %}
|
gremmie@1
|
10 <p>You have the following events on our calendar. Click on the event title to edit it, or click the
|
gremmie@1
|
11 <img src="{{ MEDIA_URL }}icons/cross.png" alt="Cross" /> to delete it.
|
gremmie@1
|
12 Your changes will be submitted to the site staff for approval, and won't be reflected on the Google
|
gremmie@1
|
13 calendar until then. The approval process usually takes less than 12 hours. Thanks for helping to
|
gremmie@1
|
14 keep our calendar up to date!
|
gremmie@1
|
15 </p>
|
gremmie@1
|
16 <ul>
|
gremmie@1
|
17 {% for event in events %}
|
gremmie@1
|
18 <li>{{ event.start_date|date:"M d, Y"}} •
|
gremmie@1
|
19 <a href="{% url gcalendar-edit_event event.id %}" title="Edit Event">{{ event.what }}</a>
|
gremmie@1
|
20 <a class="gcal-del" id="gcal-{{ event.id }}" href="#"><img src="{{ MEDIA_URL }}icons/cross.png" alt="Delete Event" title="Delete Event" /></a>
|
gremmie@1
|
21 </li>
|
gremmie@1
|
22 {% endfor %}
|
gremmie@1
|
23 </ul>
|
gremmie@1
|
24 {% else %}
|
gremmie@1
|
25 <p>You either have no events on our calendar, or all your events have pending changes
|
gremmie@1
|
26 that require admin review.</p>
|
gremmie@1
|
27 {% endif %}
|
gremmie@1
|
28 {% endblock %}
|