gremmie@1: {% extends 'admin/base_site.html' %} bgneal@458: {% load url from future %} bgneal@458: {% load core_tags %} gremmie@1: {% block title %}Sync Events w/Google Calendar{% endblock %} gremmie@1: {% block breadcrumbs %} gremmie@1: gremmie@1: {% endblock %} gremmie@1: {% block content %} gremmie@1:

Synchronize Approved Events with Google Calendar

bgneal@69: {% if err_msg %} gremmie@1: gremmie@1: {% endif %} bgneal@458: bgneal@458:

Access token status: {% bool_icon access_token %} — Request new access token

bgneal@458: gremmie@1: {% if events %} bgneal@458:

The following pending events have been approved and are ready to be synchronized with the Google calendar.

gremmie@1:
    gremmie@1: {% for event in events %} gremmie@1: {% if not event.on_calendar %} bgneal@464:
  1. {{ event.start_date|date:"M d, Y" }} - {{ event.what }} gremmie@1: • Submitted by {{ event.user.username }} • {{ event.get_status_display }}
  2. gremmie@1: {% endif %} gremmie@1: {% endfor %} gremmie@1:
bgneal@458: bgneal@458: {% if access_token %} bgneal@194:
{% csrf_token %} bgneal@458:

gremmie@1:
bgneal@458: {% endif %} gremmie@1: {% else %} gremmie@1:

No events to synchronize at this time.

gremmie@1: {% endif %} gremmie@1: {% endblock %}