annotate 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
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="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
gremmie@1 5 <script type="text/javascript" src="{{ MEDIA_URL }}js/gcalendar_edit.js"></script>
gremmie@1 6 {% endblock %}
gremmie@1 7 {% block content %}
gremmie@1 8 <div class="breadcrumbs"><a href="{% url gcalendar-index %}">Calendar</a> &raquo; Edit Events</div>
gremmie@1 9 <h2>Edit Calendar Events</h2>
gremmie@1 10 {% if events %}
gremmie@1 11 <p>You have the following events on our calendar. Click on the event title to edit it, or click the
gremmie@1 12 <img src="{{ MEDIA_URL }}icons/cross.png" alt="Cross" /> to delete it.
gremmie@1 13 Your changes will be submitted to the site staff for approval, and won't be reflected on the Google
gremmie@1 14 calendar until then. The approval process usually takes less than 12 hours. Thanks for helping to
gremmie@1 15 keep our calendar up to date!
gremmie@1 16 </p>
gremmie@1 17 <ul>
gremmie@1 18 {% for event in events %}
gremmie@1 19 <li>{{ event.start_date|date:"M d, Y"}} &bull;
gremmie@1 20 <a href="{% url gcalendar-edit_event event.id %}" title="Edit Event">{{ event.what }}</a>
gremmie@1 21 <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 22 </li>
gremmie@1 23 {% endfor %}
gremmie@1 24 </ul>
gremmie@1 25 {% else %}
gremmie@1 26 <p>You either have no events on our calendar, or all your events have pending changes
gremmie@1 27 that require admin review.</p>
gremmie@1 28 {% endif %}
gremmie@1 29 {% endblock %}