~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wlscheduling/find.html

  • Committer: Holger Rapp
  • Date: 2009-02-21 18:24:02 UTC
  • Revision ID: sirver@kallisto.local-20090221182402-k3tuf5c4gjwslbjf
Main Page contains now the same informations as before

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "wlscheduling/base.html" %}
2
 
{% comment %}
3
 
   vim:ft=htmldjango
4
 
{% endcomment %}
5
 
 
6
 
{% block content_header %}
7
 
    <h1>Scheduling: Other users' playtimes</h1>
8
 
{% endblock %}
9
 
 
10
 
{% block content_main %}
11
 
<script type="text/javascript">
12
 
document.addEventListener('DOMContentLoaded', function(){ 
13
 
    addTimeZoneWarningIfNeeded();
14
 
    addOtherUsersAvailabilities();
15
 
}, false);
16
 
</script>
17
 
<div class="blogEntry">
18
 
    {% include "wlscheduling/timezone-msg.html" %}
19
 
    <div id="other-users-wrapper"></div>
20
 
    <div id="no-user-to-display" hidden="hidden">Sorry currently there isn't anybody who has scheduled a gaming session. Don't hesitate to signal to other when you'll be available <a href="{% url 'scheduling_scheduling' %}">here</a></div>
21
 
 
22
 
</div>
23
 
 
24
 
<!-- Templates for the js script -->
25
 
{% include "wlscheduling/other-users.html" %}
26
 
 
27
 
<!-- Div to send django data to js file -->
28
 
<div id="django-data" user-time-zone="{{user.wlprofile.time_zone}}" users-to-fill="{{other_users_availabilities}}"></div>
29
 
{% endblock %}