annotate 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
rev   line source
gremmie@1 1 {% extends 'admin/base_site.html' %}
gremmie@1 2 {% block title %}Sync Events w/Google Calendar{% endblock %}
gremmie@1 3 {% block breadcrumbs %}
gremmie@1 4 <div class="breadcrumbs">
gremmie@1 5 <a href="../../../">Home</a> &rsaquo;
gremmie@1 6 <a href="../../">Gcalendar</a> &rsaquo;
gremmie@1 7 <a href="../">Events</a> &rsaquo; Google Sync
gremmie@1 8 </div>
gremmie@1 9 {% endblock %}
gremmie@1 10 {% block content %}
gremmie@1 11 <h1>Synchronize Approved Events with Google Calendar</h1>
gremmie@1 12 {% if errors %}
gremmie@1 13 <ul class="errorlist">
gremmie@1 14 {{ errors|unordered_list }}
gremmie@1 15 </ul>
gremmie@1 16 {% endif %}
gremmie@1 17 {% if events %}
gremmie@1 18 <p>To synchronize the following approved events with the Google calendar, please enter the password for the
gremmie@1 19 account and click submit.</p>
gremmie@1 20 <ol>
gremmie@1 21 {% for event in events %}
gremmie@1 22 {% if not event.on_calendar %}
gremmie@1 23 <li><a href="../../{{ event.id }}">{{ event.start_date|date:"M d, Y" }} - {{ event.what }}</a>
gremmie@1 24 &bull; Submitted by {{ event.user.username }} &bull; <strong>{{ event.get_status_display }}</strong></li>
gremmie@1 25 {% endif %}
gremmie@1 26 {% endfor %}
gremmie@1 27 </ol>
gremmie@1 28 <form action="." method="POST">
gremmie@1 29 {{ form.as_p }}
gremmie@1 30 <p><input type="submit" name="submit" value="Submit" /></p>
gremmie@1 31 </form>
gremmie@1 32 {% else %}
gremmie@1 33 <p>No events to synchronize at this time.</p>
gremmie@1 34 {% endif %}
gremmie@1 35 {% endblock %}