Merge lp:~cjohnston/loco-team-portal/bug-637283 into lp:loco-team-portal
- bug-637283
- Merge into 0.2
Proposed by
Chris Johnston
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Michael Hall | ||||||||
Approved revision: | 291 | ||||||||
Merged at revision: | 292 | ||||||||
Proposed branch: | lp:~cjohnston/loco-team-portal/bug-637283 | ||||||||
Merge into: | lp:loco-team-portal | ||||||||
Diff against target: |
367 lines (+133/-119) (has conflicts) 2 files modified
loco_directory/locale/loco-directory.pot (+31/-23) loco_directory/templates/teams/team_detail.html (+102/-96) Text conflict in loco_directory/locale/loco-directory.pot |
||||||||
To merge this branch: | bzr merge lp:~cjohnston/loco-team-portal/bug-637283 | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
LoCo Team Portal Developers | Pending | ||
Review via email:
|
Commit message
Description of the change
To post a comment you must log in.
- 292. By Chris Johnston
-
Adds .all to profile check
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'loco_directory/locale/loco-directory.pot' | |||
2 | --- loco_directory/locale/loco-directory.pot 2010-09-13 17:08:59 +0000 | |||
3 | +++ loco_directory/locale/loco-directory.pot 2010-09-13 19:09:45 +0000 | |||
4 | @@ -8,7 +8,11 @@ | |||
5 | 8 | msgstr "" | 8 | msgstr "" |
6 | 9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
7 | 10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
8 | 11 | <<<<<<< TREE | ||
9 | 11 | "POT-Creation-Date: 2010-09-13 17:08+0000\n" | 12 | "POT-Creation-Date: 2010-09-13 17:08+0000\n" |
10 | 13 | ======= | ||
11 | 14 | "POT-Creation-Date: 2010-09-13 16:48+0000\n" | ||
12 | 15 | >>>>>>> MERGE-SOURCE | ||
13 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 16 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
14 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 17 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
15 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 18 | "Language-Team: LANGUAGE <LL@li.org>\n" |
16 | @@ -260,7 +264,7 @@ | |||
17 | 260 | msgid "Email Address" | 264 | msgid "Email Address" |
18 | 261 | msgstr "" | 265 | msgstr "" |
19 | 262 | 266 | ||
21 | 263 | #: teams/models.py:74 templates/teams/team_detail.html:125 | 267 | #: teams/models.py:74 templates/teams/team_detail.html:132 |
22 | 264 | msgid "IRC Channel" | 268 | msgid "IRC Channel" |
23 | 265 | msgstr "" | 269 | msgstr "" |
24 | 266 | 270 | ||
25 | @@ -825,7 +829,7 @@ | |||
26 | 825 | msgid "Add Team Event" | 829 | msgid "Add Team Event" |
27 | 826 | msgstr "" | 830 | msgstr "" |
28 | 827 | 831 | ||
30 | 828 | #: templates/events/event_list.html:14 templates/teams/team_detail.html:143 | 832 | #: templates/events/event_list.html:14 templates/teams/team_detail.html:150 |
31 | 829 | #: templates/teams/team_event_list.html:8 | 833 | #: templates/teams/team_event_list.html:8 |
32 | 830 | msgid "Past Events" | 834 | msgid "Past Events" |
33 | 831 | msgstr "" | 835 | msgstr "" |
34 | @@ -992,7 +996,7 @@ | |||
35 | 992 | msgstr "" | 996 | msgstr "" |
36 | 993 | 997 | ||
37 | 994 | #: templates/events/team_event_detail.html:17 | 998 | #: templates/events/team_event_detail.html:17 |
39 | 995 | #: templates/teams/team_detail.html:145 | 999 | #: templates/teams/team_detail.html:152 |
40 | 996 | msgid "iCal Feed" | 1000 | msgid "iCal Feed" |
41 | 997 | msgstr "" | 1001 | msgstr "" |
42 | 998 | 1002 | ||
43 | @@ -1146,7 +1150,7 @@ | |||
44 | 1146 | msgstr "" | 1150 | msgstr "" |
45 | 1147 | 1151 | ||
46 | 1148 | #: templates/teams/team_detail.html:72 templates/teams/team_detail.html:82 | 1152 | #: templates/teams/team_detail.html:72 templates/teams/team_detail.html:82 |
48 | 1149 | #: templates/teams/team_detail.html:156 | 1153 | #: templates/teams/team_detail.html:164 |
49 | 1150 | msgid "None Specified" | 1154 | msgid "None Specified" |
50 | 1151 | msgstr "" | 1155 | msgstr "" |
51 | 1152 | 1156 | ||
52 | @@ -1154,68 +1158,72 @@ | |||
53 | 1154 | msgid "Languages:" | 1158 | msgid "Languages:" |
54 | 1155 | msgstr "" | 1159 | msgstr "" |
55 | 1156 | 1160 | ||
57 | 1157 | #: templates/teams/team_detail.html:89 | 1161 | #: templates/teams/team_detail.html:88 |
58 | 1158 | msgid "Approval Date:" | 1162 | msgid "Approval Date:" |
59 | 1159 | msgstr "" | 1163 | msgstr "" |
60 | 1160 | 1164 | ||
62 | 1161 | #: templates/teams/team_detail.html:95 | 1165 | #: templates/teams/team_detail.html:94 |
63 | 1162 | msgid "Expires Date:" | 1166 | msgid "Expires Date:" |
64 | 1163 | msgstr "" | 1167 | msgstr "" |
65 | 1164 | 1168 | ||
67 | 1165 | #: templates/teams/team_detail.html:100 | 1169 | #: templates/teams/team_detail.html:99 |
68 | 1166 | msgid "Local Support:" | 1170 | msgid "Local Support:" |
69 | 1167 | msgstr "" | 1171 | msgstr "" |
70 | 1168 | 1172 | ||
72 | 1169 | #: templates/teams/team_detail.html:104 | 1173 | #: templates/teams/team_detail.html:103 |
73 | 1170 | msgid "Team Admin(s):" | 1174 | msgid "Team Admin(s):" |
74 | 1171 | msgstr "" | 1175 | msgstr "" |
75 | 1172 | 1176 | ||
81 | 1173 | #: templates/teams/team_detail.html:112 | 1177 | #: templates/teams/team_detail.html:114 |
82 | 1174 | msgid "Loco Contacts(s):" | 1178 | msgid "Team Contact(s):" |
83 | 1175 | msgstr "" | 1179 | msgstr "" |
84 | 1176 | 1180 | ||
85 | 1177 | #: templates/teams/team_detail.html:119 | 1181 | #: templates/teams/team_detail.html:121 |
86 | 1182 | msgid "No LoCo Team contacts are set." | ||
87 | 1183 | msgstr "" | ||
88 | 1184 | |||
89 | 1185 | #: templates/teams/team_detail.html:126 | ||
90 | 1178 | msgid "Resources:" | 1186 | msgid "Resources:" |
91 | 1179 | msgstr "" | 1187 | msgstr "" |
92 | 1180 | 1188 | ||
94 | 1181 | #: templates/teams/team_detail.html:122 | 1189 | #: templates/teams/team_detail.html:129 |
95 | 1182 | msgid "Team Wiki" | 1190 | msgid "Team Wiki" |
96 | 1183 | msgstr "" | 1191 | msgstr "" |
97 | 1184 | 1192 | ||
99 | 1185 | #: templates/teams/team_detail.html:128 | 1193 | #: templates/teams/team_detail.html:135 |
100 | 1186 | msgid "Team Mailing List" | 1194 | msgid "Team Mailing List" |
101 | 1187 | msgstr "" | 1195 | msgstr "" |
102 | 1188 | 1196 | ||
104 | 1189 | #: templates/teams/team_detail.html:131 | 1197 | #: templates/teams/team_detail.html:138 |
105 | 1190 | msgid "Team Forums" | 1198 | msgid "Team Forums" |
106 | 1191 | msgstr "" | 1199 | msgstr "" |
107 | 1192 | 1200 | ||
109 | 1193 | #: templates/teams/team_detail.html:134 | 1201 | #: templates/teams/team_detail.html:141 |
110 | 1194 | msgid "Team Website" | 1202 | msgid "Team Website" |
111 | 1195 | msgstr "" | 1203 | msgstr "" |
112 | 1196 | 1204 | ||
114 | 1197 | #: templates/teams/team_detail.html:139 | 1205 | #: templates/teams/team_detail.html:146 |
115 | 1198 | msgid "Upcoming Events:" | 1206 | msgid "Upcoming Events:" |
116 | 1199 | msgstr "" | 1207 | msgstr "" |
117 | 1200 | 1208 | ||
119 | 1201 | #: templates/teams/team_detail.html:142 | 1209 | #: templates/teams/team_detail.html:149 |
120 | 1202 | msgid "All Events" | 1210 | msgid "All Events" |
121 | 1203 | msgstr "" | 1211 | msgstr "" |
122 | 1204 | 1212 | ||
124 | 1205 | #: templates/teams/team_detail.html:144 | 1213 | #: templates/teams/team_detail.html:151 |
125 | 1206 | msgid "RSS Feed" | 1214 | msgid "RSS Feed" |
126 | 1207 | msgstr "" | 1215 | msgstr "" |
127 | 1208 | 1216 | ||
129 | 1209 | #: templates/teams/team_detail.html:152 | 1217 | #: templates/teams/team_detail.html:159 |
130 | 1210 | #, python-format | 1218 | #, python-format |
131 | 1211 | msgid "%(start_date)s in %(city)s" | 1219 | msgid "%(start_date)s in %(city)s" |
132 | 1212 | msgstr "" | 1220 | msgstr "" |
133 | 1213 | 1221 | ||
135 | 1214 | #: templates/teams/team_detail.html:152 | 1222 | #: templates/teams/team_detail.html:159 |
136 | 1215 | msgid "on: " | 1223 | msgid "on: " |
137 | 1216 | msgstr "" | 1224 | msgstr "" |
138 | 1217 | 1225 | ||
140 | 1218 | #: templates/teams/team_detail.html:169 | 1226 | #: templates/teams/team_detail.html:177 |
141 | 1219 | msgid "Photos from" | 1227 | msgid "Photos from" |
142 | 1220 | msgstr "" | 1228 | msgstr "" |
143 | 1221 | 1229 | ||
144 | 1222 | 1230 | ||
145 | === modified file 'loco_directory/templates/teams/team_detail.html' | |||
146 | --- loco_directory/templates/teams/team_detail.html 2010-09-09 21:07:01 +0000 | |||
147 | +++ loco_directory/templates/teams/team_detail.html 2010-09-13 19:09:45 +0000 | |||
148 | @@ -60,117 +60,123 @@ | |||
149 | 60 | 60 | ||
150 | 61 | {% block content %} | 61 | {% block content %} |
151 | 62 | <article class="minor-content alone"> | 62 | <article class="minor-content alone"> |
153 | 63 | <h2><a href="https://launchpad.net/~{{ team.lp_name }}">{{ team.name }}</a></h2> | 63 | <h2><a href="https://launchpad.net/~{{ team.lp_name }}">{{ team.name }}</a></h2> |
154 | 64 | 64 | ||
177 | 65 | <table> | 65 | <table> |
178 | 66 | <tr> | 66 | <tr> |
179 | 67 | <th class="form-item-label" scope="row"><label>{% trans "Location:" %}</label></th> | 67 | <th class="form-item-label" scope="row"><label>{% trans "Location:" %}</label></th> |
180 | 68 | <td class="form-item-value"> | 68 | <td class="form-item-value"> |
181 | 69 | {% if team.countries.all %} | 69 | {% if team.countries.all %} |
182 | 70 | {% for country in team.countries.all %}{% if not forloop.first %}, {% endif %}{{ country.name }}{% endfor %}{% if team.spr %}, {% trans team.spr %}{% endif %}{% if team.city %}, {% trans team.city %}{% endif %} | 70 | {% for country in team.countries.all %}{% if not forloop.first %}, {% endif %}{{ country.name }}{% endfor %}{% if team.spr %}, {% trans team.spr %}{% endif %}{% if team.city %}, {% trans team.city %}{% endif %} |
183 | 71 | {% else %} | 71 | {% else %} |
184 | 72 | {% trans "None Specified" %} | 72 | {% trans "None Specified" %} |
185 | 73 | {% endif %} | 73 | {% endif %} |
186 | 74 | </td> | 74 | </td> |
187 | 75 | </tr> | 75 | </tr> |
188 | 76 | <tr> | 76 | <tr> |
189 | 77 | <th class="form-item-label" scope="row"><label>{% trans "Languages:" %}</label></th> | 77 | <th class="form-item-label" scope="row"><label>{% trans "Languages:" %}</label></th> |
190 | 78 | <td class="form-item-value"> | 78 | <td class="form-item-value"> |
191 | 79 | {% if team.languages.all %} | 79 | {% if team.languages.all %} |
192 | 80 | {% for language in team.languages.all %}{% if not forloop.first %}, {% endif %}{{ language.name }}{% endfor %} | 80 | {% for language in team.languages.all %}{% if not forloop.first %}, {% endif %}{{ language.name }}{% endfor %} |
193 | 81 | {% else %} | 81 | {% else %} |
194 | 82 | {% trans "None Specified" %} | 82 | {% trans "None Specified" %} |
195 | 83 | {% endif %} | 83 | {% endif %} |
196 | 84 | </td> | 84 | </td> |
197 | 85 | </tr> | 85 | </tr> |
176 | 86 | |||
198 | 87 | {% if team.approved_date %} | 86 | {% if team.approved_date %} |
203 | 88 | <tr> | 87 | <tr> |
204 | 89 | <th class="form-item-label" scope="row"><label>{% trans "Approval Date:" %}</label></th> | 88 | <th class="form-item-label" scope="row"><label>{% trans "Approval Date:" %}</label></th> |
205 | 90 | <td class="form-item-value">{{ team.approved_date }}</td> | 89 | <td class="form-item-value">{{ team.approved_date }}</td> |
206 | 91 | </tr> | 90 | </tr> |
207 | 92 | {% endif %} | 91 | {% endif %} |
208 | 93 | {% if team.approved %} | 92 | {% if team.approved %} |
213 | 94 | <tr> | 93 | <tr> |
214 | 95 | <th class="form-item-label" scope="row"><label>{% trans "Expires Date:" %}</label></th> | 94 | <th class="form-item-label" scope="row"><label>{% trans "Expires Date:" %}</label></th> |
215 | 96 | <td class="form-item-value">{{ team.expires_date }}</td> | 95 | <td class="form-item-value">{{ team.expires_date }}</td> |
216 | 97 | </tr> | 96 | </tr> |
217 | 98 | {% endif %} | 97 | {% endif %} |
218 | 99 | <tr> | 98 | <tr> |
273 | 100 | <th class="form-item-label" scope="row"><label>{% trans "Local Support:" %}</label></th> | 99 | <th class="form-item-label" scope="row"><label>{% trans "Local Support:" %}</label></th> |
274 | 101 | <td class="form-item-value">{% if team.provides_support %}Yes{% else %}No{% endif %}</td> | 100 | <td class="form-item-value">{% if team.provides_support %}Yes{% else %}No{% endif %}</td> |
275 | 102 | </tr> | 101 | </tr> |
276 | 103 | <tr> | 102 | <tr> |
277 | 104 | <th class="form-item-label" scope="row"><label>{% trans "Team Admin(s):" %}</label></th> | 103 | <th class="form-item-label" scope="row"><label>{% trans "Team Admin(s):" %}</label></th> |
278 | 105 | <td class="form-item-value">{% for admin in team.admin_profiles.all %} | 104 | <td class="form-item-value"> |
279 | 106 | {% ifequal team.owner admin.user.username %} | 105 | {% for admin in team.admin_profiles.all %} |
280 | 107 | <strong><a href="https://launchpad.net/~{{ admin.user.username }}">{{ admin.realname }}</a></strong>{% else %} | 106 | {% ifequal team.owner admin.user.username %} |
281 | 108 | <a href="https://launchpad.net/~{{ admin.user.username }}">{{ admin.realname }}</a>{% endifequal %}{% if not forloop.last %},{% endif %} | 107 | <strong><a href="https://launchpad.net/~{{ admin.user.username }}">{{ admin.realname }}</a></strong> |
282 | 109 | {% endfor %}</td> | 108 | {% else %} |
283 | 110 | </tr> | 109 | <a href="https://launchpad.net/~{{ admin.user.username }}">{{ admin.realname }}</a>{% endifequal %}{% if not forloop.last %},{% endif %} |
284 | 111 | <tr> | 110 | {% endfor %} |
285 | 112 | <th class="form-item-label" scope="row"><label>{% trans "Loco Contacts(s):" %}</label></th> | 111 | </td> |
286 | 113 | <td class="form-item-value">{% for contact in team.contact_profiles.all %} | 112 | </tr> |
287 | 114 | <a href="https://launchpad.net/~{{ contact.user.username }}">{{ contact.realname }}</a>{% if not forloop.last %},{% endif %} | 113 | <tr> |
288 | 115 | {% endfor %}</td> | 114 | <th class="form-item-label" scope="row"><label>{% trans "Team Contact(s):" %}</label></th> |
289 | 116 | </tr> | 115 | <td class="form-item-value"> |
290 | 117 | 116 | {% if team.contact_profiles.all %} | |
291 | 118 | <tr> | 117 | {% for contact in team.contact_profiles.all %} |
292 | 119 | <th class="form-item-label" scope="row"><label>{% trans "Resources:" %}</label></th> | 118 | <a href="https://launchpad.net/~{{ contact.user.username }}">{{ contact.realname }}</a>{% if not forloop.last %},{% endif %} |
239 | 120 | <td class="form-item-value"> | ||
240 | 121 | {% if team.wiki_url %} | ||
241 | 122 | <a href="{{ team.wiki_url }}"><img class="resource" src="/media/images/team/wiki.png" alt="{% trans "Team Wiki" %}" title="{% trans "Team Wiki" %}"/></a> | ||
242 | 123 | {% endif %} | ||
243 | 124 | {% if team.irc_chan %} | ||
244 | 125 | <a href="http://webchat.freenode.net/?channels={{ team.irc_chan }}"><img class="resource" src="/media/images/team/irc.png" alt="{% trans "IRC Channel" %} ({{ team.irc_chan }})" title="{% trans "IRC Channel" %} ({{ team.irc_chan }})"/></a> | ||
245 | 126 | {% endif %} | ||
246 | 127 | {% if team.ml_url %} | ||
247 | 128 | <a href="{{ team.ml_url }}"><img class="resource" src="/media/images/team/list.png" alt="{% trans "Team Mailing List" %}" title="{% trans "Team Mailing List" %}"/></a> | ||
248 | 129 | {% endif %} | ||
249 | 130 | {% if team.forum_url %} | ||
250 | 131 | <a href="{{ team.forum_url }}"><img class="resource" src="/media/images/team/forum.png" alt="{% trans "Team Forums" %}" title="{% trans "Team Forums" %}"/></a> | ||
251 | 132 | {% endif %} | ||
252 | 133 | {% if team.web_url %} | ||
253 | 134 | <a href="{{ team.web_url }}"><img class="resource" src="/media/images/team/website.png" alt="{% trans "Team Website" %}" title="{% trans "Team Website" %}"/></a> | ||
254 | 135 | {% endif %} | ||
255 | 136 | </td> | ||
256 | 137 | </tr> | ||
257 | 138 | <tr> | ||
258 | 139 | <th class="form-item-label" scope="row"><label>{% trans "Upcoming Events:" %}</label></th> | ||
259 | 140 | <td class="form-item-value"> | ||
260 | 141 | <ul class="team-event-nav"> | ||
261 | 142 | <li style="font-size:0.98em"><a href="{% url team-event-list team.lp_name %}">{% trans "All Events" %}</a></li> | ||
262 | 143 | <li style="font-size:0.98em"><a href="{% url team-event-history team.lp_name %}">{% trans "Past Events" %}</a></li> | ||
263 | 144 | <li style="font-size:0.98em"><a href="{% url team-events-rss team.lp_name %}">{% trans "RSS Feed" %}</a></li> | ||
264 | 145 | <li style="font-size:0.98em"><a href="{% url team-event-list-ical team.lp_name %}">{% trans "iCal Feed" %}</a></li> | ||
265 | 146 | </ul> | ||
266 | 147 | {% if team.teamevent_set.next_5_events %} | ||
267 | 148 | <ul> | ||
268 | 149 | {% for team_event in team.teamevent_set.next_5_events %} | ||
269 | 150 | {% comment %}TRANSLATORS: If event has a venue, show: date "in" city{% endcomment %} | ||
270 | 151 | <li> | ||
271 | 152 | <a title="{% if team_event.venue %}{% blocktrans with team_event.date_begin|date:"M d" as start_date and team_event.venue.city as city %}{{start_date}} in {{city}}{% endblocktrans %}{% else %}{{team_event.date_begin|date:"M d"}}{% endif %}" href="{% url team-event-detail team_event.id %}">{{ team_event.name }}</a> {% trans "on: " %}{{ team_event.date_begin|date}} | ||
272 | 153 | </li> | ||
293 | 154 | {% endfor %} | 119 | {% endfor %} |
300 | 155 | </ul> | 120 | {% else %} |
301 | 156 | {% else %}{% trans "None Specified" %}{% endif %} | 121 | <p>{% trans "No LoCo Team contacts are set." %}</p> |
302 | 157 | </td> | 122 | {% endif %} |
303 | 158 | </tr> | 123 | </td> |
304 | 159 | 124 | </tr> | |
305 | 160 | </table> | 125 | <tr> |
306 | 126 | <th class="form-item-label" scope="row"><label>{% trans "Resources:" %}</label></th> | ||
307 | 127 | <td class="form-item-value"> | ||
308 | 128 | {% if team.wiki_url %} | ||
309 | 129 | <a href="{{ team.wiki_url }}"><img class="resource" src="/media/images/team/wiki.png" alt="{% trans "Team Wiki" %}" title="{% trans "Team Wiki" %}" /></a> | ||
310 | 130 | {% endif %} | ||
311 | 131 | {% if team.irc_chan %} | ||
312 | 132 | <a href="http://webchat.freenode.net/?channels={{ team.irc_chan }}"><img class="resource" src="/media/images/team/irc.png" alt="{% trans "IRC Channel" %} ({{ team.irc_chan }})" title="{% trans "IRC Channel" %} ({{ team.irc_chan }})" /></a> | ||
313 | 133 | {% endif %} | ||
314 | 134 | {% if team.ml_url %} | ||
315 | 135 | <a href="{{ team.ml_url }}"><img class="resource" src="/media/images/team/list.png" alt="{% trans "Team Mailing List" %}" title="{% trans "Team Mailing List" %}" /></a> | ||
316 | 136 | {% endif %} | ||
317 | 137 | {% if team.forum_url %} | ||
318 | 138 | <a href="{{ team.forum_url }}"><img class="resource" src="/media/images/team/forum.png" alt="{% trans "Team Forums" %}" title="{% trans "Team Forums" %}" /></a> | ||
319 | 139 | {% endif %} | ||
320 | 140 | {% if team.web_url %} | ||
321 | 141 | <a href="{{ team.web_url }}"><img class="resource" src="/media/images/team/website.png" alt="{% trans "Team Website" %}" title="{% trans "Team Website" %}" /></a> | ||
322 | 142 | {% endif %} | ||
323 | 143 | </td> | ||
324 | 144 | </tr> | ||
325 | 145 | <tr> | ||
326 | 146 | <th class="form-item-label" scope="row"><label>{% trans "Upcoming Events:" %}</label></th> | ||
327 | 147 | <td class="form-item-value"> | ||
328 | 148 | <ul class="team-event-nav"> | ||
329 | 149 | <li style="font-size:0.98em"><a href="{% url team-event-list team.lp_name %}">{% trans "All Events" %}</a></li> | ||
330 | 150 | <li style="font-size:0.98em"><a href="{% url team-event-history team.lp_name %}">{% trans "Past Events" %}</a></li> | ||
331 | 151 | <li style="font-size:0.98em"><a href="{% url team-events-rss team.lp_name %}">{% trans "RSS Feed" %}</a></li> | ||
332 | 152 | <li style="font-size:0.98em"><a href="{% url team-event-list-ical team.lp_name %}">{% trans "iCal Feed" %}</a></li> | ||
333 | 153 | </ul> | ||
334 | 154 | {% if team.teamevent_set.next_5_events %} | ||
335 | 155 | <ul> | ||
336 | 156 | {% for team_event in team.teamevent_set.next_5_events %} | ||
337 | 157 | {% comment %}TRANSLATORS: If event has a venue, show: date "in" city{% endcomment %} | ||
338 | 158 | <li> | ||
339 | 159 | <a title="{% if team_event.venue %}{% blocktrans with team_event.date_begin|date:"M d" as start_date and team_event.venue.city as city %}{{start_date}} in {{city}}{% endblocktrans %}{% else %}{{team_event.date_begin|date:"M d"}}{% endif %}" href="{% url team-event-detail team_event.id %}">{{ team_event.name }}</a> {% trans "on: " %}{{ team_event.date_begin|date}} | ||
340 | 160 | </li> | ||
341 | 161 | {% endfor %} | ||
342 | 162 | </ul> | ||
343 | 163 | {% else %} | ||
344 | 164 | {% trans "None Specified" %} | ||
345 | 165 | {% endif %} | ||
346 | 166 | </td> | ||
347 | 167 | </tr> | ||
348 | 168 | </table> | ||
349 | 161 | </article> | 169 | </article> |
350 | 162 | 170 | ||
351 | 163 | <article class="minor-content"> | 171 | <article class="minor-content"> |
353 | 164 | <img id="locobranding" src="{{ team.mugshot_url }}" alt="" title="{{ team.name }}"/> | 172 | <img id="locobranding" src="{{ team.mugshot_url }}" alt="" title="{{ team.name }}" /> |
354 | 165 | </article> | 173 | </article> |
355 | 166 | 174 | ||
356 | 167 | {% if team.flickr_id %} | 175 | {% if team.flickr_id %} |
357 | 168 | <article class="minor-content alone" style="width:95%;"> | 176 | <article class="minor-content alone" style="width:95%;"> |
360 | 169 | <h2>{% trans "Photos from" %} {{ team.name }}</a></h2> | 177 | <h2>{% trans "Photos from" %} {{ team.name }}</a></h2> |
361 | 170 | <div style="width:100%;" id="flickr"> </div> | 178 | <div style="width:100%;" id="flickr"> </div> |
362 | 171 | </article> | 179 | </article> |
363 | 172 | {% endif %} | 180 | {% endif %} |
364 | 173 | 181 | ||
365 | 174 | |||
366 | 175 | |||
367 | 176 | {% endblock %} | 182 | {% endblock %} |