comparison gpp/templates/gcalendar/index.html @ 310:daa2916f5b34

Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author Brian Neal <bgneal@gmail.com>
date Thu, 20 Jan 2011 04:03:48 +0000
parents dbd703f7d63a
children 88b2b9cb8c1f
comparison
equal deleted inserted replaced
309:8a0bae48b6ca 310:daa2916f5b34
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %}
2 {% block title %}Event Calendar{% endblock %} 3 {% block title %}Event Calendar{% endblock %}
3 {% block content %} 4 {% block content %}
4 <h2>SurfGuitar101 Event Calendar</h2> 5 <h2>SurfGuitar101 Event Calendar</h2>
5 <p>All times are shown in the US/Central time zone. You can add any event on our calendar to your own 6 <p>All times are shown in the US/Central time zone. You can add any event on our calendar to your own
6 <a href="http://www.google.com/googlecalendar/overview.html">Google calendar</a>. If you do, the event 7 <a href="http://www.google.com/googlecalendar/overview.html">Google calendar</a>. If you do, the event
8 the events. Click on any event below to see more details or copy it to your calendar.</p> 9 the events. Click on any event below to see more details or copy it to your calendar.</p>
9 <iframe src="//www.google.com/calendar/embed?showTitle=0&amp;showTz=0&amp;height=540&amp;wkst=1&amp;bgcolor=%23DFDFDF&amp;src=i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com&amp;color=%231B887A&amp;ctz=America%2FChicago" style=" border:solid 1px #777 " width="720" height="540" frameborder="0" scrolling="no"></iframe> 10 <iframe src="//www.google.com/calendar/embed?showTitle=0&amp;showTz=0&amp;height=540&amp;wkst=1&amp;bgcolor=%23DFDFDF&amp;src=i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com&amp;color=%231B887A&amp;ctz=America%2FChicago" style=" border:solid 1px #777 " width="720" height="540" frameborder="0" scrolling="no"></iframe>
10 11
11 <ul> 12 <ul>
12 {% if user.is_authenticated %} 13 {% if user.is_authenticated %}
13 <li><a href="{% url gcalendar-add %}"><img src="{{ MEDIA_URL}}icons/calendar_add.png" alt="Add" /></a> 14 <li><a href="{% url 'gcalendar-add' %}"><img src="{{ MEDIA_URL}}icons/calendar_add.png" alt="Add" /></a>
14 <a href="{% url gcalendar-add %}">Add an event to our calendar</a>.</li> 15 <a href="{% url 'gcalendar-add' %}">Add an event to our calendar</a>.</li>
15 <li><a href="{% url gcalendar-edit_events %}"><img src="{{ MEDIA_URL}}icons/calendar_edit.png" alt="Edit" /></a> 16 <li><a href="{% url 'gcalendar-edit_events' %}"><img src="{{ MEDIA_URL}}icons/calendar_edit.png" alt="Edit" /></a>
16 <a href="{% url gcalendar-edit_events %}">Change or delete an event you previously added</a>.</li> 17 <a href="{% url 'gcalendar-edit_events' %}">Change or delete an event you previously added</a>.</li>
17 {% endif %} 18 {% endif %}
18 <li> 19 <li>
19 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic"> 20 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic">
20 <img src="{{ MEDIA_URL }}icons/feed.png" alt="feed" /></a> 21 <img src="{{ MEDIA_URL }}icons/feed.png" alt="feed" /></a>
21 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic"> 22 <a href="http://www.google.com/calendar/feeds/i81lu3fkh57sgqqenogefd9v78%40group.calendar.google.com/public/basic">