~gwylim-a/umonya-website/design

« back to all changes in this revision

Viewing changes to templates/events.html

  • Committer: Gwylim Ashley
  • Date: 2011-02-13 16:40:56 UTC
  • mfrom: (8.1.3 design)
  • Revision ID: gwylim.a+launchpad@gmail.com-20110213164056-y6wmjurszn22lddk
merge doug's branch, changed wording in events.html (template)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
  </div>
6
6
  <div id="main-content">
7
 
    <h2>Apply</h2>
 
7
    <h2>Upcoming events</h2>
8
8
    {% for event in events %}
9
9
      <h3>Event: {{ event.date }} - {{ event.location }}</h3>
10
10
      <p>{{ event.description }}</p>
11
 
      <p>{{ event.students_count }} from {{ event.schools_count }} have applied.</p>
 
11
      <p>{{ event.students_count }} learners from {{ event.schools_count }} schools have applied.</p>
12
12
      <p>{{ event.close_date|timeuntil }}</p>
13
 
      <a class=".apply-button" href="application/{{ event.id }}">Apply</a>
 
13
      <a class=".apply-button" href="apply/students/{{ event.id }}">Apply</a>
 
14
      <a class=".apply-button" href="apply/teachers/{{ event.id }}">Apply as a teacher</a>
14
15
    {% endfor %}
15
16
  </div>
16
17
{% endblock %}