fysm-4-1space-accessstablestagetest-hooks
Last change
on this file since e4773d4 was
e4773d4,
checked in by Alex Dehnert <adehnert@…>, 15 years ago
|
Send people to slide when following link
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | {% extends "base.html" %} |
---|
2 | {% load formcats %} |
---|
3 | |
---|
4 | {% block title %}First Year Summer Mailing{% endblock %} |
---|
5 | {% block content %} |
---|
6 | |
---|
7 | <h2>First Year Summer Mailing ({{year}})</h2> |
---|
8 | |
---|
9 | {% if category %} |
---|
10 | <h2>{{category.name}} Groups</h2> |
---|
11 | <p>{{category.blurb}}</p> |
---|
12 | <p><a href='{% url fysm year %}'>Return to all categories</a></p> |
---|
13 | {% else %} |
---|
14 | <h3>View by Category</h3> |
---|
15 | <ul> |
---|
16 | {% for cat in categories %} |
---|
17 | <li><a href='{% url fysm year cat.slug %}'>{{cat}}</a></li> |
---|
18 | {% endfor %} |
---|
19 | </ul> |
---|
20 | {% endif %} |
---|
21 | |
---|
22 | {% for fysm in fysm_list %} |
---|
23 | <div class='single-fysm-entry'> |
---|
24 | <h3><a href='{% url fysm-view year fysm.pk %}'>{{fysm.display_name}}</a></h3> |
---|
25 | <div class='fysm-body'> |
---|
26 | <div class='logo'> |
---|
27 | {% if fysm.logo %} |
---|
28 | <img src='{{ MEDIA_URL }}{{fysm.logo}}' alt='{{fysm.display_name}} logo' /> |
---|
29 | {% else %} |
---|
30 | <p>[ No logo ]</p> |
---|
31 | {% endif %} |
---|
32 | </div> |
---|
33 | <p class='data'>{{fysm.description}}</p> |
---|
34 | <p class='join'><a href='{{fysm.join_url}}'>Join {{fysm.display_name}}!</a> Have questions? Send them to <a href='mailto:{{fysm.contact_email}}'>{{fysm.contact_email}}</a>!</p> |
---|
35 | </div> |
---|
36 | {% if fysm.tags %} |
---|
37 | <p class='tags'>tags: {{fysm.tags}}</p> |
---|
38 | {% endif %} |
---|
39 | {% if fysm.categories.all %} |
---|
40 | <p class='tags'>categories: {{fysm|format_categories:year}}</p> |
---|
41 | {% endif %} |
---|
42 | </div> |
---|
43 | {% endfor %} |
---|
44 | |
---|
45 | {% endblock %} |
---|
46 | |
---|
Note: See
TracBrowser
for help on using the repository browser.