Merge lp:~cjohnston/loco-team-portal/front-page into lp:loco-team-portal
- front-page
- Merge into 0.2
Proposed by
Chris Johnston
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 250 | ||||||||
Proposed branch: | lp:~cjohnston/loco-team-portal/front-page | ||||||||
Merge into: | lp:loco-team-portal | ||||||||
Diff against target: |
614 lines (+275/-123) 8 files modified
loco_directory/common/views.py (+10/-0) loco_directory/locale/loco-directory.pot (+145/-62) loco_directory/templates/about_loco.html (+29/-0) loco_directory/templates/base.html (+2/-2) loco_directory/templates/events/global_event_detail.inc.html (+1/-1) loco_directory/templates/index.html (+56/-58) loco_directory/templates/using_locodir.html (+30/-0) loco_directory/urls.py (+2/-0) |
||||||||
To merge this branch: | bzr merge lp:~cjohnston/loco-team-portal/front-page | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holbach (community) | Needs Fixing | ||
Review via email: mp+33180@code.launchpad.net |
Commit message
Description of the change
Makes UI changes to the front page, adds an "About LoCo Teams" page with information about LoCo Teams, adds a "Using LoCo Team Directory" page with info about LoCo Dir, fixes bug #620850 and bug #610498, plus updates translation file.
To post a comment you must log in.
- 251. By Chris Johnston
-
Addresses concerns in merge request.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'loco_directory/common/views.py' |
2 | --- loco_directory/common/views.py 2010-08-18 14:31:48 +0000 |
3 | +++ loco_directory/common/views.py 2010-08-20 10:01:40 +0000 |
4 | @@ -26,6 +26,16 @@ |
5 | return render_to_response('about.html', context, |
6 | RequestContext(request)) |
7 | |
8 | +def about_loco(request): |
9 | + context = {} |
10 | + return render_to_response('about_loco.html', context, |
11 | + RequestContext(request)) |
12 | + |
13 | +def using_locodir(request): |
14 | + context = {} |
15 | + return render_to_response('using_locodir.html', context, |
16 | + RequestContext(request)) |
17 | + |
18 | def site_logout(request): |
19 | logout(request) |
20 | return HttpResponseRedirect('/') |
21 | |
22 | === modified file 'loco_directory/locale/loco-directory.pot' |
23 | --- loco_directory/locale/loco-directory.pot 2010-08-17 15:11:07 +0000 |
24 | +++ loco_directory/locale/loco-directory.pot 2010-08-20 10:01:40 +0000 |
25 | @@ -8,10 +8,11 @@ |
26 | msgstr "" |
27 | "Project-Id-Version: PACKAGE VERSION\n" |
28 | "Report-Msgid-Bugs-To: \n" |
29 | -"POT-Creation-Date: 2010-08-17 15:10+0000\n" |
30 | +"POT-Creation-Date: 2010-08-20 09:57+0000\n" |
31 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
32 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
33 | "Language-Team: LANGUAGE <LL@li.org>\n" |
34 | +"Language: \n" |
35 | "MIME-Version: 1.0\n" |
36 | "Content-Type: text/plain; charset=UTF-8\n" |
37 | "Content-Transfer-Encoding: 8bit\n" |
38 | @@ -306,7 +307,8 @@ |
39 | msgstr "" |
40 | |
41 | #: templates/404.html:4 templates/500.html:4 templates/about.html:4 |
42 | -#: templates/base.html:4 templates/index.html:14 templates/loco_council.html:4 |
43 | +#: templates/about_loco.html:4 templates/base.html:4 |
44 | +#: templates/loco_council.html:4 templates/using_locodir.html:4 |
45 | msgid "Ubuntu LoCo Team Directory" |
46 | msgstr "" |
47 | |
48 | @@ -449,6 +451,72 @@ |
49 | msgid "Future additions to this site will include:" |
50 | msgstr "" |
51 | |
52 | +#: templates/about_loco.html:4 templates/about_loco.html.py:11 |
53 | +#: templates/index.html:5 |
54 | +msgid "About Local Community (LoCo) Teams" |
55 | +msgstr "" |
56 | + |
57 | +#: templates/about_loco.html:12 |
58 | +msgid "" |
59 | +"With the incredible success of Ubuntu around the world, the LoCo project is " |
60 | +"here to help groups of Ubuntu fans and enthusiasts work together in regional " |
61 | +"teams to help advocate, promote, translate, develop and otherwise improve " |
62 | +"Ubuntu. Our worldwide network of LoCo teams is providing a strong backbone " |
63 | +"to our already vast and extensive Ubuntu community. Why not go and see the" |
64 | +msgstr "" |
65 | + |
66 | +#: templates/about_loco.html:12 templates/about_loco.html.py:18 |
67 | +msgid "See All LoCo Teams" |
68 | +msgstr "" |
69 | + |
70 | +#: templates/about_loco.html:12 |
71 | +msgid "full list of teams!" |
72 | +msgstr "" |
73 | + |
74 | +#: templates/about_loco.html:16 |
75 | +msgid "Joining a LoCo Team" |
76 | +msgstr "" |
77 | + |
78 | +#: templates/about_loco.html:18 |
79 | +msgid "Do you want to join a LoCo Team? It's easy! Just " |
80 | +msgstr "" |
81 | + |
82 | +#: templates/about_loco.html:18 |
83 | +msgid "find a team" |
84 | +msgstr "" |
85 | + |
86 | +#: templates/about_loco.html:18 |
87 | +msgid "" |
88 | +"in your area and click the 'Join This Team!' link at the top of their page." |
89 | +msgstr "" |
90 | + |
91 | +#: templates/about_loco.html:19 |
92 | +msgid "" |
93 | +"If you are not able to find a LoCo Team in your area and want to create one, " |
94 | +"take a look at the " |
95 | +msgstr "" |
96 | + |
97 | +#: templates/about_loco.html:19 |
98 | +msgid "LoCo Team HowTo" |
99 | +msgstr "" |
100 | + |
101 | +#: templates/about_loco.html:19 |
102 | +msgid " for more information on setting up a LoCo Team." |
103 | +msgstr "" |
104 | + |
105 | +#: templates/about_loco.html:24 |
106 | +msgid "Why Local Teams?" |
107 | +msgstr "" |
108 | + |
109 | +#: templates/about_loco.html:25 |
110 | +msgid "" |
111 | +"Ever since the birth of computers, enthusiasts and fans around the world " |
112 | +"have collected together in garages, universities and pubs to talk about " |
113 | +"their interest, learn from each other and help promote their interest. " |
114 | +"Combine this with the huge popularity of Ubuntu, and you have the Ubuntu " |
115 | +"LoCo project." |
116 | +msgstr "" |
117 | + |
118 | #: templates/base.html:6 |
119 | msgid "LoCo Team Directory" |
120 | msgstr "" |
121 | @@ -457,7 +525,7 @@ |
122 | msgid "Show All Teams" |
123 | msgstr "" |
124 | |
125 | -#: templates/base.html:13 templates/index.html:16 |
126 | +#: templates/base.html:13 templates/using_locodir.html:16 |
127 | #: templates/events/team_event_list.inc.html:8 |
128 | msgid "Teams" |
129 | msgstr "" |
130 | @@ -466,7 +534,7 @@ |
131 | msgid "Show All Events" |
132 | msgstr "" |
133 | |
134 | -#: templates/base.html:14 templates/index.html:52 |
135 | +#: templates/base.html:14 templates/using_locodir.html:21 |
136 | msgid "Events" |
137 | msgstr "" |
138 | |
139 | @@ -475,11 +543,11 @@ |
140 | msgstr "" |
141 | |
142 | #: templates/base.html:16 |
143 | -msgid "About LoCo Directory" |
144 | +msgid "About LoCo Teams" |
145 | msgstr "" |
146 | |
147 | #: templates/base.html:16 |
148 | -msgid "About" |
149 | +msgid "About LoCos" |
150 | msgstr "" |
151 | |
152 | #: templates/base.html:18 |
153 | @@ -487,7 +555,7 @@ |
154 | msgstr "" |
155 | |
156 | #: templates/base.html:20 |
157 | -msgid "Log in" |
158 | +msgid "Log In" |
159 | msgstr "" |
160 | |
161 | #: templates/base.html:43 |
162 | @@ -502,52 +570,39 @@ |
163 | msgid "LoCo Directory" |
164 | msgstr "" |
165 | |
166 | -#: templates/index.html:16 |
167 | -msgid "Show all Teams" |
168 | -msgstr "" |
169 | - |
170 | -#: templates/index.html:18 |
171 | -msgid "" |
172 | -"List of all Ubuntu LoCo Teams, with full information such as contact, web " |
173 | -"pages, mailing list, and more." |
174 | -msgstr "" |
175 | - |
176 | -#: templates/index.html:19 |
177 | -msgid "" |
178 | -"If there are no teams in your country/region/area, you will be able to add a " |
179 | -"team in the near future." |
180 | -msgstr "" |
181 | - |
182 | -#: templates/index.html:20 |
183 | -msgid "Select your continent below to find an Ubuntu LoCo Team near you." |
184 | -msgstr "" |
185 | - |
186 | -#: templates/index.html:52 |
187 | +#: templates/index.html:6 templates/using_locodir.html:4 |
188 | +#: templates/using_locodir.html.py:11 |
189 | +msgid "Using the LoCo Team Directory" |
190 | +msgstr "" |
191 | + |
192 | +#: templates/index.html:17 |
193 | +msgid "Ubuntu Local Community (LoCo) Team Directory" |
194 | +msgstr "" |
195 | + |
196 | +#: templates/index.html:46 |
197 | +msgid "Click on your continent to find teams near you." |
198 | +msgstr "" |
199 | + |
200 | +#: templates/index.html:53 |
201 | msgid "Show all Events" |
202 | msgstr "" |
203 | |
204 | -#: templates/index.html:53 |
205 | -msgid "" |
206 | -"List of all Ubuntu LoCo Events, with full information such as location, " |
207 | -"attendees, teams, and more." |
208 | -msgstr "" |
209 | - |
210 | -#: templates/index.html:54 |
211 | -msgid "Upcoming Global Events" |
212 | -msgstr "" |
213 | - |
214 | -#: templates/index.html:57 templates/events/event_list.html:29 |
215 | +#: templates/index.html:53 templates/teams/team_event_history.html:8 |
216 | +msgid "Upcoming Events" |
217 | +msgstr "" |
218 | + |
219 | +#: templates/index.html:56 |
220 | +msgid "Global Events" |
221 | +msgstr "" |
222 | + |
223 | +#: templates/index.html:58 templates/events/event_list.html:29 |
224 | msgid "Global Events as ical" |
225 | msgstr "" |
226 | |
227 | -#: templates/index.html:59 templates/events/event_list.html:31 |
228 | +#: templates/index.html:60 templates/events/event_list.html:31 |
229 | msgid "Select a global event below to see more information about it:" |
230 | msgstr "" |
231 | |
232 | -#: templates/index.html:64 templates/events/event_list.html:36 |
233 | -msgid "There are currently no LoCo Global Events" |
234 | -msgstr "" |
235 | - |
236 | #: templates/index.html:69 |
237 | msgid "Upcoming Team Events" |
238 | msgstr "" |
239 | @@ -556,11 +611,7 @@ |
240 | msgid "Team Events as ical" |
241 | msgstr "" |
242 | |
243 | -#: templates/index.html:73 templates/events/event_list.html:52 |
244 | -msgid "There are currently no LoCo Team Events" |
245 | -msgstr "" |
246 | - |
247 | -#: templates/index.html:78 templates/events/global_event_detail.inc.html:11 |
248 | +#: templates/index.html:76 templates/events/global_event_detail.inc.html:11 |
249 | msgid "Microblogging" |
250 | msgstr "" |
251 | |
252 | @@ -649,6 +700,38 @@ |
253 | "You can reach the council via email at loco-council at lists.ubuntu.com." |
254 | msgstr "" |
255 | |
256 | +#: templates/using_locodir.html:12 |
257 | +msgid "" |
258 | +"The LoCo Team Directory is an excellent resource for LoCo Teams to use when " |
259 | +"planning events. The LoCo Team Directory allows users to set up events and " |
260 | +"venues for their LoCo Team, and then allow users to register their " |
261 | +"attendance to the event. This makes planning and tracking much easier for " |
262 | +"users." |
263 | +msgstr "" |
264 | + |
265 | +#: templates/using_locodir.html:17 |
266 | +msgid "" |
267 | +"All LoCo Teams registered in Launchpad are a part of the LoCo Team " |
268 | +"Directory. Team members can create events and venues for their LoCo Team." |
269 | +msgstr "" |
270 | + |
271 | +#: templates/using_locodir.html:22 |
272 | +msgid "" |
273 | +"A LoCo Team member can create an event, and then other members can register " |
274 | +"their attendance to the event and make comments to the event." |
275 | +msgstr "" |
276 | + |
277 | +#: templates/using_locodir.html:26 templates/events/event_list.html:7 |
278 | +msgid "Venues" |
279 | +msgstr "" |
280 | + |
281 | +#: templates/using_locodir.html:27 |
282 | +msgid "" |
283 | +"Creating a venue in the LoCo Team Directory will provide other users with " |
284 | +"information about where an event is being held, and any other information " |
285 | +"that the users might need to know about the events location." |
286 | +msgstr "" |
287 | + |
288 | #: templates/events/event_history_list.html:4 |
289 | msgid "Ubuntu LoCo Events History" |
290 | msgstr "" |
291 | @@ -691,10 +774,6 @@ |
292 | msgid "Show All Venues" |
293 | msgstr "" |
294 | |
295 | -#: templates/events/event_list.html:7 |
296 | -msgid "Venues" |
297 | -msgstr "" |
298 | - |
299 | #: templates/events/event_list.html:9 |
300 | msgid "Add Global Event" |
301 | msgstr "" |
302 | @@ -712,6 +791,10 @@ |
303 | msgid "Ubuntu LoCo Global Events" |
304 | msgstr "" |
305 | |
306 | +#: templates/events/event_list.html:36 |
307 | +msgid "There are currently no LoCo Global Events" |
308 | +msgstr "" |
309 | + |
310 | #: templates/events/event_list.html:43 |
311 | msgid "Ubuntu LoCo Team Events" |
312 | msgstr "" |
313 | @@ -722,6 +805,10 @@ |
314 | msgid "Select a team event below to see more information about it:" |
315 | msgstr "" |
316 | |
317 | +#: templates/events/event_list.html:52 |
318 | +msgid "There are currently no LoCo Team Events" |
319 | +msgstr "" |
320 | + |
321 | #: templates/events/global_event_delete_confirm.html:4 |
322 | msgid "Delete Global Event" |
323 | msgstr "" |
324 | @@ -757,20 +844,20 @@ |
325 | |
326 | #: templates/events/global_event_detail.inc.html:20 |
327 | #, python-format |
328 | -msgid "Attending Team Events (%(team_count)s)" |
329 | +msgid "Participating Team Events (%(team_count)s)" |
330 | msgstr "" |
331 | |
332 | #: templates/events/global_event_detail_attending_teamevents.inc.html:11 |
333 | -#: templates/events/global_event_detail_attending_teamevents.inc.html:26 |
334 | -#: templates/events/global_event_detail_attending_teamevents.inc.html:39 |
335 | +#: templates/events/global_event_detail_attending_teamevents.inc.html:27 |
336 | +#: templates/events/global_event_detail_attending_teamevents.inc.html:41 |
337 | msgid "More Information about Team Event" |
338 | msgstr "" |
339 | |
340 | -#: templates/events/global_event_detail_attending_teamevents.inc.html:20 |
341 | +#: templates/events/global_event_detail_attending_teamevents.inc.html:21 |
342 | msgid "Events in countries without continents" |
343 | msgstr "" |
344 | |
345 | -#: templates/events/global_event_detail_attending_teamevents.inc.html:35 |
346 | +#: templates/events/global_event_detail_attending_teamevents.inc.html:37 |
347 | msgid "Events without venue" |
348 | msgstr "" |
349 | |
350 | @@ -1113,10 +1200,6 @@ |
351 | msgid "Back to Team Details" |
352 | msgstr "" |
353 | |
354 | -#: templates/teams/team_event_history.html:8 |
355 | -msgid "Upcoming Events" |
356 | -msgstr "" |
357 | - |
358 | #: templates/teams/team_event_history.html:23 |
359 | #, python-format |
360 | msgid "There are no past events for LoCo Team %(teamname)s :(" |
361 | |
362 | === added file 'loco_directory/templates/about_loco.html' |
363 | --- loco_directory/templates/about_loco.html 1970-01-01 00:00:00 +0000 |
364 | +++ loco_directory/templates/about_loco.html 2010-08-20 10:01:40 +0000 |
365 | @@ -0,0 +1,29 @@ |
366 | +{% extends "base.html" %} |
367 | +{% load i18n %} |
368 | + |
369 | +{% block title %} {% trans "About Local Community (LoCo) Teams" %} | {% trans "Ubuntu LoCo Team Directory" %} {% endblock %} |
370 | + |
371 | +{% block sub_nav %}{% endblock %} |
372 | + |
373 | +{% block content %} |
374 | + |
375 | +<article class="main-content"> |
376 | + <h2>{% trans "About Local Community (LoCo) Teams" %}</h2> |
377 | + <p>{% trans "With the incredible success of Ubuntu around the world, the LoCo project is here to help groups of Ubuntu fans and enthusiasts work together in regional teams to help advocate, promote, translate, develop and otherwise improve Ubuntu. Our worldwide network of LoCo teams is providing a strong backbone to our already vast and extensive Ubuntu community. Why not go and see the" %} <a title="{% trans "See All LoCo Teams" %}" href="{% url team-list %}">{% trans "full list of teams!" %}</a></p> |
378 | +</article> |
379 | + |
380 | +<article class="main-content"> |
381 | + <h3>{% trans "Joining a LoCo Team" %}</h3> |
382 | + <ul> |
383 | + <li>{% trans "Do you want to join a LoCo Team? It's easy! Just " %}<a title="{% trans "See All LoCo Teams" %}" href="{% url team-list %}">{% trans "find a team" %}</a> {% trans "in your area and click the 'Join This Team!' link at the top of their page." %}</ul> |
384 | + <li>{% trans "If you are not able to find a LoCo Team in your area and want to create one, take a look at the " %}<a href="https://wiki.ubuntu.com/LoCoTeamHowto" title="{% trans "LoCo Team HowTo" %}">{% trans "LoCo Team HowTo" %}</a>{% trans " for more information on setting up a LoCo Team." %}</ul> |
385 | + </ul> |
386 | +</article> |
387 | + |
388 | +<article class="main-content"> |
389 | + <h3>{% trans "Why Local Teams?" %}</h3> |
390 | + <p>{% trans "Ever since the birth of computers, enthusiasts and fans around the world have collected together in garages, universities and pubs to talk about their interest, learn from each other and help promote their interest. Combine this with the huge popularity of Ubuntu, and you have the Ubuntu LoCo project." %}</p> |
391 | +</article> |
392 | + |
393 | + |
394 | +{% endblock %} |
395 | |
396 | === modified file 'loco_directory/templates/base.html' |
397 | --- loco_directory/templates/base.html 2010-08-18 14:54:25 +0000 |
398 | +++ loco_directory/templates/base.html 2010-08-20 10:01:40 +0000 |
399 | @@ -13,11 +13,11 @@ |
400 | <a class="main-nav-item {% ifequal url_base 'teams' %}current{% endifequal %}" title="{% trans "Show All Teams" %}" href="{% url team-list %}">{% trans "Teams" %}</a> |
401 | <a class="main-nav-item {% ifequal url_base 'events' %}current{% endifequal %}" title="{% trans "Show All Events" %}" href="{% url event-list %}">{% trans "Events" %}</a> |
402 | <a class="main-nav-item {% ifequal url_base 'loco-council' %}current{% endifequal %}" title="{% trans "LoCo Council" %}" href="{% url loco_council %}">{% trans "LoCo Council" %}</a> |
403 | - <a class="main-nav-item {% ifequal url_base 'about' %}current{% endifequal %}" title="{% trans "About LoCo Directory" %}" href="/about">{% trans "About" %}</a></li> |
404 | + <a class="main-nav-item {% ifequal url_base 'about-loco' %}current{% endifequal %}" title="{% trans "About LoCo Teams" %}" href="{% url about_loco %}">{% trans "About LoCos" %}</a></li> |
405 | {% if user.is_authenticated %} |
406 | <a class="main-nav-item" href="/logout" title="{% trans "Log Out" %}: {{ user.username }}">{% trans "Log Out" %}</a> |
407 | {% else %} |
408 | - <a class="main-nav-item" href="/openid/login?next={{login_next}}">{% trans "Log in" %}</a> |
409 | + <a class="main-nav-item" href="/openid/login?next={{login_next}}" title="{% trans "Log In" %}">{% trans "Log In" %}</a> |
410 | {% endif %} |
411 | {% endblock %} |
412 | |
413 | |
414 | === modified file 'loco_directory/templates/events/global_event_detail.inc.html' |
415 | --- loco_directory/templates/events/global_event_detail.inc.html 2010-08-17 01:55:04 +0000 |
416 | +++ loco_directory/templates/events/global_event_detail.inc.html 2010-08-20 10:01:40 +0000 |
417 | @@ -17,7 +17,7 @@ |
418 | |
419 | {% if global_event_object.teamevent_set.all %} |
420 | <article id="global-event-attending" class="main-content alone"> |
421 | -<h2>{% blocktrans with global_event_object.teamevent_set.all.count as team_count %}Attending Team Events ({{team_count}}){% endblocktrans %}</h2> |
422 | +<h2>{% blocktrans with global_event_object.teamevent_set.all.count as team_count %}Participating Team Events ({{team_count}}){% endblocktrans %}</h2> |
423 | <br /> |
424 | {% include "events/global_event_detail_attending_teamevents.inc.html" %} |
425 | </article> |
426 | |
427 | === modified file 'loco_directory/templates/index.html' |
428 | --- loco_directory/templates/index.html 2010-08-18 14:31:48 +0000 |
429 | +++ loco_directory/templates/index.html 2010-08-20 10:01:40 +0000 |
430 | @@ -1,7 +1,10 @@ |
431 | {% extends "base.html" %} |
432 | {% load i18n %} |
433 | |
434 | -{% block sub_nav %}{% endblock %} |
435 | +{% block sub_nav_links %} |
436 | +<a class="sub-nav-item" href="{% url about_loco %}">{% trans "About Local Community (LoCo) Teams" %}</a> |
437 | +<a class="sub-nav-item" href="{% url using_locodir %}">{% trans "Using the LoCo Team Directory" %}</a> |
438 | +{% endblock %} |
439 | |
440 | {% block extrahead %} |
441 | {{block.super}} |
442 | @@ -11,72 +14,67 @@ |
443 | |
444 | {% block content %} |
445 | |
446 | - <h1>{% trans "Ubuntu LoCo Team Directory" %}</h1> |
447 | - <article class="main-content"> |
448 | - <h2><a title="{% trans "Show all Teams" %}" href="{% url team-list %}">{% trans "Teams" %}</a></h2> |
449 | - <p> |
450 | - {% trans "List of all Ubuntu LoCo Teams, with full information such as contact, web pages, mailing list, and more." %} |
451 | - {% trans "If there are no teams in your country/region/area, you will be able to add a team in the near future." %} |
452 | - {% trans "Select your continent below to find an Ubuntu LoCo Team near you." %} |
453 | - </p> |
454 | - <ul id="continents"> |
455 | - <li id="northamerica"> |
456 | - <a href="{% url team-list %}#North%20America"> |
457 | - </a> |
458 | - </li> |
459 | - <li id="southamerica"> |
460 | - <a href="{% url team-list %}#South%20America"> |
461 | - </a> |
462 | - </li> |
463 | - <li id="asia"> |
464 | - <a href="{% url team-list %}#Asia"> |
465 | - </a> |
466 | - </li> |
467 | - <li id="australia"> |
468 | - <a href="{% url team-list %}#Australia"> |
469 | - </a> |
470 | - </li> |
471 | - <li id="africa"> |
472 | - <a href="{% url team-list %}#Africa"> |
473 | - </a> |
474 | - </li> |
475 | - <li id="europe"> |
476 | - <a href="{% url team-list %}#Europe"> |
477 | - </a> |
478 | - </li> |
479 | - </ul> |
480 | - </article> |
481 | - <hr class="divide" /> |
482 | - |
483 | - <article class="minor-content"> |
484 | - <h2><a title="{% trans "Show all Events" %}" href="{% url event-list %}">{% trans "Events" %}</a></h2> |
485 | - <p>{% trans "List of all Ubuntu LoCo Events, with full information such as location, attendees, teams, and more." %}</p> |
486 | - <h3>{% trans "Upcoming Global Events" %} |
487 | - {% if global_event_list %} |
488 | +<h1>{% trans "Ubuntu Local Community (LoCo) Team Directory" %}</h1> |
489 | + <article class="main-content"> |
490 | + <ul id="continents"> |
491 | + <li id="northamerica"> |
492 | + <a href="{% url team-list %}#North%20America"> |
493 | + </a> |
494 | + </li> |
495 | + <li id="southamerica"> |
496 | + <a href="{% url team-list %}#South%20America"> |
497 | + </a> |
498 | + </li> |
499 | + <li id="asia"> |
500 | + <a href="{% url team-list %}#Asia"> |
501 | + </a> |
502 | + </li> |
503 | + <li id="australia"> |
504 | + <a href="{% url team-list %}#Australia"> |
505 | + </a> |
506 | + </li> |
507 | + <li id="africa"> |
508 | + <a href="{% url team-list %}#Africa"> |
509 | + </a> |
510 | + </li> |
511 | + <li id="europe"> |
512 | + <a href="{% url team-list %}#Europe"> |
513 | + </a> |
514 | + </li> |
515 | + </ul> |
516 | + <br /> |
517 | + <p style="text-align: center; font-weight: bold;">{% trans "Click on your continent to find teams near you." %}</p> |
518 | +</article> |
519 | + |
520 | +<hr class="divide" /> |
521 | +<br /> |
522 | + |
523 | +<article class="minor-content"> |
524 | + <h2><a title="{% trans "Show all Events" %}" href="{% url event-list %}">{% trans "Upcoming Events" %}</a></h2> |
525 | + <br /> |
526 | + {% if global_event_list %} |
527 | + <h3>{% trans "Global Events" %} |
528 | <a class="global_event_ical" href="{% url global-event-list-ical %}"> |
529 | <img src="/media/images/ical.png" title="{% trans "Global Events as ical" %}"/></a></h3> |
530 | |
531 | <p>{% trans "Select a global event below to see more information about it:" %}</p> |
532 | |
533 | {% include "events/global_event_list.inc.html" %} |
534 | - |
535 | - {% else %} |
536 | - </h3><p>{% trans "There are currently no LoCo Global Events" %}</p> |
537 | - {% endif %} |
538 | - |
539 | - <br /> |
540 | - {% if team_event_count %} |
541 | + |
542 | + {% endif %} |
543 | + |
544 | + <br /> |
545 | + |
546 | + {% if team_event_count %} |
547 | <h3><a href="{% url event-list %}">{{ team_event_count }} {% trans "Upcoming Team Events" %}</a> |
548 | <a class="teams_event_ical" href="{% url teams-event-list-ical %}"> |
549 | <img src="/media/images/ical.png" title="{% trans "Team Events as ical" %}"/></a></h3> |
550 | - {% else %} |
551 | - <p>{% trans "There are currently no LoCo Team Events" %}</p> |
552 | - {% endif %} |
553 | - </article> |
554 | + {% endif %} |
555 | +</article> |
556 | |
557 | - <article class="minor-content alone"> |
558 | - <h2>{% trans "Microblogging" %} #locoteams</h2> |
559 | - <p><script src="{{MEDIA_URL}}js/twidenash.js?locoteams"></script></p> |
560 | - </article> |
561 | +<article class="minor-content alone"> |
562 | + <h2>{% trans "Microblogging" %} #locoteams</h2> |
563 | + <p><script src="{{MEDIA_URL}}js/twidenash.js?locoteams"></script></p> |
564 | +</article> |
565 | |
566 | {% endblock %} |
567 | |
568 | === added file 'loco_directory/templates/using_locodir.html' |
569 | --- loco_directory/templates/using_locodir.html 1970-01-01 00:00:00 +0000 |
570 | +++ loco_directory/templates/using_locodir.html 2010-08-20 10:01:40 +0000 |
571 | @@ -0,0 +1,30 @@ |
572 | +{% extends "base.html" %} |
573 | +{% load i18n %} |
574 | + |
575 | +{% block title %} {% trans "Using the LoCo Team Directory" %} | {% trans "Ubuntu LoCo Team Directory" %} {% endblock %} |
576 | + |
577 | +{% block sub_nav %}{% endblock %} |
578 | + |
579 | +{% block content %} |
580 | + |
581 | +<article class="main-content"> |
582 | + <h2>{% trans "Using the LoCo Team Directory" %}</h2> |
583 | + <p>{% trans "The LoCo Team Directory is an excellent resource for LoCo Teams to use when planning events. The LoCo Team Directory allows users to set up events and venues for their LoCo Team, and then allow users to register their attendance to the event. This makes planning and tracking much easier for users." %}</p> |
584 | +</article> |
585 | + |
586 | +<article class="main-content"> |
587 | + <h3>{% trans "Teams" %}</h3> |
588 | + <p>{% trans "All LoCo Teams registered in Launchpad are a part of the LoCo Team Directory. Team members can create events and venues for their LoCo Team." %}</p> |
589 | +</article> |
590 | + |
591 | +<article class="main-content"> |
592 | + <h3>{% trans "Events" %}</h3> |
593 | + <p>{% trans "A LoCo Team member can create an event, and then other members can register their attendance to the event and make comments to the event." %}</p> |
594 | +</article> |
595 | + |
596 | +<article class="main-content"> |
597 | + <h3>{% trans "Venues" %}</h3> |
598 | + <p>{% trans "Creating a venue in the LoCo Team Directory will provide other users with information about where an event is being held, and any other information that the users might need to know about the events location." %}</p> |
599 | +</article> |
600 | + |
601 | +{% endblock %} |
602 | |
603 | === modified file 'loco_directory/urls.py' |
604 | --- loco_directory/urls.py 2010-08-17 00:30:44 +0000 |
605 | +++ loco_directory/urls.py 2010-08-20 10:01:40 +0000 |
606 | @@ -9,6 +9,8 @@ |
607 | url(r'^$', 'common.views.index', name='home'), |
608 | url(r'^language/', 'common.views.set_language', name='set_language'), |
609 | url(r'^about/$', 'common.views.about', name='about'), |
610 | + url(r'^about-loco/$', 'common.views.about_loco', name='about_loco'), |
611 | + url(r'^using-locodir/$', 'common.views.using_locodir', name='using_locodir'), |
612 | url(r'^openid/', include('django_openid_auth.urls')), |
613 | url(r'^admin/(.*)', admin.site.root), |
614 | url(r'^data/xml', 'teams.views.xml_team_data', name='xml_team_data'), |
- LoCo's → LoCos
- please let's not mention teams explicitly, it's unfair to those who are not listed. it's easier to say "we're spread across all continents, there's city teams, country teams, teams that work across country borders, etc. etc …"
- is RSVP a verb?