~timo-wingender/widelands-website/ggz-support

« back to all changes in this revision

Viewing changes to templates/right_boxes.html

  • Committer: Timo Wingender
  • Date: 2010-09-28 09:01:50 UTC
  • mfrom: (209.1.8 widelands)
  • Revision ID: timo.wingender@gmx.de-20100928090150-z0c7cf6mf04qpasb
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
{% endcomment %}
7
7
{% load inbox %}
8
8
{% load i18n %}
9
 
{% load wlprofile wlpoll %}
 
9
{% load wlprofile wlpoll wlevents%}
10
10
{% load pybb_extras %}
11
11
 
12
12
      <!-- Search Box -->
100
100
         </div>
101
101
         {%endif %}
102
102
 
 
103
         <!-- Future Events if any -->
 
104
         {% get_future_events as events %}
 
105
         {% if events.count %}
 
106
         <h3 class="box_title">Important Dates</h3>
 
107
         <div class="box_content" align="center">
 
108
         {% for e in events %}
 
109
            <div class="event">
 
110
               <a href="{{e.link}}" class="link">{{e.name}}</a><br>
 
111
               <div class="date">
 
112
               {{e.start_date|date:"d M"}}
 
113
               {% ifnotequal e.start_date e.end_date %}
 
114
                  - {{e.end_date|date:"d M"}}
 
115
               {% endifnotequal %}
 
116
               </div>
 
117
            </div>
 
118
         {% endfor %}
 
119
         </div>
 
120
         {% endif %}
 
121
 
103
122
         <!-- Logged in users -->
104
123
         {%load online_users %}
105
124
         <h3 class="box_title">Currently online</h3>