comparison gpp/templates/gcalendar/edit.html @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children b6263ac72052
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 {% extends 'base.html' %}
2 {% block title %}Edit Calendar Events{% endblock %}
3 {% block custom_js %}
4 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
5 <script type="text/javascript" src="{{ MEDIA_URL }}js/gcalendar_edit.js"></script>
6 {% endblock %}
7 {% block content %}
8 <div class="breadcrumbs"><a href="{% url gcalendar-index %}">Calendar</a> &raquo; Edit Events</div>
9 <h2>Edit Calendar Events</h2>
10 {% if events %}
11 <p>You have the following events on our calendar. Click on the event title to edit it, or click the
12 <img src="{{ MEDIA_URL }}icons/cross.png" alt="Cross" /> to delete it.
13 Your changes will be submitted to the site staff for approval, and won't be reflected on the Google
14 calendar until then. The approval process usually takes less than 12 hours. Thanks for helping to
15 keep our calendar up to date!
16 </p>
17 <ul>
18 {% for event in events %}
19 <li>{{ event.start_date|date:"M d, Y"}} &bull;
20 <a href="{% url gcalendar-edit_event event.id %}" title="Edit Event">{{ event.what }}</a>
21 <a class="gcal-del" id="gcal-{{ event.id }}" href="#"><img src="{{ MEDIA_URL }}icons/cross.png" alt="Delete Event" title="Delete Event" /></a>
22 </li>
23 {% endfor %}
24 </ul>
25 {% else %}
26 <p>You either have no events on our calendar, or all your events have pending changes
27 that require admin review.</p>
28 {% endif %}
29 {% endblock %}