Mercurial > public > sg101
view gpp/templates/gcalendar/google_sync.html @ 147:152d77265da6
Implement #38: add function to mark user as a spammer. Display only active members on member list. Display login form as table (not sure why wasn't doing this before).
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 13 Dec 2009 08:11:16 +0000 |
parents | 9fb8e804652b |
children | 6a5549c2efb5 |
line wrap: on
line source
{% extends 'admin/base_site.html' %} {% block title %}Sync Events w/Google Calendar{% endblock %} {% block breadcrumbs %} <div class="breadcrumbs"> <a href="../../../">Home</a> › <a href="../../">Gcalendar</a> › <a href="../">Events</a> › Google Sync </div> {% endblock %} {% block content %} <h1>Synchronize Approved Events with Google Calendar</h1> {% if err_msg %} <ul class="errorlist"> <li>{{ err_msg }}</li> </ul> {% endif %} {% if events %} <p>To synchronize the following approved events with the Google calendar, please enter the password for the account and click submit.</p> <ol> {% for event in events %} {% if not event.on_calendar %} <li><a href="../../{{ event.id }}">{{ event.start_date|date:"M d, Y" }} - {{ event.what }}</a> • Submitted by {{ event.user.username }} • <strong>{{ event.get_status_display }}</strong></li> {% endif %} {% endfor %} </ol> <form action="." method="POST"> {{ form.as_p }} <p><input type="submit" name="submit" value="Submit" /></p> </form> {% else %} <p>No events to synchronize at this time.</p> {% endif %} {% endblock %}