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

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children 9fb8e804652b
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 {% extends 'admin/base_site.html' %}
2 {% block title %}Sync Events w/Google Calendar{% endblock %}
3 {% block breadcrumbs %}
4 <div class="breadcrumbs">
5 <a href="../../../">Home</a> &rsaquo;
6 <a href="../../">Gcalendar</a> &rsaquo;
7 <a href="../">Events</a> &rsaquo; Google Sync
8 </div>
9 {% endblock %}
10 {% block content %}
11 <h1>Synchronize Approved Events with Google Calendar</h1>
12 {% if errors %}
13 <ul class="errorlist">
14 {{ errors|unordered_list }}
15 </ul>
16 {% endif %}
17 {% if events %}
18 <p>To synchronize the following approved events with the Google calendar, please enter the password for the
19 account and click submit.</p>
20 <ol>
21 {% for event in events %}
22 {% if not event.on_calendar %}
23 <li><a href="../../{{ event.id }}">{{ event.start_date|date:"M d, Y" }} - {{ event.what }}</a>
24 &bull; Submitted by {{ event.user.username }} &bull; <strong>{{ event.get_status_display }}</strong></li>
25 {% endif %}
26 {% endfor %}
27 </ol>
28 <form action="." method="POST">
29 {{ form.as_p }}
30 <p><input type="submit" name="submit" value="Submit" /></p>
31 </form>
32 {% else %}
33 <p>No events to synchronize at this time.</p>
34 {% endif %}
35 {% endblock %}