Merge lp:~cjohnston/loco-team-portal/theme-update into lp:loco-team-portal

Proposed by Chris Johnston
Status: Merged
Approved by: Adnane Belmadiaf
Approved revision: 535
Merged at revision: 533
Proposed branch: lp:~cjohnston/loco-team-portal/theme-update
Merge into: lp:loco-team-portal
Diff against target: 3593 lines (+1191/-1113)
58 files modified
loco_directory/media/css/newstyle.css (+0/-696)
loco_directory/media/css/styles.css (+683/-0)
loco_directory/settings.py (+2/-2)
loco_directory/templates/404.html (+4/-4)
loco_directory/templates/500.html (+4/-3)
loco_directory/templates/about.html (+15/-14)
loco_directory/templates/about_loco.html (+10/-7)
loco_directory/templates/base.html (+34/-30)
loco_directory/templates/events/event_history_list.html (+10/-8)
loco_directory/templates/events/event_list.html (+16/-14)
loco_directory/templates/events/global_event_delete_confirm.html (+5/-3)
loco_directory/templates/events/global_event_detail.html (+4/-4)
loco_directory/templates/events/global_event_detail.inc.html (+10/-6)
loco_directory/templates/events/global_event_new.html (+5/-3)
loco_directory/templates/events/global_event_update.html (+5/-3)
loco_directory/templates/events/global_jam_dashboard.html (+91/-93)
loco_directory/templates/events/team_event_comment_new.html (+4/-4)
loco_directory/templates/events/team_event_delete_confirm.html (+5/-3)
loco_directory/templates/events/team_event_detail.html (+6/-6)
loco_directory/templates/events/team_event_detail.inc.html (+10/-7)
loco_directory/templates/events/team_event_list.inc.html (+1/-1)
loco_directory/templates/events/team_event_new.html (+5/-3)
loco_directory/templates/events/team_event_new_select.html (+4/-2)
loco_directory/templates/events/team_event_register.html (+5/-3)
loco_directory/templates/events/team_event_update.html (+5/-3)
loco_directory/templates/index.html (+11/-15)
loco_directory/templates/irc_chat.html (+6/-5)
loco_directory/templates/loco_council.html (+4/-4)
loco_directory/templates/loco_setup.html (+10/-8)
loco_directory/templates/login_failure.html (+3/-2)
loco_directory/templates/meetings/agenda_item_delete_confirm.html (+6/-4)
loco_directory/templates/meetings/agenda_item_new.html (+6/-4)
loco_directory/templates/meetings/agenda_item_update.html (+7/-5)
loco_directory/templates/meetings/meeting_history_list.html (+5/-4)
loco_directory/templates/meetings/meeting_list.html (+6/-4)
loco_directory/templates/meetings/team_meeting_delete_confirm.html (+5/-3)
loco_directory/templates/meetings/team_meeting_detail.html (+5/-5)
loco_directory/templates/meetings/team_meeting_detail.inc.html (+12/-6)
loco_directory/templates/meetings/team_meeting_new.html (+5/-3)
loco_directory/templates/meetings/team_meeting_new_select.html (+4/-2)
loco_directory/templates/meetings/team_meeting_update.html (+5/-3)
loco_directory/templates/site_search.html (+18/-12)
loco_directory/templates/teams/merge_teams.html (+4/-4)
loco_directory/templates/teams/my_teams.html (+8/-7)
loco_directory/templates/teams/select_other_team.html (+4/-3)
loco_directory/templates/teams/team_detail.html (+14/-16)
loco_directory/templates/teams/team_event_history.html (+6/-5)
loco_directory/templates/teams/team_event_list.html (+8/-8)
loco_directory/templates/teams/team_list.html (+16/-9)
loco_directory/templates/teams/team_meeting_history.html (+6/-4)
loco_directory/templates/teams/team_meeting_list.html (+7/-5)
loco_directory/templates/teams/team_reapprovals.html (+11/-13)
loco_directory/templates/teams/team_update.html (+9/-6)
loco_directory/templates/using_locodir.html (+16/-8)
loco_directory/templates/venues/venue_detail.html (+5/-3)
loco_directory/templates/venues/venue_detail.inc.html (+6/-4)
loco_directory/templates/venues/venue_list.html (+5/-4)
loco_directory/templates/venues/venue_update.html (+5/-3)
To merge this branch: bzr merge lp:~cjohnston/loco-team-portal/theme-update
Reviewer Review Type Date Requested Status
Adnane Belmadiaf Approve
Review via email: mp+108713@code.launchpad.net

Commit message

Updates LTP to use the new branding guidelines

To post a comment you must log in.
Revision history for this message
Adnane Belmadiaf (daker) wrote :

1- index.html : remove <hr class="divide" />
2- Replace .current css class with .active in the nav-primary & nav-secondary divs
3- /events/venues/add/ has a big blank at the bottom
4- /events/history/ :
  * Remove <hr class="divide" />
  * The second table is getting outside the page
5- The nav-secondary links should be #333
6- The form title is getting outside the div
7- /teams/<lp_id>/ seems to be a bit broken

review: Needs Fixing
Revision history for this message
Chris Johnston (cjohnston) wrote :

1- Done
2- Done.. Still doesn't work.. Secondary div's don't need active because the
3- This is because of: <section class="minor-content alone venue-map" id="venue-map-selector" title="Select venue position">&nbsp;</section>

I don't really know what to do

4- a. done b. hmm... not quite sure what to do.. There is a bunch of data that is causing it to run over
5- it is... core.css
6- done
7- this will need some help.. not sure what to do as I'm not a CSS person.

Revision history for this message
Adnane Belmadiaf (daker) wrote :

Move the the active class <li id="main-nav" class="active">
Replace :
  <script src="/ubuntu-website/media/js/modernizr.min.js"></script>
  <script src="//code.jquery.com/jquery-1.7.2.min.js"></script>
with:
  <script type="text/javascript" src="/ubuntu-website/media/js/modernizr.min.js"></script>
  <script type="text/javascript" src="//code.jquery.com/jquery-1.7.2.min.js"></script>
Two jQuery versions are called on the same page (hosted one/local one).

review: Needs Fixing
532. By Adnane Belmadiaf

* Merged Robert's fix for filtering events

Revision history for this message
Chris Johnston (cjohnston) wrote :

The li is done, the jquery is in lp:ubuntu-community-webthemes/light-django-theme and needs to be updated there

533. By Chris Johnston

Updates menu li

534. By Chris Johnston

further corrections

535. By Chris Johnston

update url for styles

Revision history for this message
Adnane Belmadiaf (daker) wrote :

Looks good to me but we still need to fix some issues.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== removed file 'loco_directory/media/css/newstyle.css'
--- loco_directory/media/css/newstyle.css 2012-06-10 19:08:39 +0000
+++ loco_directory/media/css/newstyle.css 1970-01-01 00:00:00 +0000
@@ -1,696 +0,0 @@
1/*
2 * newstyle.css
3 *
4 * Base style for the LoCo Team Portal. This is an implementation
5 * of the ( at the time of this writing ) new Ubuntu branding.
6 *
7 * Author: Michael Hall ( mhall119 )
8 * Author: Paul Tagliamonte ( paultag )
9 */
10
11h1.centered {
12 text-align: center;
13}
14
15a {
16 color: #DD4814;
17}
18
19a:visited {
20 color: #b12a10;
21}
22
23th.form-item-label {
24 vertical-align: top;
25}
26
27td.no-wrap {
28 white-space: nowrap;
29}
30
31/*
32label {
33 font-weight: bold;
34 white-space: nowrap;
35}
36*/
37
38.minor-content.venue-map {
39 min-height: 350px;
40 margin-top: 60px;
41}
42
43.side-content.venue-map {
44 min-height: 250px;
45 margin-top: 60px;
46}
47
48#main-content {
49 margin-right: 20px;
50}
51
52li.col_left {
53 float: left;
54 width: 45%;
55 clear: left;
56}
57
58li.col_right {
59 float: right;
60 width: 45%;
61 clear: right;
62}
63
64li.float_list {
65 float: left;
66 margin: 0px 0px 0px 25px;
67 clear: left;
68}
69
70li.approved {
71 list-style-image: url(../img/approved.png); /* Colorful Ubuntu Logo */
72}
73
74li.unapproved {
75 list-style-image: url(../img/unapproved.png); /* Grey Ubuntu Logo */
76}
77
78ol.agenda-list, .agenda-list ol, .agenda-list li {
79 padding: 2px 10px !important;
80}
81
82.relative {
83 position: relative;
84}
85
86br.clear {
87 clear: left;
88}
89
90#main-content .object-detail {
91 -moz-border-radius: 15px;
92 -webkit-border-radius: 15px;
93
94 border: 2px solid #ccc;
95 border-bottom: 4px solid #bbb;
96 border-right: 4px solid #bbb;
97 border-top: 2px solid #ddd;
98 min-height: 500px;
99 text-align: left;
100}
101
102#main-content .object-detail #options-left ul {
103 position: relative;
104 left: -60px;
105}
106
107#main-content .object-detail #options-right ul {
108 position: relative;
109}
110
111#main-content .object-detail #options-left li {
112 float: left;
113 margin-left: 5px;
114 display: inline;
115}
116
117#main-content .object-detail #options-right li {
118 float: right;
119 margin-right: 5px;
120 text-align: right;
121 display: inline;
122}
123
124#main-content .object-detail .option {
125 width: 32px;
126 height: 32px;
127 display: block;
128 text-decoration: none;
129}
130
131#main-content .object-detail a.goback {
132 background: transparent url('../img/goback.png') no-repeat scroll top right;
133}
134
135#main-content .object-detail a.edit {
136 background: transparent url('../img/edit.png') no-repeat scroll top right;
137}
138
139#main-content .object-detail a.delete {
140 background: transparent url('../img/delete.png') no-repeat scroll top right;
141}
142
143#main-content .object-detail a.add-team-event {
144 background: transparent url('../img/new_event.png') no-repeat scroll top right;
145}
146
147#main-content .object-detail a.add-comment {
148 background: transparent url('../img/comment.png') no-repeat scroll top right;
149}
150
151.resource {
152 width: 32px;
153 height: 32px;
154 padding: 2px;
155 margin-top: 4px;
156 margin-bottom: 3px;
157 float: left;
158 border: 1px white solid;
159}
160
161#main-content .resource:hover {
162 border: 1px #eee solid;
163}
164
165#page-footer .container div.copyright {
166 font-size: 0.75em;
167 line-height: 1.5em;
168}
169
170#page-footer .container div.loggedin {
171 font-size: 0.75em;
172 line-height: 1.5em;
173 float: left;
174 width: 400px;
175 margin-bottom: 10px;
176 margin-top: 5px;
177}
178
179#page-footer .container div.lang_switcher {
180 font-size: 0.75em;
181 line-height: 1.5em;
182 float: right;
183 margin-bottom: 10px;
184 margin-top: 5px;
185 margin-right: 14px;
186}
187
188.team-event-nav {
189 border-bottom: 1px gray solid;
190 list-style: none;
191 padding: 1px 0px 1px 5px;
192 margin: 5px 0px 5px 0px;
193}
194
195.team-event-nav li {
196 list-style: none;
197 margin: -1px 2px 0px 3px;
198 padding: 0px;
199 display: inline;
200}
201
202.message .content-shim {
203 margin: 0px; /* buffer the bulb in */
204 padding: 5px; /* un-suck the text */
205 background-repeat: no-repeat;
206 background-image: url(../img/infobox-icon.png);
207 padding-left: 30px; /* infobox icon is 22x22 */
208}
209
210.message {
211 width: 70%;
212 margin-left: auto;
213 margin-right: auto;
214 background-color: #FFFFB6;
215 border-radius: 0px;
216 box-shadow: 0px 1px 1px #FFE4B6;
217}
218
219.message { /* noncss 3. XXX: remove me in 20 years. */
220 -webkit-border-radius: 8px;
221 -moz-border-radius: 8px;
222 -moz-box-shadow: 0px 0px 1px #FFE4B6;
223 -webkit-box-shadow: 0px 0px 1px #FFE4B6;
224}
225
226/* UI Errors ( To yell at the user when they don't fill out a form ) */
227
228/*
229ul.errorlist {
230 margin: 0px;
231 padding: 0px;
232}
233
234.errorlist li {
235 color: red;
236 font-weight: bold;
237 display: block;
238 font-size: 1.1em;
239 margin: 0px 0px 3px;
240 padding: 4px 5px;
241}
242*/
243
244
245/* Flickr Feed for Global Event */
246
247.thumbs {
248 margin: 0px;
249 padding: 0px;
250 overflow: hidden;
251}
252
253.thumbs li {
254 list-style: none;
255 float: left;
256 margin: 5px;
257 padding: 3px;
258 background: #eee;
259 -moz-box-shadow: 0px 0px 4px #444;
260 -webkit-box-shadow: 0px 0px 2px #000;
261}
262
263.thumbs li a { }
264.thumbs li img { display: block; }
265.thumbs li a img { border: none;}
266
267aside#top-nav {
268 width: 980px;
269}
270
271header#page-header {
272 width: 960px;
273 margin: 0px auto;
274 padding: 0px 10px;
275 position: relative;
276}
277
278footer#page-footer {
279 width: 960px;
280 margin: 0px auto;
281 padding: 0px 10px;
282 position: relative;
283}
284
285#page-footer div.container { width: 940px; }
286
287
288
289/*#venue-list ul,*/
290.venue-list{
291 overflow:auto;
292}
293
294
295.venue-list h3 {
296 color: #333;
297 padding: 10px 0px 10px 10px;
298 background: white url(/ubuntu-website/media/images/dotted.png) repeat scroll 0px 0px;
299 margin-bottom: 0;
300}
301
302.venue-list ul {
303 display: block;
304 float: left;
305 list-style-image: none;
306 list-style-type: none;
307 padding: 4px 0px 5px 5px;
308 text-indent: 0px;
309 width: 915px;
310 background-color:#F7F7F7;
311}
312
313.venue-list ul li {
314 list-style-image: none;
315 list-style-type: none;
316 text-indent: 0px;
317 width: 200px;
318 margin-right: 22px;
319 margin-bottom: 5px;
320 padding-left: 5px;
321 float: left;
322 font-size:12px;
323}
324
325.venue-list ul li h3{
326 padding: 0px;
327 background:#f7f6f5;
328 margin: 0px;
329 color: #333;
330 padding: 4px 0px;
331}
332
333
334.venue-list ul li p{
335 font-size: 12px;
336 line-height: 16px;
337 margin: 0px;
338 padding: 0px;
339}
340
341.venue-list ul li p a{
342 border-bottom: 1px dotted #333;
343 clear: both;
344 display: block;
345 float: none;
346 padding: 5px 0px 3px;
347}
348
349#site_search_form {
350 width: auto;
351}
352#site_search_form input#id_q {
353 background-color: #F0F0F0;
354 border: 1px solid #CCCCCC;
355 height: 16px;
356 margin: 7px 0 7px 9px;
357 padding: 3px;
358 width: 180px;
359}
360
361form[name="lang-switcher"] {
362 width: auto;
363}
364
365select[name="lang"] {
366 background: auto;
367 border: auto;
368 width: auto;
369 height: auto;
370 font-size: 1em;
371 margin: 0;
372}
373
374/* TODO: date_begin and date_end should have class .small */
375#id_date_begin_0, #id_date_begin_1, #id_date_end_0, #id_date_end_1 {
376 width: 134px;
377}
378#id_date_begin_0:focus, #id_date_begin_1:focus, #id_date_end_0:focus, #id_date_end_1:focus {
379 width: 132px;
380}
381/*
382.form {
383 width: 500px;
384 float:left;
385}
386
387.form div{
388 padding-top:2px;
389 padding-bottom:2px;
390}
391
392.form div span.help{
393 font-size:20px;
394 color: #DD4814;
395 cursor:pointer;
396 vertical-align: top;
397 display:inline;
398
399}
400
401.form input[type="text"], .form textarea, .form select {
402 padding: 5px;
403 width: 200px;
404 margin: 0px 0px 5px 0px;
405 border: 1px solid #ccc;
406}
407
408.form input[type="text"] {
409 margin-right: 10px;
410}
411
412.form input[type="checkbox"] {
413 width: 200px;
414 height:35px;
415 margin: 0px 0px 5px 0px;
416}
417
418.form div div.field {
419 float: left;
420 padding-top: 5px;
421}
422
423.form div.approved, .form div.approved_date, .form div.expires_date {
424 height:30px;
425}
426
427.form span.extra {
428 float: left;
429 padding-top: 5px;
430 font-size:0.8em;
431}
432
433.form div div.field label{
434 float: left;
435 padding-right: 10px;
436 width: 170px;
437 font-size: 0.8em;
438 text-align: right;
439 font-weight:normal;
440}
441
442.form div span.required {
443 font-size:20px;
444 color: red;
445 margin-left:5px;
446 vertical-align: top;
447 display:inline;
448}
449
450.form textarea {
451 height: 90px;
452 width: 270px;
453}
454
455
456.form select:focus, .form textarea:focus, .form input:focus {
457 border: 1px solid #900;
458}
459
460.form input.submit-button {
461 padding-left: 20px;
462 padding-right: 20px;
463 float: right;
464 margin-right: 50px;
465}
466
467.form ul.errorlist {
468 margin: 0px;
469 padding: 0px;
470}
471
472.form .errorlist li {
473 color: red;
474 font-weight: bold;
475 display: block;
476 font-size: 0.8em;
477 margin: 0px 130px 3px;
478 padding: 4px 5px;
479}
480*/
481
482.attendee-cell {
483 padding-top:10px;
484}
485
486.attendee-mugshot {
487 vertical-align: middle;
488}
489
490.agenda-list {
491 list-style-type: decimal;
492}
493
494.agenda-list .agenda-list {
495 margin-left: 20px;
496 list-style-type: lower-alpha;
497}
498
499.agenda-list .agenda-list .agenda-list {
500 list-style-type: lower-roman;
501}
502
503.agenda-list .agenda-list .agenda-list .agenda-list {
504 list-style-type: circle;
505}
506
507.agenda-title {
508 font-weight: bold;
509}
510
511.agenda-description {
512 margin-left: 30px;
513 font-size: 0.9em;
514}
515
516#webchat {
517 display: none;
518 width: 900px;
519 margin: 0 auto;
520}
521
522#ircchat {
523 display: block;
524 width: 900px;
525 margin: 0 auto;
526}
527
528#locobranding {
529 width: 96px;
530 height: 96px;
531 position: absolute;
532 right: 10px;
533}
534
535/* My Teams style */
536h2.dynamic-width {
537 display: inline-block;
538 margin-bottom: 0;
539}
540
541.resources {
542 font-size: 0.75em;
543 float: right;
544 margin-top: 21px;
545}
546
547.resources a {
548 margin-left: 8px;
549}
550
551.photo a {
552 display: inline-block;
553 padding: 7px;
554}
555
556.photo img {
557 width: 75px;
558}
559
560.main-content-split {
561 width:450px;
562 margin-top: 15px;
563}
564
565.main-content-split.left {
566 float: left;
567}
568
569.main-content-split.right {
570 float: right;
571}
572
573.main-content-split.left .title {
574 font-size: 0.875em;
575}
576
577.main-content-split.left .new {
578 float: right;
579 font-size: 0.75em;
580}
581
582.event-summary {
583 margin-top:15px;
584}
585
586hr.no-top {
587 margin: 0 0;
588}
589
590img.bottom {
591 vertical-align: bottom;
592}
593
594ul.indent {
595 list-style: none;
596 background-color: #F7F7F7;
597 padding: 2px 2px 2px 15px;
598}
599
600ul.indent li {
601 line-height:1.2em;
602 margin: 0.5em 0;
603}
604
605.teams-legend {
606 width:200px;
607 padding:5px 0;
608 margin:5px 40% 0;
609 float:right;
610 text-align:right;
611 background-color:#F7F7F7;
612 box-shadow:0 1px 1px #DFDFDF;
613 border-radius:8px;
614}
615
616/* Team photos feed */
617div#flickr, div#picasa, div#pixie {
618 width:100%;
619}
620
621div#flickr a.lightbox img {
622 border: 5px solid #b3aaa4;
623 margin-left: 5px;
624 margin-right: 5px;
625}
626
627div#picasa a.lightbox img {
628 border: 5px solid #b3aaa4;
629 margin-left: 5px;
630 margin-right: 5px;
631}
632
633div#pixie a.lightbox img {
634 border: 5px solid #b3aaa4;
635 margin-left: 5px;
636 margin-right: 5px;
637
638}
639
640.double-side-content {
641 float: left;
642 margin: 5px 10px;
643 padding: 10px;
644 width: 600px;
645}
646
647.double-side-column {
648 float: left;
649 width: 600px;
650}
651
652.single-side-column {
653 float: left;
654 width: 300px;
655}
656
657.map {
658 min-height: 170px;
659 width: 250px;
660}
661
662/* Blog Styling */
663.blog-entry-image {
664 float: left;
665 height: 40px;
666 padding: 0 8px 8px 0;
667}
668
669.blog-entry-title {
670 margin-bottom: 0px;
671}
672
673.blog-entry-author {
674 font-size: 0.75em;
675}
676
677.blog-entry-text p {
678 text-align:justify;
679 font-size: 13px;
680 line-height: 1.4;
681}
682
683.rsvp-link {
684 font-size: 0.8em;
685 font-weight: bold;
686}
687
688table.side-table {
689 width: 280px;
690}
691
692table.left {
693 position:relative;
694 top: 10px;
695 left:-180px;
696}
6970
=== added file 'loco_directory/media/css/styles.css'
--- loco_directory/media/css/styles.css 1970-01-01 00:00:00 +0000
+++ loco_directory/media/css/styles.css 2012-06-15 22:38:18 +0000
@@ -0,0 +1,683 @@
1/*
2 * newstyle.css
3 *
4 * Base style for the LoCo Team Portal. This is an implementation
5 * of the ( at the time of this writing ) new Ubuntu branding.
6 *
7 * Author: Michael Hall ( mhall119 )
8 * Author: Paul Tagliamonte ( paultag )
9 */
10
11h1.centered {
12 text-align: center;
13}
14
15
16th.form-item-label {
17 vertical-align: top;
18}
19
20td.no-wrap {
21 white-space: nowrap;
22}
23
24/*
25label {
26 font-weight: bold;
27 white-space: nowrap;
28}
29*/
30
31.minor-content.venue-map {
32 min-height: 350px;
33 margin-top: 60px;
34}
35
36.side-content.venue-map {
37 min-height: 250px;
38 margin-top: 60px;
39}
40
41#main-content {
42 margin-right: 20px;
43}
44
45li.col_left {
46 float: left;
47 width: 45%;
48 clear: left;
49}
50
51li.col_right {
52 float: right;
53 width: 45%;
54 clear: right;
55}
56
57li.float_list {
58 float: left;
59 margin: 0px 0px 0px 25px;
60 clear: left;
61}
62
63li.approved {
64 list-style-image: url(../img/approved.png); /* Colorful Ubuntu Logo */
65}
66
67li.unapproved {
68 list-style-image: url(../img/unapproved.png); /* Grey Ubuntu Logo */
69}
70
71ol.agenda-list, .agenda-list ol, .agenda-list li {
72 padding: 2px 10px !important;
73}
74
75.relative {
76 position: relative;
77}
78
79br.clear {
80 clear: left;
81}
82
83#main-content .object-detail {
84 -moz-border-radius: 15px;
85 -webkit-border-radius: 15px;
86
87 border: 2px solid #ccc;
88 border-bottom: 4px solid #bbb;
89 border-right: 4px solid #bbb;
90 border-top: 2px solid #ddd;
91 min-height: 500px;
92 text-align: left;
93}
94
95#main-content .object-detail #options-left ul {
96 position: relative;
97 left: -60px;
98}
99
100#main-content .object-detail #options-right ul {
101 position: relative;
102}
103
104#main-content .object-detail #options-left li {
105 float: left;
106 margin-left: 5px;
107 display: inline;
108}
109
110#main-content .object-detail #options-right li {
111 float: right;
112 margin-right: 5px;
113 text-align: right;
114 display: inline;
115}
116
117#main-content .object-detail .option {
118 width: 32px;
119 height: 32px;
120 display: block;
121 text-decoration: none;
122}
123
124#main-content .object-detail a.goback {
125 background: transparent url('../img/goback.png') no-repeat scroll top right;
126}
127
128#main-content .object-detail a.edit {
129 background: transparent url('../img/edit.png') no-repeat scroll top right;
130}
131
132#main-content .object-detail a.delete {
133 background: transparent url('../img/delete.png') no-repeat scroll top right;
134}
135
136#main-content .object-detail a.add-team-event {
137 background: transparent url('../img/new_event.png') no-repeat scroll top right;
138}
139
140#main-content .object-detail a.add-comment {
141 background: transparent url('../img/comment.png') no-repeat scroll top right;
142}
143
144.resource {
145 width: 32px;
146 height: 32px;
147 padding: 2px;
148 margin-top: 4px;
149 margin-bottom: 3px;
150 float: left;
151 border: 1px white solid;
152}
153
154#main-content .resource:hover {
155 border: 1px #eee solid;
156}
157
158#page-footer .container div.copyright {
159 font-size: 0.75em;
160 line-height: 1.5em;
161}
162
163#page-footer .container div.loggedin {
164 font-size: 0.75em;
165 line-height: 1.5em;
166 float: left;
167 width: 400px;
168 margin-bottom: 10px;
169 margin-top: 5px;
170}
171
172#page-footer .container div.lang_switcher {
173 font-size: 0.75em;
174 line-height: 1.5em;
175 float: right;
176 margin-bottom: 10px;
177 margin-top: 5px;
178 margin-right: 14px;
179}
180
181.team-event-nav {
182 border-bottom: 1px gray solid;
183 list-style: none;
184 padding: 1px 0px 1px 5px;
185 margin: 5px 0px 5px 0px;
186}
187
188.team-event-nav li {
189 list-style: none;
190 margin: -1px 2px 0px 3px;
191 padding: 0px;
192 display: inline;
193}
194
195.message .content-shim {
196 margin: 0px; /* buffer the bulb in */
197 padding: 5px; /* un-suck the text */
198 background-repeat: no-repeat;
199 background-image: url(../img/infobox-icon.png);
200 padding-left: 30px; /* infobox icon is 22x22 */
201}
202
203.message {
204 width: 70%;
205 margin-left: auto;
206 margin-right: auto;
207 background-color: #FFFFB6;
208 border-radius: 0px;
209 box-shadow: 0px 1px 1px #FFE4B6;
210}
211
212.message { /* noncss 3. XXX: remove me in 20 years. */
213 -webkit-border-radius: 8px;
214 -moz-border-radius: 8px;
215 -moz-box-shadow: 0px 0px 1px #FFE4B6;
216 -webkit-box-shadow: 0px 0px 1px #FFE4B6;
217}
218
219/* UI Errors ( To yell at the user when they don't fill out a form ) */
220
221/*
222ul.errorlist {
223 margin: 0px;
224 padding: 0px;
225}
226
227.errorlist li {
228 color: red;
229 font-weight: bold;
230 display: block;
231 font-size: 1.1em;
232 margin: 0px 0px 3px;
233 padding: 4px 5px;
234}
235*/
236
237
238/* Flickr Feed for Global Event */
239
240.thumbs {
241 margin: 0px;
242 padding: 0px;
243 overflow: hidden;
244}
245
246.thumbs li {
247 list-style: none;
248 float: left;
249 margin: 5px;
250 padding: 3px;
251 background: #eee;
252 -moz-box-shadow: 0px 0px 4px #444;
253 -webkit-box-shadow: 0px 0px 2px #000;
254}
255
256.thumbs li a { }
257.thumbs li img { display: block; }
258.thumbs li a img { border: none;}
259
260aside#top-nav {
261 width: 980px;
262}
263
264header#page-header {
265 width: 960px;
266 margin: 0px auto;
267 padding: 0px 10px;
268 position: relative;
269}
270
271footer#page-footer {
272 width: 960px;
273 margin: 0px auto;
274 padding: 0px 10px;
275 position: relative;
276}
277
278#page-footer div.container { width: 940px; }
279
280
281
282/*#venue-list ul,*/
283.venue-list{
284 overflow:auto;
285}
286
287
288.venue-list h3 {
289 color: #333;
290 padding: 10px 0px 10px 10px;
291 background: white url(/ubuntu-website/media/images/dotted.png) repeat scroll 0px 0px;
292 margin-bottom: 0;
293}
294
295.venue-list ul {
296 display: block;
297 float: left;
298 list-style-image: none;
299 list-style-type: none;
300 padding: 4px 0px 5px 5px;
301 text-indent: 0px;
302 width: 915px;
303 background-color:#F7F7F7;
304}
305
306.venue-list ul li {
307 list-style-image: none;
308 list-style-type: none;
309 text-indent: 0px;
310 width: 200px;
311 margin-right: 22px;
312 margin-bottom: 5px;
313 padding-left: 5px;
314 float: left;
315 font-size:12px;
316}
317
318.venue-list ul li h3{
319 padding: 0px;
320 background:#f7f6f5;
321 margin: 0px;
322 color: #333;
323 padding: 4px 0px;
324}
325
326
327.venue-list ul li p{
328 font-size: 12px;
329 line-height: 16px;
330 margin: 0px;
331 padding: 0px;
332}
333
334.venue-list ul li p a{
335 border-bottom: 1px dotted #333;
336 clear: both;
337 display: block;
338 float: none;
339 padding: 5px 0px 3px;
340}
341
342#site_search_form {
343 width: auto;
344}
345#site_search_form input#id_q {
346 background-color: #F0F0F0;
347 border: 1px solid #CCCCCC;
348 height: 16px;
349 margin: 7px 0 7px 9px;
350 padding: 3px;
351 width: 180px;
352}
353
354form[name="lang-switcher"] {
355 width: auto;
356}
357
358select[name="lang"] {
359 background: auto;
360 border: auto;
361 width: auto;
362 height: auto;
363 font-size: 1em;
364 margin: 0;
365}
366
367/* TODO: date_begin and date_end should have class .small */
368#id_date_begin_0, #id_date_begin_1, #id_date_end_0, #id_date_end_1 {
369 width: 134px;
370}
371#id_date_begin_0:focus, #id_date_begin_1:focus, #id_date_end_0:focus, #id_date_end_1:focus {
372 width: 132px;
373}
374/*
375.form {
376 width: 500px;
377 float:left;
378}
379
380.form div{
381 padding-top:2px;
382 padding-bottom:2px;
383}
384
385.form div span.help{
386 font-size:20px;
387 color: #DD4814;
388 cursor:pointer;
389 vertical-align: top;
390 display:inline;
391
392}
393
394.form input[type="text"], .form textarea, .form select {
395 padding: 5px;
396 width: 200px;
397 margin: 0px 0px 5px 0px;
398 border: 1px solid #ccc;
399}
400
401.form input[type="text"] {
402 margin-right: 10px;
403}
404
405.form input[type="checkbox"] {
406 width: 200px;
407 height:35px;
408 margin: 0px 0px 5px 0px;
409}
410
411.form div div.field {
412 float: left;
413 padding-top: 5px;
414}
415
416.form div.approved, .form div.approved_date, .form div.expires_date {
417 height:30px;
418}
419
420.form span.extra {
421 float: left;
422 padding-top: 5px;
423 font-size:0.8em;
424}
425
426.form div div.field label{
427 float: left;
428 padding-right: 10px;
429 width: 170px;
430 font-size: 0.8em;
431 text-align: right;
432 font-weight:normal;
433}
434
435.form div span.required {
436 font-size:20px;
437 color: red;
438 margin-left:5px;
439 vertical-align: top;
440 display:inline;
441}
442
443.form textarea {
444 height: 90px;
445 width: 270px;
446}
447
448
449.form select:focus, .form textarea:focus, .form input:focus {
450 border: 1px solid #900;
451}
452
453.form input.submit-button {
454 padding-left: 20px;
455 padding-right: 20px;
456 float: right;
457 margin-right: 50px;
458}
459
460.form ul.errorlist {
461 margin: 0px;
462 padding: 0px;
463}
464
465.form .errorlist li {
466 color: red;
467 font-weight: bold;
468 display: block;
469 font-size: 0.8em;
470 margin: 0px 130px 3px;
471 padding: 4px 5px;
472}
473*/
474
475.attendee-cell {
476 padding-top:10px;
477}
478
479.attendee-mugshot {
480 vertical-align: middle;
481}
482
483.agenda-list {
484 list-style-type: decimal;
485}
486
487.agenda-list .agenda-list {
488 margin-left: 20px;
489 list-style-type: lower-alpha;
490}
491
492.agenda-list .agenda-list .agenda-list {
493 list-style-type: lower-roman;
494}
495
496.agenda-list .agenda-list .agenda-list .agenda-list {
497 list-style-type: circle;
498}
499
500.agenda-title {
501 font-weight: bold;
502}
503
504.agenda-description {
505 margin-left: 30px;
506 font-size: 0.9em;
507}
508
509#webchat {
510 display: none;
511 width: 900px;
512 margin: 0 auto;
513}
514
515#ircchat {
516 display: block;
517 width: 900px;
518 margin: 0 auto;
519}
520
521#locobranding {
522 width: 96px;
523 height: 96px;
524 position: absolute;
525 right: 10px;
526}
527
528/* My Teams style */
529h2.dynamic-width {
530 display: inline-block;
531 margin-bottom: 0;
532}
533
534.resources {
535 font-size: 0.75em;
536 float: right;
537 margin-top: 21px;
538}
539
540.resources a {
541 margin-left: 8px;
542}
543
544.photo a {
545 display: inline-block;
546 padding: 7px;
547}
548
549.photo img {
550 width: 75px;
551}
552
553.main-content-split {
554 width:450px;
555 margin-top: 15px;
556}
557
558.main-content-split.left {
559 float: left;
560}
561
562.main-content-split.right {
563 float: right;
564}
565
566.main-content-split.left .title {
567 font-size: 0.875em;
568}
569
570.main-content-split.left .new {
571 float: right;
572 font-size: 0.75em;
573}
574
575.event-summary {
576 margin-top:15px;
577}
578
579hr.no-top {
580 margin: 0 0;
581}
582
583img.bottom {
584 vertical-align: bottom;
585}
586
587ul.indent {
588 list-style: none;
589 background-color: #F7F7F7;
590 padding: 2px 2px 2px 15px;
591}
592
593ul.indent li {
594 line-height:1.2em;
595 margin: 0.5em 0;
596}
597
598.teams-legend {
599 width:200px;
600 padding:5px 0;
601 margin:5px 40% 0;
602 float:right;
603 text-align:right;
604 background-color:#F7F7F7;
605 box-shadow:0 1px 1px #DFDFDF;
606 border-radius:8px;
607}
608
609/* Team photos feed */
610div#flickr, div#picasa, div#pixie {
611 width:100%;
612}
613
614div#flickr a.lightbox img {
615 border: 5px solid #b3aaa4;
616 margin-left: 5px;
617 margin-right: 5px;
618}
619
620div#picasa a.lightbox img {
621 border: 5px solid #b3aaa4;
622 margin-left: 5px;
623 margin-right: 5px;
624}
625
626div#pixie a.lightbox img {
627 border: 5px solid #b3aaa4;
628 margin-left: 5px;
629 margin-right: 5px;
630
631}
632
633.double-side-content {
634 float: left;
635 margin: 5px 10px;
636 padding: 10px;
637 width: 600px;
638}
639
640.double-side-column {
641 float: left;
642 width: 600px;
643}
644
645.single-side-column {
646 float: left;
647 width: 300px;
648}
649
650.map {
651 min-height: 170px;
652 width: 250px;
653}
654
655/* Blog Styling */
656.blog-entry-image {
657 float: left;
658 height: 40px;
659 padding: 0 8px 8px 0;
660}
661
662.blog-entry-title {
663 margin-bottom: 0px;
664}
665
666.blog-entry-author {
667 font-size: 0.75em;
668}
669
670.blog-entry-text p {
671 text-align:justify;
672 font-size: 13px;
673 line-height: 1.4;
674}
675
676.rsvp-link {
677 font-size: 0.8em;
678 font-weight: bold;
679}
680
681table.side-table {
682 width: 280px;
683}
0684
=== modified file 'loco_directory/settings.py'
--- loco_directory/settings.py 2012-02-09 02:06:11 +0000
+++ loco_directory/settings.py 2012-06-15 22:38:18 +0000
@@ -190,8 +190,8 @@
190 'bzr_apps': ('bzr+ssh://bazaar.launchpad.net/%2Bbranch/ubuntu-django-foundations/bzr-apps/', '7'),190 'bzr_apps': ('bzr+ssh://bazaar.launchpad.net/%2Bbranch/ubuntu-django-foundations/bzr-apps/', '7'),
191191
192 ## ubuntu-website supplied templates and styles192 ## ubuntu-website supplied templates and styles
193 'ubuntu_website': ('bzr+ssh://bazaar.launchpad.net/~ubuntu-community-webthemes/ubuntu-community-webthemes/light-django-theme', '36'),193 'ubuntu_website': ('bzr+ssh://bazaar.launchpad.net/~ubuntu-community-webthemes/ubuntu-community-webthemes/light-django-theme', '45'),
194 194
195 ## twidenash supplied microblog embedding javascript195 ## twidenash supplied microblog embedding javascript
196 'media/js/twidenash': ('bzr+ssh://bazaar.launchpad.net/~django-foundations-dev/twidenash/2.0/', '4'),196 'media/js/twidenash': ('bzr+ssh://bazaar.launchpad.net/~django-foundations-dev/twidenash/2.0/', '4'),
197}197}
198198
=== modified file 'loco_directory/templates/404.html'
--- loco_directory/templates/404.html 2011-11-12 01:43:27 +0000
+++ loco_directory/templates/404.html 2012-06-15 22:38:18 +0000
@@ -4,9 +4,8 @@
4{% block page_name %}{% trans "This Page Does Not Exist" %}{% endblock %}4{% block page_name %}{% trans "This Page Does Not Exist" %}{% endblock %}
55
6{% block content %}6{% block content %}
77<div class="row">
8<article class="main-content">8 <section class="span-12">
9
10<h2>{% trans "This Page Does Not Exist!" %}</h2>9<h2>{% trans "This Page Does Not Exist!" %}</h2>
1110
12<p>11<p>
@@ -17,6 +16,7 @@
17</ul>16</ul>
18</p>17</p>
19<p>{% trans "If you believe the reason you are here is a bug in the LoCo Team Portal please " %} <a href='https://bugs.launchpad.net/loco-team-portal/+filebug'>{% trans "Report it!" %}</a></p>18<p>{% trans "If you believe the reason you are here is a bug in the LoCo Team Portal please " %} <a href='https://bugs.launchpad.net/loco-team-portal/+filebug'>{% trans "Report it!" %}</a></p>
20</article>19</section>
20</div>
2121
22{% endblock %}22{% endblock %}
2323
=== modified file 'loco_directory/templates/500.html'
--- loco_directory/templates/500.html 2011-11-12 01:43:27 +0000
+++ loco_directory/templates/500.html 2012-06-15 22:38:18 +0000
@@ -20,14 +20,15 @@
2020
21{% block content %}21{% block content %}
2222
23<article class="main-content">23<div class="row">
24 <section class="span-12">
24 <h2>{% trans "The LoCo Portal has encountered an Error!" %}</h2>25 <h2>{% trans "The LoCo Portal has encountered an Error!" %}</h2>
25 <p>{% trans "Please try your request again." %}26 <p>{% trans "Please try your request again." %}
26 </p>27 </p>
27 <p>{% trans "If you continue to experience problems with the LoCo Team Portal, please " %} <a href='https://bugs.launchpad.net/loco-team-portal/+filebug'>{% trans "Report it!" %}</a>28 <p>{% trans "If you continue to experience problems with the LoCo Team Portal, please " %} <a href='https://bugs.launchpad.net/loco-team-portal/+filebug'>{% trans "Report it!" %}</a>
28 </p>29 </p>
29</article>30</section>
3031</div>
31{% endblock %}32{% endblock %}
3233
33{% block footer %}{% endblock %}34{% block footer %}{% endblock %}
3435
=== modified file 'loco_directory/templates/about.html'
--- loco_directory/templates/about.html 2011-11-22 03:14:58 +0000
+++ loco_directory/templates/about.html 2012-06-15 22:38:18 +0000
@@ -5,8 +5,8 @@
55
6{% block content %}6{% block content %}
77
88<div class="row">
9<article class="main-content leading">9<section class="span-12">
10 <h2>{% trans "What is the LoCo Team Portal?" %}</h2>10 <h2>{% trans "What is the LoCo Team Portal?" %}</h2>
11 {% with '</a>' as link_end %}11 {% with '</a>' as link_end %}
12 {% with '<a href="https://launchpad.net/~nixternal">' as link_developer %}12 {% with '<a href="https://launchpad.net/~nixternal">' as link_developer %}
@@ -19,11 +19,12 @@
19 {% endwith %}19 {% endwith %}
20 {% endwith %}20 {% endwith %}
21 {% endwith %}21 {% endwith %}
22</article>22</section>
2323</div>
24<hr class="divide" />24<hr class="divide" />
2525
26<article class="minor-content">26<div class="row">
27<section class="span-6">
27 <h2>{% trans "The Portal Data" %}</h2>28 <h2>{% trans "The Portal Data" %}</h2>
28 {% with '</a>' as link_end %}29 {% with '</a>' as link_end %}
29 {% with '<a href="https://launchpad.net/">' as link_launchpad %}30 {% with '<a href="https://launchpad.net/">' as link_launchpad %}
@@ -41,9 +42,8 @@
41 {% endwith %}42 {% endwith %}
42 {% endwith %}43 {% endwith %}
43 {% endwith %}44 {% endwith %}
44</article>45</section>
4546<section class="span-6 last">
46<article class="minor-content">
47 <h2>{% trans "Contribute to the LoCo Team Portal!" %}</h2>47 <h2>{% trans "Contribute to the LoCo Team Portal!" %}</h2>
48 {% with '</a>' as link_end %}48 {% with '</a>' as link_end %}
49 <p>{% trans "You can make it better:" %}49 <p>{% trans "You can make it better:" %}
@@ -69,11 +69,11 @@
69 <p>{% blocktrans %}Need to know more, {{ link_ld }}just ask!{{ link_end }}{% endblocktrans %}</p>69 <p>{% blocktrans %}Need to know more, {{ link_ld }}just ask!{{ link_end }}{% endblocktrans %}</p>
70 {% endwith %}70 {% endwith %}
71 {% endwith %}71 {% endwith %}
7272</section>
73 <hr class="divide" />73</div>
74</article>74 <hr class="divide" />
7575<div class="row">
76<article class="minor-content">76<section class="span-12">
77 <h2>{% trans "Coming Soon!" %}</h2>77 <h2>{% trans "Coming Soon!" %}</h2>
78 <p>78 <p>
79 {% trans "Future additions to this site will include:" %}79 {% trans "Future additions to this site will include:" %}
@@ -82,5 +82,6 @@
82 <li>{% trans "Various mashups" %}</li>82 <li>{% trans "Various mashups" %}</li>
83 </ul>83 </ul>
84 </p>84 </p>
85</article>85</section>
86</div>
86{% endblock %}87{% endblock %}
8788
=== modified file 'loco_directory/templates/about_loco.html'
--- loco_directory/templates/about_loco.html 2011-10-10 15:05:02 +0000
+++ loco_directory/templates/about_loco.html 2012-06-15 22:38:18 +0000
@@ -4,17 +4,19 @@
4{% block page_name %}{% trans "About Local Community (LoCo) Teams" %}{% endblock %}4{% block page_name %}{% trans "About Local Community (LoCo) Teams" %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7<a class="sub-nav-item" href="{% url loco_setup %}">{% trans "Setting up a new Local Community (LoCo) Team" %}</a>7<li><a class="sub-nav-item" href="{% url loco_setup %}">{% trans "Setting up a new Local Community (LoCo) Team" %}</a></li>
8{% endblock %}8{% endblock %}
99
10{% block content %}10{% block content %}
1111
12<article class="main-content">12<div class="row">
13 <section class="span-12">
13 <h2>{% trans "About Local Community (LoCo) Teams" %}</h2>14 <h2>{% trans "About Local Community (LoCo) Teams" %}</h2>
14 <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>15 <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>
15</article>16</section></div>
1617
17<article class="main-content">18<div class="row">
19 <section class="span-12">
18 <h3>{% trans "Joining a LoCo Team" %}</h3>20 <h3>{% trans "Joining a LoCo Team" %}</h3>
19 <ul>21 <ul>
20 {% with '</a>' as link_end %}22 {% with '</a>' as link_end %}
@@ -31,12 +33,13 @@
31 {% endwith %}33 {% endwith %}
32 {% endwith %}34 {% endwith %}
33 </ul>35 </ul>
34</article>36</section></div>
3537
36<article class="main-content">38<div class="row">
39 <section class="span-12">
37 <h3>{% trans "Why Local Teams?" %}</h3>40 <h3>{% trans "Why Local Teams?" %}</h3>
38 <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>41 <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>
39</article>42</section></div>
4043
4144
42{% endblock %}45{% endblock %}
4346
=== modified file 'loco_directory/templates/base.html'
--- loco_directory/templates/base.html 2011-11-28 19:41:52 +0000
+++ loco_directory/templates/base.html 2012-06-15 22:38:18 +0000
@@ -1,13 +1,15 @@
1{% extends "ubuntu_website_base.html" %}1{% extends "website_base.html" %}
2{% load i18n %}2{% load i18n %}
33
4{% block title %}{% block page_name %}{% trans "Home" %}{%endblock %} | {% trans "Ubuntu LoCo Team Portal" %}{% endblock %}4{% block title %}{% block page_name %}{% trans "Home" %}{%endblock %} | {% trans "Ubuntu LoCo Team Portal" %}{% endblock %}
55
6{% block logo_text %}{% trans "LoCo Team Portal" %}{% endblock %}6{% block logo_text %}{% trans "LoCo Team Portal" %}{% endblock %}
77
8{% block extrastyles %}
9 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/css/styles.css" />
10{% endblock %}
11
8{% block extrahead %}12{% block extrahead %}
9 <link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/newstyle.css" />
10 <script type="text/javascript" src="{{MEDIA_URL}}jquery/jquery.js"></script>
11 <script type="text/javascript">13 <script type="text/javascript">
12 var _gaq = _gaq || [];14 var _gaq = _gaq || [];
13 _gaq.push(['_setAccount', 'UA-26763972-1']);15 _gaq.push(['_setAccount', 'UA-26763972-1']);
@@ -39,12 +41,14 @@
39{% endblock %}41{% endblock %}
4042
41{% block main_nav_links %}43{% block main_nav_links %}
42 <a class="main-nav-item {% ifequal url_base 'teams' %}current{% endifequal %}" title="{% trans "Show All Teams" %}" href="{% url team-list %}">{% trans "Teams" %}</a>44<ul class="clearfix">
43 <a class="main-nav-item {% ifequal url_base 'events' %}current{% endifequal %}" title="{% trans "Show All Events" %}" href="{% url event-list %}">{% trans "Events" %}</a>45 <li{% if item.current %} class='active'{% endif %} id="main-nav"><a class="main-nav-item {% ifequal url_base 'teams' %}active{% endifequal %}" title="{% trans "Show All Teams" %}" href="{% url team-list %}">{% trans "Teams" %}</a></li>
44 <a class="main-nav-item {% ifequal url_base 'meetings' %}current{% endifequal %}" title="{% trans "Show All Meetings" %}" href="{% url meeting-list %}">{% trans "Meetings" %}</a>46 <li{% if item.current %} class='active'{% endif %} id="main-nav"><a class="main-nav-item {% ifequal url_base 'events' %}active{% endifequal %}" title="{% trans "Show All Events" %}" href="{% url event-list %}">{% trans "Events" %}</a></li>
45 <a class="main-nav-item {% ifequal url_base 'loco-council' %}current{% endifequal %}" title="{% trans "LoCo Council" %}" href="{% url loco_council %}">{% trans "LoCo Council" %}</a>47 <li{% if item.current %} class='active'{% endif %} id="main-nav"><a class="main-nav-item {% ifequal url_base 'meetings' %}active{% endifequal %}" title="{% trans "Show All Meetings" %}" href="{% url meeting-list %}">{% trans "Meetings" %}</a></li>
46 <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>48 <li{% if item.current %} class='active'{% endif %} id="main-nav"><a class="main-nav-item {% ifequal url_base 'loco-council' %}active{% endifequal %}" title="{% trans "LoCo Council" %}" href="{% url loco_council %}">{% trans "LoCo Council" %}</a></li>
47 <a class="main-nav-item {% ifequal url_base 'irc' %}current{% endifequal %}" title="{% trans "IRC Chat" %}" href="{% url irc_chat %}">{% trans "IRC Chat" %}</a>49 <li{% if item.current %} class='active'{% endif %} id="main-nav"><a class="main-nav-item {% ifequal url_base 'about-loco' %}active{% endifequal %}" title="{% trans "About LoCo Teams" %}" href="{% url about_loco %}">{% trans "About LoCos" %}</a></li>
50 <li{% if item.current %} class='active'{% endif %} id="main-nav"><a class="main-nav-item {% ifequal url_base 'irc' %}active{% endifequal %}" title="{% trans "IRC Chat" %}" href="{% url irc_chat %}">{% trans "IRC Chat" %}</a></li>
51</ul>
48{% endblock %}52{% endblock %}
4953
50{% block sub_nav_links %}54{% block sub_nav_links %}
@@ -52,17 +56,17 @@
5256
53{% block search_box %}57{% block search_box %}
54<form id="site_search_form" action="{% url common.views.site_search %}" method="get">58<form id="site_search_form" action="{% url common.views.site_search %}" method="get">
55 {{ search_form.q }}59 {{ search_form.q }}
56 <input type="image" src="/media/img/search.png" title="{% trans "Search" %}" alt="{% trans "Search" %}" />60 <input type="image" src="/media/img/search.png" title="{% trans "Search" %}" alt="{% trans "Search" %}" />
57</form>61</form>
58{% endblock %}62{% endblock %}
5963
60{% block messages %}64{% block messages %}
61 {% if messages %}65 {% if messages %}
62 {% for message in messages %}66 {% for message in messages %}
63 <div class = 'message' ><div class = 'content-shim' >{{ message }}</div></div>67 <div class = 'message' ><div class = 'content-shim' >{{ message }}</div></div>
64 {% endfor %}68 {% endfor %}
65 {% endif %}69 {% endif %}
66{% endblock %}70{% endblock %}
6771
68{% block content %}72{% block content %}
@@ -73,22 +77,22 @@
7377
74{% block footer %}78{% block footer %}
75<div style="height: 40px;">79<div style="height: 40px;">
76 <div class="lang_switcher">80 <div class="lang_switcher">
77 <form name="lang-switcher" style="text-align:right;" action="/language/" method="get">81 <form name="lang-switcher" style="text-align:right;" action="/language/" method="get">
78 <input name="next" type="hidden" value="{{ request.path }}" />82 <input name="next" type="hidden" value="{{ request.path }}" />
79 <select name="lang" onchange="document.forms['lang-switcher'].submit()">83 <select name="lang" onchange="document.forms['lang-switcher'].submit()">
80 {% for lang in LANGUAGES %}84 {% for lang in LANGUAGES %}
81 <option value="{{ lang.0 }}"{% ifequal LANGUAGE_CODE lang.0 %} selected="selected"{% endifequal %}>{{ lang.1 }}</option>85 <option value="{{ lang.0 }}"{% ifequal LANGUAGE_CODE lang.0 %} selected="selected"{% endifequal %}>{{ lang.1 }}</option>
82 {% endfor %}86 {% endfor %}
83 </select>87 </select>
84 </form>88 </form>
85 </div>89 </div>
86</div>90</div>
87<div class="copyright">91<div class="copyright">
88 &copy; 2008-{% now "Y" %} Canonical Ltd., Ubuntu Community. Ubuntu is a registered trademark of Canonical Ltd.<br />92 <p>&copy; 2008-{% now "Y" %} Canonical Ltd., Ubuntu Community. Ubuntu is a registered trademark of Canonical Ltd.</p>
89 <a href="/about">{% trans "About the LoCo Team Portal Project" %}</a><br />93 <p><a href="/about">{% trans "About the LoCo Team Portal Project" %}</a></p>
90 {% trans 'Problems with LoCo Team Portal?' %} <a href="https://bugs.launchpad.net/loco-team-portal/+filebug">{% trans 'File a Bug' %}</a><br />94 <p>{% trans 'Problems with LoCo Team Portal?' %} <a href="https://bugs.launchpad.net/loco-team-portal/+filebug">{% trans 'File a Bug' %}</a></p>
91 {% trans "LoCo Team Portal" %} {{ loco_version }}95 <p>{% trans "LoCo Team Portal" %} {{ loco_version }}</p>
92</div>96</div>
93{% endblock %}97{% endblock %}
9498
9599
=== modified file 'loco_directory/templates/events/event_history_list.html'
--- loco_directory/templates/events/event_history_list.html 2012-06-10 19:08:39 +0000
+++ loco_directory/templates/events/event_history_list.html 2012-06-15 22:38:18 +0000
@@ -9,11 +9,12 @@
9{% block page_name %}{% trans "Ubuntu LoCo Events History" %}{% endblock %}9{% block page_name %}{% trans "Ubuntu LoCo Events History" %}{% endblock %}
1010
11{% block sub_nav_links %}11{% block sub_nav_links %}
12<a class="sub-nav-item" href="{% url event-list %}">{% trans "Back to Events List" %}</a>12<li><a class="sub-nav-item" href="{% url event-list %}">{% trans "Back to Events List" %}</a></li>
13{% endblock %}13{% endblock %}
1414
15{% block content %}15{% block content %}
16<article class="main-content">16<div class="row">
17<section class="span-12">
17<h2>{% trans "Ubuntu LoCo Global Events History" %}</h2>18<h2>{% trans "Ubuntu LoCo Global Events History" %}</h2>
1819
19{% if global_event_list %}20{% if global_event_list %}
@@ -24,11 +25,11 @@
24{% else %}25{% else %}
25<p>{% trans "There have been no LoCo Global Events in the past :(" %}</p>26<p>{% trans "There have been no LoCo Global Events in the past :(" %}</p>
26{% endif %}27{% endif %}
27</article>28</section>
2829</div>
29<hr class="divide" />30
3031<div class="row">
31<article class="main-content">32<section class="span-12">
32<h2>{% trans "Ubuntu LoCo Team Events History" %}</h2>33<h2>{% trans "Ubuntu LoCo Team Events History" %}</h2>
3334
34<form action="." method="post">{% csrf_token %}35<form action="." method="post">{% csrf_token %}
@@ -56,5 +57,6 @@
56<p>{% trans "There have been no LoCo Team Events in the past :(" %}</p>57<p>{% trans "There have been no LoCo Team Events in the past :(" %}</p>
57{% endif %}58{% endif %}
5859
59</article>60</section>
61</div>
60{% endblock %}62{% endblock %}
6163
=== modified file 'loco_directory/templates/events/event_list.html'
--- loco_directory/templates/events/event_list.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/event_list.html 2012-06-15 22:38:18 +0000
@@ -19,16 +19,17 @@
19{% endblock %}19{% endblock %}
2020
21{% block sub_nav_links %}21{% block sub_nav_links %}
22<a class="sub-nav-item" title="{% trans "Show All Venues" %}" href="{% url venue-list %}">{% trans "Venues" %}</a>22<li><a class="sub-nav-item" title="{% trans "Show All Venues" %}" href="{% url venue-list %}">{% trans "Venues" %}</a>
23{% if user_is_on_lc %}23{% if user_is_on_lc %}
24<a class="sub-nav-item" href="{% url global-event-new %}">{% trans "Add Global Event" %}</a>24<li><a class="sub-nav-item" href="{% url global-event-new %}">{% trans "Add Global Event" %}</a></li>
25{% endif %}25{% endif %}
26<a class="sub-nav-item" href="{% url team-event-select %}">{% trans "Add Team Event" %}</a>26<li><a class="sub-nav-item" href="{% url team-event-select %}">{% trans "Add Team Event" %}</a></li>
27<a class="sub-nav-item" href="{% url event-history-list %}">{% trans "Past Events" %}</a>27<li><a class="sub-nav-item" href="{% url event-history-list %}">{% trans "Past Events" %}</a></li>
28{% endblock %}28{% endblock %}
2929
30{% block content %}30{% block content %}
31<article class="minor-content">31<div class="row">
32<section class="span-6">
32<h2>{% trans "Ubuntu LoCo Global Events" %}33<h2>{% trans "Ubuntu LoCo Global Events" %}
33{% if global_event_list %}34{% if global_event_list %}
34<a class="global_event_ical" href="{% url global-event-list-ical %}">35<a class="global_event_ical" href="{% url global-event-list-ical %}">
@@ -41,13 +42,14 @@
41{% else %}42{% else %}
42</h2><p>{% trans "There are currently no LoCo Global Events" %}</p>43</h2><p>{% trans "There are currently no LoCo Global Events" %}</p>
43{% endif %}44{% endif %}
44</article>45</section>
4546
46<section id="venue-map" class="minor-content alone venue-map"></section>47<section id="venue-map" class="span-6 last alone venue-map"></section>
4748</div>
48<hr class="divide" />49
4950
50<article class="main-content">51<div class="row">
52<section class="span-12">
51<h2>{% trans "Ubuntu LoCo Team Events" %}53<h2>{% trans "Ubuntu LoCo Team Events" %}
52{% if team_event_list %}54{% if team_event_list %}
53<a class="teams_event_ical" href="{% url teams-event-list-ical %}">55<a class="teams_event_ical" href="{% url teams-event-list-ical %}">
@@ -59,6 +61,6 @@
59{% else %}61{% else %}
60</h2><p>{% trans "There are currently no LoCo Team Events" %}</p>62</h2><p>{% trans "There are currently no LoCo Team Events" %}</p>
61{% endif %}63{% endif %}
6264</section>
63</article>65</div>
64{% endblock %}66{% endblock %}
6567
=== modified file 'loco_directory/templates/events/global_event_delete_confirm.html'
--- loco_directory/templates/events/global_event_delete_confirm.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/global_event_delete_confirm.html 2012-06-15 22:38:18 +0000
@@ -8,14 +8,16 @@
8{% endblock %}8{% endblock %}
99
10{% block content %}10{% block content %}
11<article class="main-content">11<div class="row">
12<section class="span-9">
12 <form action="." method="post">13 <form action="." method="post">
13 <fieldset>14 <fieldset>
14 <legend>{% trans "Delete global Event" %}</legend>15 <h3>{% trans "Delete global Event" %}</h3>
15 <label>{% blocktrans with global_event_object.name as eventname %}Do you really want to delete the Global Event: {{eventname}}?{% endblocktrans %}</label>16 <label>{% blocktrans with global_event_object.name as eventname %}Do you really want to delete the Global Event: {{eventname}}?{% endblocktrans %}</label>
16 </fieldset>17 </fieldset>
17 <input type="submit" value="Submit" />18 <input type="submit" value="Submit" />
18 <a href="{{global_event_object.get_absolute_url}}">{% trans "Cancel" %}</a>19 <a href="{{global_event_object.get_absolute_url}}">{% trans "Cancel" %}</a>
19 </form>20 </form>
20</article>21</section>
22</div>
21{% endblock %}23{% endblock %}
2224
=== modified file 'loco_directory/templates/events/global_event_detail.html'
--- loco_directory/templates/events/global_event_detail.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/global_event_detail.html 2012-06-15 22:38:18 +0000
@@ -21,11 +21,11 @@
21{% block title %}{% trans global_event_object.name %} | {% trans "Ubuntu LoCo Team Portal" %} {% endblock %}21{% block title %}{% trans global_event_object.name %} | {% trans "Ubuntu LoCo Team Portal" %} {% endblock %}
2222
23{% block sub_nav_links %}23{% block sub_nav_links %}
24<a class="sub-nav-item" href="{% url event-list %}">{% trans "Back to Events List" %}</a>24<li><a class="sub-nav-item" href="{% url event-list %}">{% trans "Back to Events List" %}</a></li>
25<a class="sub-nav-item" href="{% url team-event-select %}?global_event_id={{global_event_object.id}}">{% trans "Add Team Event" %}</a>25<li><a class="sub-nav-item" href="{% url team-event-select %}?global_event_id={{global_event_object.id}}">{% trans "Add Team Event" %}</a></li>
26{% if user_is_on_lc %}26{% if user_is_on_lc %}
27<a class="sub-nav-item" href="{% url global-event-update global_event_object.id %}">{% trans "Edit Details" %}</a>27<li><a class="sub-nav-item" href="{% url global-event-update global_event_object.id %}">{% trans "Edit Details" %}</a></li>
28<a class="sub-nav-item" href="{% url global-event-delete global_event_object.id %}">{% trans "Delete Event" %}</a>28<li><a class="sub-nav-item" href="{% url global-event-delete global_event_object.id %}">{% trans "Delete Event" %}</a></li>
29{% endif %}29{% endif %}
30{% endblock %}30{% endblock %}
3131
3232
=== modified file 'loco_directory/templates/events/global_event_detail.inc.html'
--- loco_directory/templates/events/global_event_detail.inc.html 2012-02-07 20:10:49 +0000
+++ loco_directory/templates/events/global_event_detail.inc.html 2012-06-15 22:38:18 +0000
@@ -69,7 +69,8 @@
69{% endif %}69{% endif %}
70{% endblock %}70{% endblock %}
7171
72<article class="double-side-content">72<div class="row">
73<section class="span-6">
73 <h2>{{global_event_object.name}}</h2>74 <h2>{{global_event_object.name}}</h2>
74 {% if global_event_object.description %}75 {% if global_event_object.description %}
75 <table id="global-event-basic">76 <table id="global-event-basic">
@@ -86,9 +87,9 @@
86 <div id="photo-feed"></div>87 <div id="photo-feed"></div>
87{% endif %}88{% endif %}
8889
89</article>90</section>
9091
91<div class="single-side-column">92<section class="span-6 last">
92 <section id="venue-map" class="side-content alone venue-map"></section>93 <section id="venue-map" class="side-content alone venue-map"></section>
9394
94 <div class="share">95 <div class="share">
@@ -114,21 +115,24 @@
114{% endif %}115{% endif %}
115116
116{% if global_event_object.microbloghashtag %}117{% if global_event_object.microbloghashtag %}
117 <article class="side-content alone">118 <article class="alone">
118 <h2>{% trans "Microblogging" %} #{{global_event_object.microbloghashtag}}</h2>119 <h2>{% trans "Microblogging" %} #{{global_event_object.microbloghashtag}}</h2>
119 <div class="twidenash" id="{{ global_event_object.microbloghashtag }}"></div>120 <div class="twidenash" id="{{ global_event_object.microbloghashtag }}"></div>
120 </article>121 </article>
121{% endif %}122{% endif %}
122123
124
125</section>
123</div>126</div>
124127
125
126{% if global_event_object.channel %}128{% if global_event_object.channel %}
127<div id="webchat">129<div class="row " id="webchat">
130<section class="span-12">
128 {% if user.is_authenticated %}131 {% if user.is_authenticated %}
129 <iframe src="http://webchat.freenode.net/?channels={{ global_event_object.channel }}&prompt=1&uio=OT10cnVlJjEwPXRydWUmMTE9MjM218&nick={{ user.username|irc }}" width="900" height="400"></iframe>132 <iframe src="http://webchat.freenode.net/?channels={{ global_event_object.channel }}&prompt=1&uio=OT10cnVlJjEwPXRydWUmMTE9MjM218&nick={{ user.username|irc }}" width="900" height="400"></iframe>
130 {% else %}133 {% else %}
131 <iframe src="http://webchat.freenode.net/?channels={{ global_event_object.channel }}&prompt=1&uio=OT10cnVlJjEwPXRydWUmMTE9MjM218&nick=locodir-user" width="900" height="400"></iframe>134 <iframe src="http://webchat.freenode.net/?channels={{ global_event_object.channel }}&prompt=1&uio=OT10cnVlJjEwPXRydWUmMTE9MjM218&nick=locodir-user" width="900" height="400"></iframe>
132 {% endif %}135 {% endif %}
136 </section>
133</div>137</div>
134{% endif %}138{% endif %}
135139
=== modified file 'loco_directory/templates/events/global_event_new.html'
--- loco_directory/templates/events/global_event_new.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/global_event_new.html 2012-06-15 22:38:18 +0000
@@ -18,15 +18,17 @@
18{% endblock %}18{% endblock %}
1919
20{% block content %}20{% block content %}
21<article class="main-content">21<div class="row">
22<section class="span-9">
22 <form action="." method="post">23 <form action="." method="post">
23 <fieldset>24 <fieldset>
24 <legend>{% trans "Add new Global Event" %}</legend>25 <h3>{% trans "Add new Global Event" %}</h3>
25 {{ form.as_template }}26 {{ form.as_template }}
26 </fieldset>27 </fieldset>
27 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 28 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
28 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 29 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
29 </form>30 </form>
30</article>31</section>
32</div>
3133
32{% endblock %}34{% endblock %}
3335
=== modified file 'loco_directory/templates/events/global_event_update.html'
--- loco_directory/templates/events/global_event_update.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/global_event_update.html 2012-06-15 22:38:18 +0000
@@ -16,15 +16,17 @@
16{% endblock %}16{% endblock %}
1717
18{% block content %}18{% block content %}
19<article class="main-content">19<div class="row">
20<section class="span-9">
20 <form action="." method="post">21 <form action="." method="post">
21 <fieldset>22 <fieldset>
22 <legend>{% trans "Update Global Event" %}</legend>23 <h3>{% trans "Update Global Event" %}</h3>
23 {{ form.as_template }}24 {{ form.as_template }}
24 </fieldset>25 </fieldset>
25 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 26 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
26 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 27 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
27 </form>28 </form>
28</article>29</section>
30</div>
2931
30{% endblock %}32{% endblock %}
3133
=== modified file 'loco_directory/templates/events/global_jam_dashboard.html'
--- loco_directory/templates/events/global_jam_dashboard.html 2012-02-09 16:42:49 +0000
+++ loco_directory/templates/events/global_jam_dashboard.html 2012-06-15 22:38:18 +0000
@@ -84,104 +84,102 @@
84{% block title %}{% trans global_event_object.name %} | {% trans "Ubuntu LoCo Team Portal" %} {% endblock %}84{% block title %}{% trans global_event_object.name %} | {% trans "Ubuntu LoCo Team Portal" %} {% endblock %}
8585
86{% block sub_nav_links %}86{% block sub_nav_links %}
87<a class="sub-nav-item" href="{% url global-event-detail global_event_object.id %}">{% trans "Show Event Details" %}</a>87 <li><a class="sub-nav-item" href="{% url global-event-detail global_event_object.id %}">{% trans "Show Event Details" %}</a></li>
88<a class="sub-nav-item" href="{% url team-event-select %}?global_event_id={{global_event_object.id}}">{% trans "Add Team Event" %}</a>88 <li><a class="sub-nav-item" href="{% url team-event-select %}?global_event_id={{global_event_object.id}}">{% trans "Add Team Event" %}</a></li>
89{% if user_is_on_lc %}89 {% if user_is_on_lc %}
90<a class="sub-nav-item" href="{% url global-event-update global_event_object.id %}">{% trans "Edit Details" %}</a>90 <li><a class="sub-nav-item" href="{% url global-event-update global_event_object.id %}">{% trans "Edit Details" %}</a></li>
91<a class="sub-nav-item" href="{% url global-event-delete global_event_object.id %}">{% trans "Delete Event" %}</a>91 <li><a class="sub-nav-item" href="{% url global-event-delete global_event_object.id %}">{% trans "Delete Event" %}</a></li>
92{% endif %}92 {% endif %}
93{% endblock %}93{% endblock %}
9494
95{% block content %}95{% block content %}
9696
97<article class="double-side-content">97<div class="row">
98 {% if global_event_object.activities %}98 <section class="span-6">
99 {{ global_event_object.activities|markdown }}99 {% if global_event_object.activities %}
100 {% endif %}100 {{ global_event_object.activities|markdown }}
101101 {% endif %}
102{% if global_event_object.channel %}102
103<div>103 {% if global_event_object.channel %}
104 {% if user.is_authenticated %}104 <div>
105 <iframe src="http://webchat.freenode.net/?channels={{ global_event_object.channel }}&prompt=1&uio=OT10cnVlJjEwPXRydWUmMTE9MzEc5&nick={{ user.username|irc }}" width="600" height="400"></iframe>105 {% if user.is_authenticated %}
106 {% else %}106 <iframe src="http://webchat.freenode.net/?channels={{ global_event_object.channel }}&prompt=1&uio=OT10cnVlJjEwPXRydWUmMTE9MzEc5&nick={{ user.username|irc }}" width="600" height="400"></iframe>
107 <iframe src="http://webchat.freenode.net/?channels={{ global_event_object.channel }}&prompt=1&uio=OT10cnVlJjEwPXRydWUmMTE9MzEc5&nick=locodir-user" width="600" height="400"></iframe>107 {% else %}
108 {% endif %}108 <iframe src="http://webchat.freenode.net/?channels={{ global_event_object.channel }}&prompt=1&uio=OT10cnVlJjEwPXRydWUmMTE9MzEc5&nick=locodir-user" width="600" height="400"></iframe>
109</div>109 {% endif %}
110{% endif %}110 </div>
111111 {% endif %}
112{% if global_event_object.pictag %}112
113 <article class="alone">113 {% if global_event_object.pictag %}
114 <h2>{% trans "Photos" %} #{{global_event_object.pictag}}114 <article class="alone">
115 <a href="http://www.flickr.com/search/?w=all&q={{ global_event_object.pictag }}&m=tags">115 <h2>{% trans "Photos" %} #{{global_event_object.pictag}}
116 <img src="{{MEDIA_URL}}img/flickr.ico" alt="{{ global_event_object.pictag }} on Flickr" />116 <a href="http://www.flickr.com/search/?w=all&q={{ global_event_object.pictag }}&m=tags">
117 </a>117 <img src="{{MEDIA_URL}}img/flickr.ico" alt="{{ global_event_object.pictag }} on Flickr" />
118 <a href="http://picasaweb.google.com/lh/view?tags=%22{{ global_event_object.pictag }}%22&psc=G#">118 </a>
119 <img src="{{MEDIA_URL}}img/picasa.ico" alt="{{ global_event_object.pictag }} on Picasa" />119 <a href="http://picasaweb.google.com/lh/view?tags=%22{{ global_event_object.pictag }}%22&psc=G#">
120 </a>120 <img src="{{MEDIA_URL}}img/picasa.ico" alt="{{ global_event_object.pictag }} on Picasa" />
121 <a href="http://pix.ie/explore/tag/{{ global_event_object.pictag }}">121 </a>
122 <img src="{{MEDIA_URL}}img/pixie.ico" alt="{{ global_event_object.pictag }} on Pix.ie" />122 <a href="http://pix.ie/explore/tag/{{ global_event_object.pictag }}">
123 </a>123 <img src="{{MEDIA_URL}}img/pixie.ico" alt="{{ global_event_object.pictag }} on Pix.ie" />
124 </h2>124 </a>
125 <div id="photo-feed"></div>125 </h2>
126 </article>126 <div id="photo-feed"></div>
127{% endif %}127 </article>
128128 {% endif %}
129</article>129 </section>
130130
131<div class="single-side-column">131 <section class="span-6 last">
132 <article>132 <article>
133 <h2>{{ global_event_object.name }}</h2>133 <h2>{{ global_event_object.name }}</h2>
134134 {% if global_event_object.date_begin %}
135 {% if global_event_object.date_begin %}135 <p>
136 <p>136 {% ifequal global_event_object.date_begin|date global_event_object.date_end|date %}
137 {% ifequal global_event_object.date_begin|date global_event_object.date_end|date %}137 {{ global_event_object.date_begin|date:"D, d N Y H:i" }} - {{ global_event_object.date_end|date:"H:i T"}}
138 {{ global_event_object.date_begin|date:"D, d N Y H:i" }} - {{ global_event_object.date_end|date:"H:i T"}}138 {% else %}
139 {% else %}139 {{ global_event_object.date_begin|date:"D, d N Y H:i" }} - {{ global_event_object.date_end|date:"D, d N Y H:i T"}}
140 {{ global_event_object.date_begin|date:"D, d N Y H:i" }} - {{ global_event_object.date_end|date:"D, d N Y H:i T"}}140 {% endifequal %}
141 {% endifequal %}141 </p>
142 </p>142 {% endif %}
143 {% endif %}143 {% if global_event_object.announce %}
144144 <p>
145 {% if global_event_object.announce %}145 <a href="{{ global_event_object.announce }}">{{global_event_object.announce }}</a>
146 <p>146 </p>
147 <a href="{{ global_event_object.announce }}">{{global_event_object.announce }}</a>147 {% endif %}
148 </p>148 </article>
149 {% endif %}
150 </article>
151 149
152 <article class="side-content share">150 <article class="share">
153 <a href="http://www.reddit.com/submit" onclick="window.location = 'http://www.reddit.com/submit?url=' + encodeURIComponent(window.location); return false"> <img style="padding-bottom: 4px;"src="http://www.reddit.com/static/spreddit7.gif" alt="submit to reddit" border="0" /></a><br />151 <a href="http://www.reddit.com/submit" onclick="window.location = 'http://www.reddit.com/submit?url=' + encodeURIComponent(window.location); return false"> <img style="padding-bottom: 4px;"src="http://www.reddit.com/static/spreddit7.gif" alt="submit to reddit" border="0" /></a><br />
154 <div id="fb-root"></div>152 <div id="fb-root"></div>
155 <script>(function(d, s, id) {153 <script>(function(d, s, id) {
156 var js, fjs = d.getElementsByTagName(s)[0];154 var js, fjs = d.getElementsByTagName(s)[0];
157 if (d.getElementById(id)) {return;}155 if (d.getElementById(id)) {return;}
158 js = d.createElement(s); js.id = id;156 js = d.createElement(s); js.id = id;
159 js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=127188230723188";157 js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=127188230723188";
160 fjs.parentNode.insertBefore(js, fjs);158 fjs.parentNode.insertBefore(js, fjs);
161 }(document, 'script', 'facebook-jssdk'));</script>159 }(document, 'script', 'facebook-jssdk'));</script>
162 <div class="fb-like" data-href="http://loco.ubuntu.com{% url global-event-detail global_event_object.id %}" data-send="false" data-layout="box_count" data-width="40" data-show-faces="false" data-font="arial"></div>160 <div class="fb-like" data-href="http://loco.ubuntu.com{% url global-event-detail global_event_object.id %}" data-send="false" data-layout="box_count" data-width="40" data-show-faces="false" data-font="arial"></div>
163 <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>161 <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
164 <g:plusone size="tall"></g:plusone>162 <g:plusone size="tall"></g:plusone>
165 <a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-lang="en">Tweet</a>163 <a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-lang="en">Tweet</a>
166 <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>164 <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
167 <script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script>165 <script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script>
168 </article>166 </article>
169167
170{% if global_event_object.microbloghashtag %}168 {% if global_event_object.microbloghashtag %}
171 <article class="side-content alone">169 <article class=" alone">
172 <h2>#{{global_event_object.microbloghashtag}}170 <h2>#{{global_event_object.microbloghashtag}}
173 <a href="http://identi.ca/tag/{{ global_event_object.microbloghashtag }}">171 <a href="http://identi.ca/tag/{{ global_event_object.microbloghashtag }}">
174 <img src="{{MEDIA_URL}}img/identica.ico" alt="{{ global_event_object.microbloghashtag }} on Identi.ca" />172 <img src="{{MEDIA_URL}}img/identica.ico" alt="{{ global_event_object.microbloghashtag }} on Identi.ca" />
175 </a>173 </a>
176 <a href="http://twitter.com/#search?q=%23{{ global_event_object.microbloghashtag }}">174 <a href="http://twitter.com/#search?q=%23{{ global_event_object.microbloghashtag }}">
177 <img src="{{MEDIA_URL}}img/twitter.ico" alt="{{ global_event_object.microbloghashtag }} on Twitter" />175 <img src="{{MEDIA_URL}}img/twitter.ico" alt="{{ global_event_object.microbloghashtag }} on Twitter" />
178 </a>176 </a>
179 </h2>177 </h2>
180 <div class="twidenash" id="{{global_event_object.microbloghashtag}}"></div>178 <div class="twidenash" id="{{global_event_object.microbloghashtag}}"></div>
181 </article>179 </article>
182{% endif %}180 {% endif %}
183181
182 </section>
184</div>183</div>
185184
186
187{% endblock %}185{% endblock %}
188186
=== modified file 'loco_directory/templates/events/team_event_comment_new.html'
--- loco_directory/templates/events/team_event_comment_new.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/team_event_comment_new.html 2012-06-15 22:38:18 +0000
@@ -16,18 +16,18 @@
16{% endblock %}16{% endblock %}
1717
18{% block content %}18{% block content %}
19<article class="main-content">19<div class="row">
20<section class="span-9">
20 <form action="." method="post">21 <form action="." method="post">
21 <fieldset>22 <fieldset>
22 <legend>{% trans "Team Event Comment" %}</legend>23 <h3>{% trans "Team Event Comment" %}</h3>
23 {{ form.as_template }}24 {{ form.as_template }}
24 </fieldset>25 </fieldset>
25 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 26 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
26 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 27 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
27 </form>28 </form>
28</article>29</section></div>
2930
30{% include "events/team_event_detail.inc.html" %}31{% include "events/team_event_detail.inc.html" %}
3132
32
33{% endblock %}33{% endblock %}
3434
=== modified file 'loco_directory/templates/events/team_event_delete_confirm.html'
--- loco_directory/templates/events/team_event_delete_confirm.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/team_event_delete_confirm.html 2012-06-15 22:38:18 +0000
@@ -8,14 +8,16 @@
8{% endblock %}8{% endblock %}
99
10{% block content %}10{% block content %}
11<article class="main-content">11<div class="row">
12<section class="span-9">
12 <form action="." method="post">13 <form action="." method="post">
13 <fieldset>14 <fieldset>
14 <legend>{% trans "Delete Team Event" %}</legend>15 <h3>{% trans "Delete Team Event" %}</h3>
15 <label>{% blocktrans with team_event_object.name as eventname %}Do you really want to delete the Team Event: {{eventname}}?{% endblocktrans %}</label>16 <label>{% blocktrans with team_event_object.name as eventname %}Do you really want to delete the Team Event: {{eventname}}?{% endblocktrans %}</label>
16 </fieldset>17 </fieldset>
17 <input type="submit" value="{% trans 'Delete' %}" />18 <input type="submit" value="{% trans 'Delete' %}" />
18 <a href="{{team_event_object.get_absolute_url}}">{% trans "Cancel" %}</a>19 <a href="{{team_event_object.get_absolute_url}}">{% trans "Cancel" %}</a>
19 </form>20 </form>
20</article>21</section>
22</div>
21{% endblock %}23{% endblock %}
2224
=== modified file 'loco_directory/templates/events/team_event_detail.html'
--- loco_directory/templates/events/team_event_detail.html 2011-11-14 21:59:40 +0000
+++ loco_directory/templates/events/team_event_detail.html 2012-06-15 22:38:18 +0000
@@ -22,17 +22,17 @@
22{% endblock %}22{% endblock %}
2323
24{% block sub_nav_links %}24{% block sub_nav_links %}
25{% for team in team_event_object.teams.all %}<a class="sub-nav-item" href="{{ team.get_absolute_url }}">{{ team.name }}</a>{% endfor %}25{% for team in team_event_object.teams.all %}<li><a class="sub-nav-item" href="{{ team.get_absolute_url }}">{{ team.name }}</a></li>{% endfor %}
2626
27<a class="sub-nav-item" href="{% url team-event-comment-new team_event_object.first_team.lp_name team_event_object.id %}#comment">{% trans "Add Comment" %}</a>27<li><a class="sub-nav-item" href="{% url team-event-comment-new team_event_object.first_team.lp_name team_event_object.id %}#comment">{% trans "Add Comment" %}</a></li>
28{% if user.is_authenticated %}28{% if user.is_authenticated %}
29 {% if user_is_team_member %}29 {% if user_is_team_member %}
30 <a class="sub-nav-item" href="{% url team-event-update team_event_object.first_team.lp_name team_event_object.id %}">{% trans "Edit Details" %}</a>30 <li><a class="sub-nav-item" href="{% url team-event-update team_event_object.first_team.lp_name team_event_object.id %}">{% trans "Edit Details" %}</a></li>
31 <a class="sub-nav-item" href="{% url team-event-delete team_event_object.first_team.lp_name team_event_object.id %}">{% trans "Delete Event" %}</a>31 <li><a class="sub-nav-item" href="{% url team-event-delete team_event_object.first_team.lp_name team_event_object.id %}">{% trans "Delete Event" %}</a></li>
32 <a class="sub-nav-item" href="{% url team-event-copy team_event_object.first_team.lp_name team_event_object.id %}">{% trans "Copy Event" %}</a>32 <li><a class="sub-nav-item" href="{% url team-event-copy team_event_object.first_team.lp_name team_event_object.id %}">{% trans "Copy Event" %}</a></li>
33 {% endif %}33 {% endif %}
34{% endif %}34{% endif %}
35<a class="sub-nav-item" href="{% url event-ical team_event_object.first_team.lp_name team_event_object.id %}">{% trans "iCal Feed" %}</a>35<li><a class="sub-nav-item" href="{% url event-ical team_event_object.first_team.lp_name team_event_object.id %}">{% trans "iCal Feed" %}</a></li>
36{% endblock %}36{% endblock %}
3737
38{% block content %}38{% block content %}
3939
=== modified file 'loco_directory/templates/events/team_event_detail.inc.html'
--- loco_directory/templates/events/team_event_detail.inc.html 2012-02-07 14:36:29 +0000
+++ loco_directory/templates/events/team_event_detail.inc.html 2012-06-15 22:38:18 +0000
@@ -1,5 +1,6 @@
1{% load i18n markup %}1{% load i18n markup %}
2<article class="double-side-content">2<div class="row">
3<section class="span-6">
3 <h2>{{team_event_object.name}}</h2>4 <h2>{{team_event_object.name}}</h2>
4 {% if team_event_object.description %}5 {% if team_event_object.description %}
5 <table id="team-event-basic">6 <table id="team-event-basic">
@@ -10,9 +11,8 @@
10 {% endif %}11 {% endif %}
11 <h3>{% trans "Details" %}</h3>12 <h3>{% trans "Details" %}</h3>
12 {% include "events/team_event_detail_basic.inc.html" %}13 {% include "events/team_event_detail_basic.inc.html" %}
13</article>14</section>
1415<section class="span-6 last">
15<article class="side-content attendee">
16 <h3>16 <h3>
17 {% if team_event_object.registration %}17 {% if team_event_object.registration %}
18 <a class="rsvp-link" href="{{team_event_object.registration}}" target="external_registration">{% trans 'Register' %}</a>18 <a class="rsvp-link" href="{{team_event_object.registration}}" target="external_registration">{% trans 'Register' %}</a>
@@ -25,11 +25,14 @@
25 {% endif %}25 {% endif %}
26 </h3>26 </h3>
27 {% include "events/team_event_detail_attendees.inc.html" %}27 {% include "events/team_event_detail_attendees.inc.html" %}
28</article>28</section>
29</div>
2930
30{% if team_event_object.teameventcomment_set.all %}31{% if team_event_object.teameventcomment_set.all %}
31<article class="main-content">32<div class="row">
33<section class="span-12">
32 <h3>{% blocktrans with team_event_object.teameventcomment_set.all.count as comment_count %}Event Comments ({{ comment_count }}){% endblocktrans %}</h3>34 <h3>{% blocktrans with team_event_object.teameventcomment_set.all.count as comment_count %}Event Comments ({{ comment_count }}){% endblocktrans %}</h3>
33 {% include "events/team_event_detail_comments.inc.html" %}35 {% include "events/team_event_detail_comments.inc.html" %}
34</article>36</section>
37</div>
35{% endif %}38{% endif %}
3639
=== modified file 'loco_directory/templates/events/team_event_list.inc.html'
--- loco_directory/templates/events/team_event_list.inc.html 2011-11-13 11:43:59 +0000
+++ loco_directory/templates/events/team_event_list.inc.html 2012-06-15 22:38:18 +0000
@@ -1,5 +1,5 @@
1{% load i18n %}1{% load i18n %}
2<table id="team_event_list" class="basic wide">2<table id="team_event_list" class="basic">
3 <thead>3 <thead>
4 <tr id="team_event_list_header">4 <tr id="team_event_list_header">
5 <th class="event_name">{% trans "Event Name" %}</th>5 <th class="event_name">{% trans "Event Name" %}</th>
66
=== modified file 'loco_directory/templates/events/team_event_new.html'
--- loco_directory/templates/events/team_event_new.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/team_event_new.html 2012-06-15 22:38:18 +0000
@@ -24,15 +24,17 @@
24{% endblock %}24{% endblock %}
2525
26{% block content %}26{% block content %}
27<article class="main-content">27<div class="row">
28<section class="span-9">
28 <form action="." method="post">29 <form action="." method="post">
29 <fieldset>30 <fieldset>
30 <legend>{% trans "Add new Team Event for " %}{{ team_object.name}}<span class="supporting">{% trans 'is required' %}</span></legend>31 <h3>{% trans "Add new Team Event for " %}{{ team_object.name}}<span class="supporting">{% trans 'is required' %}</span></h3>
31 {{ form.as_template }}32 {{ form.as_template }}
32 </fieldset>33 </fieldset>
33 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 34 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
34 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 35 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
35 </form>36 </form>
36</article>37</section>
38</div>
3739
38{% endblock %}40{% endblock %}
3941
=== modified file 'loco_directory/templates/events/team_event_new_select.html'
--- loco_directory/templates/events/team_event_new_select.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/team_event_new_select.html 2012-06-15 22:38:18 +0000
@@ -4,7 +4,8 @@
4{% block page_name %}{% trans "New Team Event" %}{% endblock %}4{% block page_name %}{% trans "New Team Event" %}{% endblock %}
55
6{% block content %}6{% block content %}
7<article class="main-content alone">7<div class="row">
8<section class="span-9">
8<h2>{% trans "Select a Team to add an Event for" %}:</h2>9<h2>{% trans "Select a Team to add an Event for" %}:</h2>
9<p>10<p>
10<ul>11<ul>
@@ -13,6 +14,7 @@
13{% endfor %}14{% endfor %}
14</ul>15</ul>
15</p>16</p>
16</article>17</section>
18</div>
1719
18{% endblock %}20{% endblock %}
1921
=== modified file 'loco_directory/templates/events/team_event_register.html'
--- loco_directory/templates/events/team_event_register.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/team_event_register.html 2012-06-15 22:38:18 +0000
@@ -8,10 +8,11 @@
8{% endblock %}8{% endblock %}
99
10{% block content %}10{% block content %}
11<article class="main-content">11<div class="row">
12<section class="span-9">
12 <form action="." method="post">13 <form action="." method="post">
13 <fieldset>14 <fieldset>
14 <legend>{% trans "Register for event " %}</legend>15 <h3>{% trans "Register for event " %}</h3>
15 {% if is_past_event %}16 {% if is_past_event %}
16 <p><strong>{% trans "This event has finished!" %}</strong> {% trans "Feel free to change your registration status to reflect whether you actually attended; we're just making sure you know you're not signing up for an upcoming event :)" %}</p>17 <p><strong>{% trans "This event has finished!" %}</strong> {% trans "Feel free to change your registration status to reflect whether you actually attended; we're just making sure you know you're not signing up for an upcoming event :)" %}</p>
17 {% endif %}18 {% endif %}
@@ -20,6 +21,7 @@
20 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 21 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
21 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 22 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
22 </form>23 </form>
23</article>24</section>
25</div>
2426
25{% endblock %}27{% endblock %}
2628
=== modified file 'loco_directory/templates/events/team_event_update.html'
--- loco_directory/templates/events/team_event_update.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/events/team_event_update.html 2012-06-15 22:38:18 +0000
@@ -16,15 +16,17 @@
16{% endblock %}16{% endblock %}
1717
18{% block content %}18{% block content %}
19<article class="main-content">19<div class="row">
20<section class="span-9">
20 <form action="." method="post">21 <form action="." method="post">
21 <fieldset>22 <fieldset>
22 <legend>{% trans "Update Team Event" %}</legend>23 <h3>{% trans "Update Team Event" %}</h3>
23 {{ form.as_template }}24 {{ form.as_template }}
24 </fieldset>25 </fieldset>
25 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 26 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
26 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 27 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
27 </form>28 </form>
28</article>29</section>
30</div>
2931
30{% endblock %}32{% endblock %}
3133
=== modified file 'loco_directory/templates/index.html'
--- loco_directory/templates/index.html 2011-10-10 14:16:42 +0000
+++ loco_directory/templates/index.html 2012-06-15 22:38:18 +0000
@@ -2,8 +2,8 @@
2{% load i18n %}2{% load i18n %}
33
4{% block sub_nav_links %}4{% block sub_nav_links %}
5<a class="sub-nav-item" href="{% url about_loco %}">{% trans "About Local Community (LoCo) Teams" %}</a>5<li><a class="sub-nav-item" href="{% url about_loco %}">{% trans "About Local Community (LoCo) Teams" %}</a></li>
6<a class="sub-nav-item" href="{% url using_locodir %}">{% trans "Using the LoCo Team Portal" %}</a>6<li><a class="sub-nav-item" href="{% url using_locodir %}">{% trans "Using the LoCo Team Portal" %}</a></li>
7{% endblock %}7{% endblock %}
88
9{% block extrahead %}{{block.super}}9{% block extrahead %}{{block.super}}
@@ -20,9 +20,9 @@
20{% endblock %}20{% endblock %}
2121
22{% block content %}22{% block content %}
2323<div class="row">
24<section class="span-12">
24<h1 class="centered">{% trans "Ubuntu Local Community (LoCo) Team Portal" %}</h1>25<h1 class="centered">{% trans "Ubuntu Local Community (LoCo) Team Portal" %}</h1>
25 <article class="main-content">
26 <ul id="continents">26 <ul id="continents">
27 <li id="northamerica">27 <li id="northamerica">
28 <a href="{% url team-list %}#North%20America">28 <a href="{% url team-list %}#North%20America">
@@ -51,12 +51,10 @@
51 </ul>51 </ul>
52 <br />52 <br />
53 <p style="text-align: center; font-weight: bold;">{% trans "Click on your continent to find teams near you." %}</p>53 <p style="text-align: center; font-weight: bold;">{% trans "Click on your continent to find teams near you." %}</p>
54</article>54</section></div>
5555
56<hr class="divide" />56<div class="row">
57<br />57<section class="span-8">
58
59<section class="double-side-content">
60 <h2>{% trans "Latest blog articles" %}</h2>58 <h2>{% trans "Latest blog articles" %}</h2>
61 {% for article in articles %}59 {% for article in articles %}
62 <article class="blog-entry">60 <article class="blog-entry">
@@ -81,15 +79,13 @@
81 </article>79 </article>
82 {% endfor %}80 {% endfor %}
83</section>81</section>
8482<section class="span-4 last">
85<article class="side-content">
86 <h2>{% if team_event_count %}{{ team_event_count }} {% endif %}{% trans "Upcoming Events" %}</h2>83 <h2>{% if team_event_count %}{{ team_event_count }} {% endif %}{% trans "Upcoming Events" %}</h2>
87 <a href="{% url event-list %}"><img src="{{ MEDIA_URL }}img/home-map.png" /></a>84 <a href="{% url event-list %}"><img src="{{ MEDIA_URL }}img/home-map.png" /></a>
88</article>
8985
90<article class="side-content">
91 <h2>{% trans "Latest social messages" %}</h2>86 <h2>{% trans "Latest social messages" %}</h2>
92 <div class="twidenash" id="locoteams"></div>87 <div class="twidenash" id="locoteams"></div>
93</article>88</section>
89</div>
9490
95{% endblock %}91{% endblock %}
9692
=== modified file 'loco_directory/templates/irc_chat.html'
--- loco_directory/templates/irc_chat.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/irc_chat.html 2012-06-15 22:38:18 +0000
@@ -4,15 +4,16 @@
4{% block page_name %}{% trans "Ubuntu LoCo Teams IRC Chat" %}{% endblock %}4{% block page_name %}{% trans "Ubuntu LoCo Teams IRC Chat" %}{% endblock %}
55
6{% block content %}6{% block content %}
77<div class="row">
8 <section class="span-12">
8<h1>{% trans "Ubuntu LoCo Teams IRC Chat" %}</h1>9<h1>{% trans "Ubuntu LoCo Teams IRC Chat" %}</h1>
910
10<article class="main-content">
11 <p>{% trans "Why not join other team members from different LoCos around the world on IRC in the #ubuntu-locoteams IRC channel. This is where LoCo enthusiasts like to hang out. It is open to everyone, you don't have to be a leader. This is the perfect channel to ask questions about LoCo team issues or planning events. It is also a great place to talk and socialize with members of other LoCo teams." %}</p>11 <p>{% trans "Why not join other team members from different LoCos around the world on IRC in the #ubuntu-locoteams IRC channel. This is where LoCo enthusiasts like to hang out. It is open to everyone, you don't have to be a leader. This is the perfect channel to ask questions about LoCo team issues or planning events. It is also a great place to talk and socialize with members of other LoCo teams." %}</p>
12 <p>{% trans "It's a great place to chat to with members from different teams, get ideas from them and learn how other teams interact. Why not join, idle and learn. Encourage other members of your LoCo to join this channel by mentioning it on your wiki page or in your IRC channel's topic." %}</p>12 <p>{% trans "It's a great place to chat to with members from different teams, get ideas from them and learn how other teams interact. Why not join, idle and learn. Encourage other members of your LoCo to join this channel by mentioning it on your wiki page or in your IRC channel's topic." %}</p>
13</article>13</section></div>
1414
15<article class="main-content alone">15<div class="row">
16 <section class="span-12 alone">
16 <h2>Webchat</h2>17 <h2>Webchat</h2>
17 <br />18 <br />
18 <div id="ircchat">19 <div id="ircchat">
@@ -22,6 +23,6 @@
22 <iframe src="http://webchat.freenode.net/?channels=#ubuntu-locoteams&prompt=1&uio=MTE9MzE28&nick=locodir-user" width="900" height="400"></iframe>23 <iframe src="http://webchat.freenode.net/?channels=#ubuntu-locoteams&prompt=1&uio=MTE9MzE28&nick=locodir-user" width="900" height="400"></iframe>
23 {% endif %}24 {% endif %}
24 </div>25 </div>
25</article>26</section></div>
2627
27{% endblock %}28{% endblock %}
2829
=== modified file 'loco_directory/templates/loco_council.html'
--- loco_directory/templates/loco_council.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/loco_council.html 2012-06-15 22:38:18 +0000
@@ -4,13 +4,13 @@
4{% block page_name %}{% trans "Ubuntu LoCo Council" %}{% endblock %}4{% block page_name %}{% trans "Ubuntu LoCo Council" %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7 <a class="sub-nav-item" href="approved">{% trans "Approved Teams" %}</a>7 <li><a class="sub-nav-item" href="approved">{% trans "Approved Teams" %}</a></li>
8{% endblock %}8{% endblock %}
99
10{% block content %}10{% block content %}
1111<div class="row">
12 <section class="span-12">
12 <h1>{% trans "Ubuntu LoCo Council" %}</h1>13 <h1>{% trans "Ubuntu LoCo Council" %}</h1>
13 <article class="main-content">
14 <p>14 <p>
15 {% trans "The Ubuntu LoCo Council is comprised of elected, dedicated members of the Ubuntu Community. They have diverse backgrounds, but have a firm understanding of what makes up successful LoCos. The LoCo Council was set up to govern Ubuntu LoCo teams, and utilizing their past experiences, provide guidance and help when needed to these teams and lead them by example." %}15 {% trans "The Ubuntu LoCo Council is comprised of elected, dedicated members of the Ubuntu Community. They have diverse backgrounds, but have a firm understanding of what makes up successful LoCos. The LoCo Council was set up to govern Ubuntu LoCo teams, and utilizing their past experiences, provide guidance and help when needed to these teams and lead them by example." %}
16 </p>16 </p>
@@ -41,5 +41,5 @@
41 {% endwith %}41 {% endwith %}
42 {% endwith %}42 {% endwith %}
43 </p>43 </p>
44 </article>44 </section></div>
45{% endblock %}45{% endblock %}
4646
=== modified file 'loco_directory/templates/loco_setup.html'
--- loco_directory/templates/loco_setup.html 2012-05-27 23:17:17 +0000
+++ loco_directory/templates/loco_setup.html 2012-06-15 22:38:18 +0000
@@ -4,12 +4,13 @@
4{% block page_name %}{% trans "Setting up a LoCo Team" %}{% endblock %}4{% block page_name %}{% trans "Setting up a LoCo Team" %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7<a class="sub-nav-item" href="{% url about_loco %}">{% trans "About Local Community (LoCo) Teams" %}</a>7<li><a class="sub-nav-item" href="{% url about_loco %}">{% trans "About Local Community (LoCo) Teams" %}</a></li>
8{% endblock %}8{% endblock %}
99
10{% block content %}10{% block content %}
1111
12<article class="main-content">12<div class="row">
13 <section class="span-12">
13 <h2>{% trans "Setting up a Local Community (LoCo) Team" %}</h2>14 <h2>{% trans "Setting up a Local Community (LoCo) Team" %}</h2>
14 <p>{% blocktrans %}15 <p>{% blocktrans %}
15This page serves to help people who want to set up a LoCo Team in their16This page serves to help people who want to set up a LoCo Team in their
@@ -32,9 +33,10 @@
32Community which is one of the things that makes Ubuntu great. The LoCos are33Community which is one of the things that makes Ubuntu great. The LoCos are
33a very important part of the Ubuntu Community.34a very important part of the Ubuntu Community.
34 {% endblocktrans %}</p>35 {% endblocktrans %}</p>
35</article>36</section></div>
3637
37<article class="main-content">38<div class="row">
39 <section class="span-12">
38 <h2>{% trans "Team naming standards and Setting up your team resources" %}</h2>40 <h2>{% trans "Team naming standards and Setting up your team resources" %}</h2>
3941
40 <h3>{% trans "Team Naming Standard" %}</h3>42 <h3>{% trans "Team Naming Standard" %}</h3>
@@ -116,9 +118,9 @@
116 {% endblocktrans %}</p></dd>118 {% endblocktrans %}</p></dd>
117</dl>119</dl>
118120
119</article>121</section></div>
120122<div class="row">
121<article class="main-content">123 <section class="span-12">
122 <h2>{% trans "So step by step:" %}</h2>124 <h2>{% trans "So step by step:" %}</h2>
123125
124<dl>126<dl>
@@ -160,6 +162,6 @@
160to help you as best we can.162to help you as best we can.
161{% endblocktrans %}</p>163{% endblocktrans %}</p>
162164
163</article>165</section></div>
164166
165{% endblock %}167{% endblock %}
166168
=== modified file 'loco_directory/templates/login_failure.html'
--- loco_directory/templates/login_failure.html 2011-11-12 01:43:27 +0000
+++ loco_directory/templates/login_failure.html 2012-06-15 22:38:18 +0000
@@ -20,7 +20,8 @@
2020
21{% block content %}21{% block content %}
2222
23<article class="main-content">23<div class="row">
24 <section class="span-12">
24 <h2>{{message|safe}}</h2>25 <h2>{{message|safe}}</h2>
2526
26 {% if exception %}27 {% if exception %}
@@ -33,7 +34,7 @@
3334
34 <p>{% trans "If you continue to experience problems with LoCo Team Portal, please " %} <a href='https://bugs.launchpad.net/loco-team-portal/+filebug'>{% trans "Report it!" %}</a>35 <p>{% trans "If you continue to experience problems with LoCo Team Portal, please " %} <a href='https://bugs.launchpad.net/loco-team-portal/+filebug'>{% trans "Report it!" %}</a>
35 </p>36 </p>
36</article>37</section></div>
3738
38{% endblock %}39{% endblock %}
3940
4041
=== modified file 'loco_directory/templates/meetings/agenda_item_delete_confirm.html'
--- loco_directory/templates/meetings/agenda_item_delete_confirm.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/meetings/agenda_item_delete_confirm.html 2012-06-15 22:38:18 +0000
@@ -5,7 +5,7 @@
5{% block page_name %}{% trans "Delete Agenda Item" %}{% endblock %}5{% block page_name %}{% trans "Delete Agenda Item" %}{% endblock %}
66
7{% block sub_nav_links %}7{% block sub_nav_links %}
8<a class="sub-nav-item" href="{% url team-meeting-detail team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Back to Meeting Details" %}</a>8<li><a class="sub-nav-item" href="{% url team-meeting-detail team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Back to Meeting Details" %}</a></li>
9{% endblock %}9{% endblock %}
1010
11{% block extrahead %}{{ block.super }}11{% block extrahead %}{{ block.super }}
@@ -13,10 +13,11 @@
13{% endblock %}13{% endblock %}
1414
15{% block content %}15{% block content %}
16<article class="main-content">16<div class="row">
17<section class="span-9">
17 <form action="." method="post">18 <form action="." method="post">
18 <fieldset>19 <fieldset>
19 <legend>{% trans "Delete Agenda Item" %}</legend>20 <h3>{% trans "Delete Agenda Item" %}</h3>
20 {% if agenda_item_object.children.all %}21 {% if agenda_item_object.children.all %}
21 <p>{% trans 'Deleting this Agenda Item will also delete the following Agenda Items:' %}</p>22 <p>{% trans 'Deleting this Agenda Item will also delete the following Agenda Items:' %}</p>
22 {% recurse item.children.all with agenda_item_object.children.all as item %}23 {% recurse item.children.all with agenda_item_object.children.all as item %}
@@ -37,5 +38,6 @@
37 <input type="submit" value="{% trans 'Delete' %}" />38 <input type="submit" value="{% trans 'Delete' %}" />
38 <a href="{{team_meeting_object.get_absolute_url}}">{% trans "Cancel" %}</a>39 <a href="{{team_meeting_object.get_absolute_url}}">{% trans "Cancel" %}</a>
39 </form>40 </form>
40</article>41</section>
42</div>
41{% endblock %}43{% endblock %}
4244
=== modified file 'loco_directory/templates/meetings/agenda_item_new.html'
--- loco_directory/templates/meetings/agenda_item_new.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/meetings/agenda_item_new.html 2012-06-15 22:38:18 +0000
@@ -4,7 +4,7 @@
4{% block page_name %}{% trans "New Agenda Item" %}{% endblock %}4{% block page_name %}{% trans "New Agenda Item" %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7<a class="sub-nav-item" href="{% url team-meeting-detail team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Back to Meeting Details" %}</a>7<li><a class="sub-nav-item" href="{% url team-meeting-detail team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Back to Meeting Details" %}</a></li>
8{% endblock %}8{% endblock %}
99
10{% block extrahead %}{{ block.super }}10{% block extrahead %}{{ block.super }}
@@ -20,15 +20,17 @@
20{% endblock %}20{% endblock %}
2121
22{% block content %}22{% block content %}
23<article class="main-content">23<div class="row">
24<section class="span-9">
24 <form action="." method="post">25 <form action="." method="post">
25 <fieldset>26 <fieldset>
26 <legend>{% trans "Add new Agenda Item for " %}{{ team_meeting_object.name}}</legend>27 <h3>{% trans "Add new Agenda Item for " %}{{ team_meeting_object.name}}</h3>
27 {{ form.as_template }}28 {{ form.as_template }}
28 </fieldset>29 </fieldset>
29 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 30 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
30 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 31 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
31 </form>32 </form>
32</article>33</section>
34</div>
3335
34{% endblock %}36{% endblock %}
3537
=== modified file 'loco_directory/templates/meetings/agenda_item_update.html'
--- loco_directory/templates/meetings/agenda_item_update.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/meetings/agenda_item_update.html 2012-06-15 22:38:18 +0000
@@ -4,8 +4,8 @@
4{% block page_name %}{% trans "Update Agenda Item" %}{% endblock %}4{% block page_name %}{% trans "Update Agenda Item" %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7<a class="sub-nav-item" href="{% url team-meeting-detail team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Back to Meeting Details" %}</a>7<li><a class="sub-nav-item" href="{% url team-meeting-detail team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Back to Meeting Details" %}</a></li>
8<a class="sub-nav-item" href="{% url agenda-item-delete team_meeting_object.id agenda_item_object.id %}">{% trans "Delete Agenda Item" %}</a>8<li><a class="sub-nav-item" href="{% url agenda-item-delete team_meeting_object.id agenda_item_object.id %}">{% trans "Delete Agenda Item" %}</a></li>
9{% endblock %}9{% endblock %}
1010
11{% block extrahead %}{{ block.super }}11{% block extrahead %}{{ block.super }}
@@ -21,15 +21,17 @@
21{% endblock %}21{% endblock %}
2222
23{% block content %}23{% block content %}
24<article class="main-content">24<div class="row">
25<section class="span-9">
25 <form action="." method="post">26 <form action="." method="post">
26 <fieldset>27 <fieldset>
27 <legend>{% trans "Update Agenda Item" %}</legend>28 <h3>{% trans "Update Agenda Item" %}</h3>
28 {{ form.as_template }}29 {{ form.as_template }}
29 </fieldset>30 </fieldset>
30 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 31 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
31 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" /> 32 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
32 </form>33 </form>
33</article>34 </section>
35</div>
3436
35{% endblock %}37{% endblock %}
3638
=== modified file 'loco_directory/templates/meetings/meeting_history_list.html'
--- loco_directory/templates/meetings/meeting_history_list.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/meetings/meeting_history_list.html 2012-06-15 22:38:18 +0000
@@ -4,11 +4,12 @@
4{% block page_name %}{% trans "Ubuntu Teams Meeting History" %}{% endblock %}4{% block page_name %}{% trans "Ubuntu Teams Meeting History" %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7<a class="sub-nav-item" href="{% url meeting-list %}">{% trans "Back to Meetings List" %}</a>7<li><a class="sub-nav-item" href="{% url meeting-list %}">{% trans "Back to Meetings List" %}</a></li>
8{% endblock %}8{% endblock %}
99
10{% block content %}10{% block content %}
11<article class="main-content">11<div class="row">
12<section class="span-12">
12<h2>{% trans "Ubuntu Teams Meeting History" %}</h2>13<h2>{% trans "Ubuntu Teams Meeting History" %}</h2>
13{% if team_meeting_list %}14{% if team_meeting_list %}
14<p>{% trans "Select a past team meeting below to see more information about it:" %}</p>15<p>{% trans "Select a past team meeting below to see more information about it:" %}</p>
@@ -18,6 +19,6 @@
18{% else %}19{% else %}
19<p>{% trans "There have been no Team Meetings in the past :(" %}</p>20<p>{% trans "There have been no Team Meetings in the past :(" %}</p>
20{% endif %}21{% endif %}
2122</section>
22</article>23</div>
23{% endblock %}24{% endblock %}
2425
=== modified file 'loco_directory/templates/meetings/meeting_list.html'
--- loco_directory/templates/meetings/meeting_list.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/meetings/meeting_list.html 2012-06-15 22:38:18 +0000
@@ -4,12 +4,13 @@
4{% block page_name %}{% trans "Ubuntu Teams Meeting List" %}{% endblock %}4{% block page_name %}{% trans "Ubuntu Teams Meeting List" %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7<a class="sub-nav-item" href="{% url team-meeting-select %}">{% trans "Add Team Meeting" %}</a>7<li><a class="sub-nav-item" href="{% url team-meeting-select %}">{% trans "Add Team Meeting" %}</a></li>
8<a class="sub-nav-item" href="{% url meeting-history-list %}">{% trans "Past Meetings" %}</a>8<li><a class="sub-nav-item" href="{% url meeting-history-list %}">{% trans "Past Meetings" %}</a></li>
9{% endblock %}9{% endblock %}
1010
11{% block content %}11{% block content %}
12<article class="main-content">12<div class="row">
13<section class="span-12">
13<h2>{% trans "Ubuntu Teams Meetings" %}14<h2>{% trans "Ubuntu Teams Meetings" %}
14{% if team_meeting_list %}15{% if team_meeting_list %}
15<a class="teams_meeting_ical" href="{% url teams-meeting-list-ical %}">16<a class="teams_meeting_ical" href="{% url teams-meeting-list-ical %}">
@@ -22,5 +23,6 @@
22</h2><p>{% trans "There are currently no Team Meetings" %}</p>23</h2><p>{% trans "There are currently no Team Meetings" %}</p>
23{% endif %}24{% endif %}
2425
25</article>26</section>
27</div>
26{% endblock %}28{% endblock %}
2729
=== modified file 'loco_directory/templates/meetings/team_meeting_delete_confirm.html'
--- loco_directory/templates/meetings/team_meeting_delete_confirm.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/meetings/team_meeting_delete_confirm.html 2012-06-15 22:38:18 +0000
@@ -8,14 +8,16 @@
8{% endblock %}8{% endblock %}
99
10{% block content %}10{% block content %}
11<article class="main-content">11<div class="row">
12<section class="span-9">
12 <form action="." method="post">13 <form action="." method="post">
13 <fieldset>14 <fieldset>
14 <legend>{% trans "Delete Team Meeting" %}</legend>15 <h3>{% trans "Delete Team Meeting" %}</h3>
15 <label>{% blocktrans with team_meeting_object.name as meetingname %}Do you really want to delete the Team Meeting: {{meetingname}}?{% endblocktrans %}</label>16 <label>{% blocktrans with team_meeting_object.name as meetingname %}Do you really want to delete the Team Meeting: {{meetingname}}?{% endblocktrans %}</label>
16 </fieldset>17 </fieldset>
17 <input type="submit" value="Submit" />18 <input type="submit" value="Submit" />
18 <a href="{{team_meeting_object.get_absolute_url}}">{% trans "Cancel" %}</a>19 <a href="{{team_meeting_object.get_absolute_url}}">{% trans "Cancel" %}</a>
19 </form>20 </form>
20</article>21</section>
22</div>
21{% endblock %}23{% endblock %}
2224
=== modified file 'loco_directory/templates/meetings/team_meeting_detail.html'
--- loco_directory/templates/meetings/team_meeting_detail.html 2011-11-12 18:35:35 +0000
+++ loco_directory/templates/meetings/team_meeting_detail.html 2012-06-15 22:38:18 +0000
@@ -12,15 +12,15 @@
12{% endblock %}12{% endblock %}
1313
14{% block sub_nav_links %}14{% block sub_nav_links %}
15{% for team in team_meeting_object.teams.all %}<a class="sub-nav-item" href="{{ team.get_absolute_url }}">{{ team.name }}</a>{% endfor %}15{% for team in team_meeting_object.teams.all %}<li><a class="sub-nav-item" href="{{ team.get_absolute_url }}">{{ team.name }}</a>{% endfor %}</li>
16{% if user.is_authenticated %}16{% if user.is_authenticated %}
17 {% if user_is_team_member %}17 {% if user_is_team_member %}
18 <a class="sub-nav-item" href="{% url team-meeting-update team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Edit Details" %}</a>18 <li><a class="sub-nav-item" href="{% url team-meeting-update team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Edit Details" %}</a></li>
19 <a class="sub-nav-item" href="{% url team-meeting-delete team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Delete Meeting" %}</a>19 <li><a class="sub-nav-item" href="{% url team-meeting-delete team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Delete Meeting" %}</a></li>
20 <a class="sub-nav-item" href="{% url team-meeting-copy team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Copy Meeting" %}</a>20 <li><a class="sub-nav-item" href="{% url team-meeting-copy team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "Copy Meeting" %}</a></li>
21 {% endif %}21 {% endif %}
22{% endif %}22{% endif %}
23<a class="sub-nav-item" href="{% url meeting-ical team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "iCal Feed" %}</a>23<li><a class="sub-nav-item" href="{% url meeting-ical team_meeting_object.first_team.lp_name team_meeting_object.id %}">{% trans "iCal Feed" %}</a></li>
24{% endblock %}24{% endblock %}
2525
26{% block content %}26{% block content %}
2727
=== modified file 'loco_directory/templates/meetings/team_meeting_detail.inc.html'
--- loco_directory/templates/meetings/team_meeting_detail.inc.html 2011-02-03 01:43:39 +0000
+++ loco_directory/templates/meetings/team_meeting_detail.inc.html 2012-06-15 22:38:18 +0000
@@ -1,17 +1,22 @@
1{% load i18n %}1{% load i18n %}
2<article class="main-content">2<div class="row">
3 <section class="span-12">
3 <h2>{{team_meeting_object.name}}</h2>4 <h2>{{team_meeting_object.name}}</h2>
45
5 <h3>{% trans "Details" %}</h3>6 <h3>{% trans "Details" %}</h3>
6 {% include "meetings/team_meeting_detail_basic.inc.html" %}7 {% include "meetings/team_meeting_detail_basic.inc.html" %}
7</article>8 </section>
9</div>
810
9<article class="main-content">11<div class="row">
12 <section class="span-12">
10 <h3>{% trans "Agenda" %}</h3>13 <h3>{% trans "Agenda" %}</h3>
11 {% include "meetings/team_meeting_detail_agenda.inc.html" %}14 {% include "meetings/team_meeting_detail_agenda.inc.html" %}
12</article>15 </section>
16</div>
1317
14<article class="main-content">18<div class="row">
19 <section class="span-12">
15 {% block general %}20 {% block general %}
16 <div id="webchat">21 <div id="webchat">
17 {% if user.is_authenticated %}22 {% if user.is_authenticated %}
@@ -21,4 +26,5 @@
21 {% endif %}26 {% endif %}
22 </div>27 </div>
23 {% endblock %}28 {% endblock %}
24</article>29 </section>
30</div>
2531
=== modified file 'loco_directory/templates/meetings/team_meeting_new.html'
--- loco_directory/templates/meetings/team_meeting_new.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/meetings/team_meeting_new.html 2012-06-15 22:38:18 +0000
@@ -16,15 +16,17 @@
16{% endblock %}16{% endblock %}
1717
18{% block content %}18{% block content %}
19<article class="main-content">19<div class="row">
20 <section class="span-9">
20 <form action="." method="post">21 <form action="." method="post">
21 <fieldset>22 <fieldset>
22 <legend>{% trans "Add new Team Meeting for " %}{{ team_object.name}}</legend>23 <h3>{% trans "Add new Team Meeting for " %}{{ team_object.name}}</h3>
23 {{ form.as_template }}24 {{ form.as_template }}
24 </fieldset>25 </fieldset>
25 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 26 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
26 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />27 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
27 </form>28 </form>
28</article>29 </section>
30</div>
2931
30{% endblock %}32{% endblock %}
3133
=== modified file 'loco_directory/templates/meetings/team_meeting_new_select.html'
--- loco_directory/templates/meetings/team_meeting_new_select.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/meetings/team_meeting_new_select.html 2012-06-15 22:38:18 +0000
@@ -4,7 +4,8 @@
4{% block page_name %}{% trans "New Team Meeting" %}{% endblock %}4{% block page_name %}{% trans "New Team Meeting" %}{% endblock %}
55
6{% block content %}6{% block content %}
7<article class="main-content alone">7<div class="row">
8<section class="span-12">
8<h2>{% trans "Select a Team to add an meeting for" %}:</h2>9<h2>{% trans "Select a Team to add an meeting for" %}:</h2>
9<p>10<p>
10<ul>11<ul>
@@ -13,6 +14,7 @@
13{% endfor %}14{% endfor %}
14</ul>15</ul>
15</p>16</p>
16</article>17</section>
18</div>
1719
18{% endblock %}20{% endblock %}
1921
=== modified file 'loco_directory/templates/meetings/team_meeting_update.html'
--- loco_directory/templates/meetings/team_meeting_update.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/meetings/team_meeting_update.html 2012-06-15 22:38:18 +0000
@@ -16,15 +16,17 @@
16{% endblock %}16{% endblock %}
1717
18{% block content %}18{% block content %}
19<article class="main-content">19<div class="row">
20 <section class="span-9">
20 <form action="." method="post">21 <form action="." method="post">
21 <fieldset>22 <fieldset>
22 <legend>{% trans "Update Team Meeting" %}</legend>23 <h3>{% trans "Update Team Meeting" %}</h3>
23 {{ form.as_template }}24 {{ form.as_template }}
24 </fieldset>25 </fieldset>
25 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 26 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
26 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />27 <input type="submit" name="submit" value="{% trans "Submit" %}" class="submit-button" />
27 </form>28 </form>
28</article>29 </section>
30</div>
2931
30{% endblock %}32{% endblock %}
3133
=== modified file 'loco_directory/templates/site_search.html'
--- loco_directory/templates/site_search.html 2011-01-23 15:02:32 +0000
+++ loco_directory/templates/site_search.html 2012-06-15 22:38:18 +0000
@@ -6,7 +6,8 @@
6{% if q %}6{% if q %}
77
8{% if teams %}8{% if teams %}
9<article class="main-content">9<div class="row">
10 <section class="span-12">
10 <h2>{% trans "Teams" %}</h2>11 <h2>{% trans "Teams" %}</h2>
11 <ul>12 <ul>
12 {{colcycle.reset}}13 {{colcycle.reset}}
@@ -14,12 +15,13 @@
14 <li title="{% if team.approved %}{% blocktrans with team.name as teamname %}{{ teamname }} approved{% endblocktrans %}{% else %}{% blocktrans with team.name as teamname %}{{ teamname }} not approved{% endblocktrans %}{% endif %}" class="{% if team.approved %}approved{% else %}unapproved{% endif %} {{colcycle.next}}"><a href="{{ team.get_absolute_url }}">{{ team.name }}</a></li>15 <li title="{% if team.approved %}{% blocktrans with team.name as teamname %}{{ teamname }} approved{% endblocktrans %}{% else %}{% blocktrans with team.name as teamname %}{{ teamname }} not approved{% endblocktrans %}{% endif %}" class="{% if team.approved %}approved{% else %}unapproved{% endif %} {{colcycle.next}}"><a href="{{ team.get_absolute_url }}">{{ team.name }}</a></li>
15 {% endfor %}16 {% endfor %}
16 </ul>17 </ul>
17</article>18</section></div>
18<hr class="divide" />19<hr class="divide" />
19{% endif %}20{% endif %}
2021
21{% if global_events %}22{% if global_events %}
22<article class="main-content">23<div class="row">
24 <section class="span-12">
23 <h2>{% trans "Global Events" %}</h2>25 <h2>{% trans "Global Events" %}</h2>
24 {{colcycle.reset}}26 {{colcycle.reset}}
25 <ul>27 <ul>
@@ -27,12 +29,13 @@
27 <li class="{{colcycle.next}}"><a href="{{ event.get_absolute_url }}">{{ event.name }}</a> {{event.date_begin|date}} - {{event.date_end|date}}</li>29 <li class="{{colcycle.next}}"><a href="{{ event.get_absolute_url }}">{{ event.name }}</a> {{event.date_begin|date}} - {{event.date_end|date}}</li>
28 {% endfor %}30 {% endfor %}
29 </ul>31 </ul>
30</article>32</section></div>
31<hr class="divide" />33<hr class="divide" />
32{% endif %}34{% endif %}
3335
34{% if team_events %}36{% if team_events %}
35<article class="main-content">37<div class="row">
38 <section class="span-12">
36 <h2>{% trans "Team Events" %}</h2>39 <h2>{% trans "Team Events" %}</h2>
37 {{colcycle.reset}}40 {{colcycle.reset}}
38 <ul>41 <ul>
@@ -40,12 +43,13 @@
40 <li class="{{colcycle.next}}"><a href="{{ event.get_absolute_url }}">{{ event.name }}</a>{% if event.venue.city %}, {{ event.venue.city }}{% endif %} - {% for team in event.teams.all %}<a title="{% trans "more information about this team" %}" href="{{ team.get_absolute_url }}">{{ team.name }}</a>{% endfor %}</li>43 <li class="{{colcycle.next}}"><a href="{{ event.get_absolute_url }}">{{ event.name }}</a>{% if event.venue.city %}, {{ event.venue.city }}{% endif %} - {% for team in event.teams.all %}<a title="{% trans "more information about this team" %}" href="{{ team.get_absolute_url }}">{{ team.name }}</a>{% endfor %}</li>
41 {% endfor %}44 {% endfor %}
42 </ul>45 </ul>
43</article>46</section></div>
44<hr class="divide" />47<hr class="divide" />
45{% endif %}48{% endif %}
4649
47{% if venues %}50{% if venues %}
48<article class="main-content">51<div class="row">
52 <section class="span-12">
49 <h2>{% trans "Venues" %}</h2>53 <h2>{% trans "Venues" %}</h2>
50 {{colcycle.reset}}54 {{colcycle.reset}}
51 <ul>55 <ul>
@@ -53,12 +57,13 @@
53 <li class="{{colcycle.next}}"><a href="{{ venue.get_absolute_url }}">{{ venue.name }}</a>{% if venue.city %}, {{ venue.city }}{% endif %}</li>57 <li class="{{colcycle.next}}"><a href="{{ venue.get_absolute_url }}">{{ venue.name }}</a>{% if venue.city %}, {{ venue.city }}{% endif %}</li>
54 {% endfor %}58 {% endfor %}
55 </ul>59 </ul>
56</article>60</section></div>
57<hr class="divide" />61<hr class="divide" />
58{% endif %}62{% endif %}
5963
60{% if meetings %}64{% if meetings %}
61<article class="main-content">65<div class="row">
66 <section class="span-12">
62 <h2>{% trans "Meetings" %}</h2>67 <h2>{% trans "Meetings" %}</h2>
63 {{colcycle.reset}}68 {{colcycle.reset}}
64 <ul>69 <ul>
@@ -69,15 +74,16 @@
69 </li>74 </li>
70 {% endfor %}75 {% endfor %}
71 </ul>76 </ul>
72</article>77</section></div>
73<hr class="divide" />78<hr class="divide" />
74{% endif %}79{% endif %}
7580
76{% else %}81{% else %}
77<article class="main-content alone">82<div class="row">
83 <section class="span-12">
78 <center>84 <center>
79 <h3>{% trans "No search terms provided" %}</h3>85 <h3>{% trans "No search terms provided" %}</h3>
80 </center>86 </center>
81</article>87</section></div>
82{% endif %}88{% endif %}
83{% endblock %}89{% endblock %}
8490
=== modified file 'loco_directory/templates/teams/merge_teams.html'
--- loco_directory/templates/teams/merge_teams.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/teams/merge_teams.html 2012-06-15 22:38:18 +0000
@@ -3,21 +3,21 @@
33
4{% block page_name %}{% trans "Merge Teams" %}{% endblock %}4{% block page_name %}{% trans "Merge Teams" %}{% endblock %}
5{% block extrahead %}{{ block.super }}5{% block extrahead %}{{ block.super }}
6<link rel="stylesheet" type="text/css" href="/media/css/newstyle.css" />
7{% endblock %}6{% endblock %}
87
9{% block content %}8{% block content %}
109<div class="row">
10<section class="span-12">
11<h1>{% trans "Merge Teams" %}</h1>11<h1>{% trans "Merge Teams" %}</h1>
1212
13<hr class="divide" />13<hr class="divide" />
1414
15<article class="minor-content alone">
16 {% if not team_object or not other_team_object %}15 {% if not team_object or not other_team_object %}
17 <p>{% trans "You need two valid teams you want to merge with another." %}</p>16 <p>{% trans "You need two valid teams you want to merge with another." %}</p>
18 {% else %}17 {% else %}
19 <p><a href="{% url team-detail other_team_object %}">{% blocktrans with other_team_object.name as teamname %}Go back to the main page of {{teamname}}.{% endblocktrans %}</a></p>18 <p><a href="{% url team-detail other_team_object %}">{% blocktrans with other_team_object.name as teamname %}Go back to the main page of {{teamname}}.{% endblocktrans %}</a></p>
20 {% endif %}19 {% endif %}
21</article>20</section>
21</div>
2222
23{% endblock %}23{% endblock %}
2424
=== modified file 'loco_directory/templates/teams/my_teams.html'
--- loco_directory/templates/teams/my_teams.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/teams/my_teams.html 2012-06-15 22:38:18 +0000
@@ -26,20 +26,20 @@
26 {% endfor %}26 {% endfor %}
27{% endblock %}27{% endblock %}
2828
29
30{% block sub_nav_links %}29{% block sub_nav_links %}
31 <a class="sub-nav-item" href="{% url my-teams %}" title="{% trans 'My Teams' %}">{% trans "My Teams" %}</a>30 <li><a class="sub-nav-item" href="{% url my-teams %}" title="{% trans 'My Teams' %}">{% trans "My Teams" %}</a></li>
32 <a class="sub-nav-item" href="{% url team-list %}" title="{% trans 'All Teams' %}">{% trans "All Teams" %}</a>31 <li><a class="sub-nav-item" href="{% url team-list %}" title="{% trans 'All Teams' %}">{% trans "All Teams" %}</a></li>
33 {% comment %}32 {% comment %}
34 <!-- TODO: Need to create those pages -->33 <!-- TODO: Need to create those pages -->
35 <a class="sub-nav-item" href="" title="{% trans 'Join a Team' %}">{% trans "Join a Team" %}</a>34 <li><a class="sub-nav-item" href="" title="{% trans 'Join a Team' %}">{% trans "Join a Team" %}</a></li>
36 <a class="sub-nav-item" href="" title="{% trans 'Create a Team' %}">{% trans "Create a Team" %}</a>35 <li><a class="sub-nav-item" href="" title="{% trans 'Create a Team' %}">{% trans "Create a Team" %}</a></li>
37 {% endcomment %}36 {% endcomment %}
38{% endblock %}37{% endblock %}
3938
40{% block content %}39{% block content %}
41 {% for team in teams %}40 {% for team in teams %}
42 <article class="main-content">41<div class="row">
42<section class="span-12">
43 <h2 class="dynamic-width">43 <h2 class="dynamic-width">
44 <a href="{% url team-detail team_slug=team.lp_name %}" class="team-title" title="{{ team.name }}">{{ team.name }}</a>44 <a href="{% url team-detail team_slug=team.lp_name %}" class="team-title" title="{{ team.name }}">{{ team.name }}</a>
45 {% comment %}45 {% comment %}
@@ -97,6 +97,7 @@
97 {% endif %}97 {% endif %}
98 {% endif %}98 {% endif %}
99 </section>99 </section>
100 </article>100 </section>
101 </div>
101 {% endfor %}102 {% endfor %}
102{% endblock %}103{% endblock %}
103104
=== modified file 'loco_directory/templates/teams/select_other_team.html'
--- loco_directory/templates/teams/select_other_team.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/teams/select_other_team.html 2012-06-15 22:38:18 +0000
@@ -3,16 +3,16 @@
33
4{% block page_name %}{% trans "Merge Teams" %}{% endblock %}4{% block page_name %}{% trans "Merge Teams" %}{% endblock %}
5{% block extrahead %}{{ block.super }}5{% block extrahead %}{{ block.super }}
6<link rel="stylesheet" type="text/css" href="/media/css/newstyle.css" />
7{% endblock %}6{% endblock %}
87
9{% block content %}8{% block content %}
109
10<div class="row">
11<section class="span-12 alone">
11<h1>{% trans "Merge Teams" %}</h1>12<h1>{% trans "Merge Teams" %}</h1>
1213
13<hr class="divide" />14<hr class="divide" />
1415
15<article class="minor-content alone">
16 {% if other_teams %}16 {% if other_teams %}
17 <h2>{% blocktrans with team_object.lp_name as teamname %}Select the team you want to merge "{{teamname}}" with:{% endblocktrans %}</h2>17 <h2>{% blocktrans with team_object.lp_name as teamname %}Select the team you want to merge "{{teamname}}" with:{% endblocktrans %}</h2>
18 <table width="100%">18 <table width="100%">
@@ -31,6 +31,7 @@
31 {% if not other_teams %}31 {% if not other_teams %}
32 <p>{% trans "There are currently no teams you could merge your team with." %}</p>32 <p>{% trans "There are currently no teams you could merge your team with." %}</p>
33 {% endif %}33 {% endif %}
34</article>34</section>
35</div>
3536
36{% endblock %}37{% endblock %}
3738
=== modified file 'loco_directory/templates/teams/team_detail.html'
--- loco_directory/templates/teams/team_detail.html 2011-12-19 13:14:36 +0000
+++ loco_directory/templates/teams/team_detail.html 2012-06-15 22:38:18 +0000
@@ -8,12 +8,12 @@
8{% endblock %}8{% endblock %}
99
10{% block sub_nav_links %}10{% block sub_nav_links %}
11 <a class="sub-nav-item" href="{% url team-list %}" title="{% trans "Back to Teams List" %}">{% trans "Back to Teams List" %}</a>11 <li><a class="sub-nav-item" href="{% url team-list %}" title="{% trans "Back to Teams List" %}">{% trans "Back to Teams List" %}</a></li>
12 {% if is_member %}{% else %} <a class="sub-nav-item" href="https://launchpad.net/~{{ team.lp_name }}/+join">{% trans "Join This Team!" %}</a>{% endif %}12 {% if is_member %}{% else %}<li><a class="sub-nav-item" href="https://launchpad.net/~{{ team.lp_name }}/+join">{% trans "Join This Team!" %}</a></li>{% endif %}
13 {% if is_admin %}<a class="sub-nav-item" href="{% url team-edit team.lp_name %}" title="{% trans "Edit Details" %}">{% trans "Edit Details" %}</a>{% endif %}13 {% if is_admin %}<li><a class="sub-nav-item" href="{% url team-edit team.lp_name %}" title="{% trans "Edit Details" %}">{% trans "Edit Details" %}</a></li>{% endif %}
14 {% if is_admin and not team.active %}<a class="sub-nav-item" href="{% url select-other-team team.lp_name %}" title="{% trans "Merge with another team" %}">{% trans "Merge team" %}</a>{% endif %}14 {% if is_admin and not team.active %}<li><a class="sub-nav-item" href="{% url select-other-team team.lp_name %}" title="{% trans "Merge with another team" %}">{% trans "Merge team" %}</a></li>{% endif %}
15 {% if is_member %}<a class="sub-nav-item" href="{% url team-event-new team.lp_name %}" title="{% trans "Add New Event" %}">{% trans "Add New Event" %}</a>{% endif %}15 {% if is_member %}<li><a class="sub-nav-item" href="{% url team-event-new team.lp_name %}" title="{% trans "Add New Event" %}">{% trans "Add New Event" %}</a></li>{% endif %}
16 {% if is_member %}<a class="sub-nav-item" href="{% url team-meeting-new team.lp_name %}" title="{% trans "Add New Meeting" %}">{% trans "Add New Meeting" %}</a>{% endif %}16 {% if is_member %}<li><a class="sub-nav-item" href="{% url team-meeting-new team.lp_name %}" title="{% trans "Add New Meeting" %}">{% trans "Add New Meeting" %}</a></li>{% endif %}
17{% endblock %}17{% endblock %}
1818
1919
@@ -70,8 +70,8 @@
70{% endblock %}70{% endblock %}
7171
72{% block content %}72{% block content %}
7373<div class="row">
74<article class="minor-content relative">74 <section class="span8">
75 <h2><a href="https://launchpad.net/~{{ team.lp_name }}">{{ team.name }}</a></h2>75 <h2><a href="https://launchpad.net/~{{ team.lp_name }}">{{ team.name }}</a></h2>
76 <img id="locobranding" src="{{ team.mugshot_url }}" alt="" title="{{ team.name }}" />76 <img id="locobranding" src="{{ team.mugshot_url }}" alt="" title="{{ team.name }}" />
77 <table>77 <table>
@@ -176,12 +176,8 @@
176 </td>176 </td>
177 </tr>177 </tr>
178 </table>178 </table>
179</article>179</section>
180{% comment %}180</div>
181<article class="minor-content">
182 <img id="locobranding" src="{{ team.mugshot_url }}" alt="" title="{{ team.name }}" />
183</article>
184{% endcomment %}
185181
186{% if team.microbloghashtag %}182{% if team.microbloghashtag %}
187<article class="minor-content alone">183<article class="minor-content alone">
@@ -203,14 +199,16 @@
203{% endif %}199{% endif %}
204200
205{% if team.flickr_id or team.picasa_id or team.pixie_id %} 201{% if team.flickr_id or team.picasa_id or team.pixie_id %}
206<article class="main-content">202<div class="row">
203 <section class="span-12">
207 {% with team.name as team_name %}204 {% with team.name as team_name %}
208 <h2>{% blocktrans %}Photos from {{ team_name }}{% endblocktrans %}</h2>205 <h2>{% blocktrans %}Photos from {{ team_name }}{% endblocktrans %}</h2>
209 {% endwith %}206 {% endwith %}
210 <div id="flickr"> </div>207 <div id="flickr"> </div>
211 <div id="picasa"> </div>208 <div id="picasa"> </div>
212 <div id="pixie"> </div>209 <div id="pixie"> </div>
213</article>210 </section>
211</div>
214{% endif %}212{% endif %}
215213
216{% endblock %}214{% endblock %}
217215
=== modified file 'loco_directory/templates/teams/team_event_history.html'
--- loco_directory/templates/teams/team_event_history.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/teams/team_event_history.html 2012-06-15 22:38:18 +0000
@@ -4,12 +4,13 @@
4{% block page_name %}{% blocktrans with team_object.name as teamname %}{{teamname}} Events History{% endblocktrans %}{% endblock %}4{% block page_name %}{% blocktrans with team_object.name as teamname %}{{teamname}} Events History{% endblocktrans %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7<a class="sub-nav-item" href="{% url team-detail team_object.lp_name %}">{% trans "Back to Team Details" %}</a>7<li><a class="sub-nav-item" href="{% url team-detail team_object.lp_name %}">{% trans "Back to Team Details" %}</a></li>
8<a class="sub-nav-item" href="{% url team-event-list team_object.lp_name %}">{% trans "Upcoming Events" %}</a>8<li><a class="sub-nav-item" href="{% url team-event-list team_object.lp_name %}">{% trans "Upcoming Events" %}</a></li>
9{% endblock %}9{% endblock %}
1010
11{% block content %}11{% block content %}
12<article class="main-content">12<div class="row">
13<section class="span-12">
13<h1>{% blocktrans with team_object.name as teamname %}{{teamname}} Events History{% endblocktrans %}</h1>14<h1>{% blocktrans with team_object.name as teamname %}{{teamname}} Events History{% endblocktrans %}</h1>
1415
15{% if team_event_list %}16{% if team_event_list %}
@@ -21,6 +22,6 @@
21<p>{% blocktrans with team_object.lp_name as teamname %}There are no past events for LoCo Team {{teamname}} :({% endblocktrans %}</p>22<p>{% blocktrans with team_object.lp_name as teamname %}There are no past events for LoCo Team {{teamname}} :({% endblocktrans %}</p>
22{% endif %}23{% endif %}
2324
2425</section>
25</article>26</div>
26{% endblock %}27{% endblock %}
2728
=== modified file 'loco_directory/templates/teams/team_event_list.html'
--- loco_directory/templates/teams/team_event_list.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/teams/team_event_list.html 2012-06-15 22:38:18 +0000
@@ -4,10 +4,10 @@
4{% block page_name %}{% blocktrans with team_object.name as teamname %}{{teamname}} Events List{% endblocktrans %}{% endblock %}4{% block page_name %}{% blocktrans with team_object.name as teamname %}{{teamname}} Events List{% endblocktrans %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7<a class="sub-nav-item" href="{% url team-detail team_object.lp_name %}">{% trans "Back to Team Details" %}</a>7<li><a class="sub-nav-item" href="{% url team-detail team_object.lp_name %}">{% trans "Back to Team Details" %}</a></li>
8<a class="sub-nav-item" href="{% url team-event-history team_object.lp_name %}">{% trans "Past Events" %}</a>8<li><a class="sub-nav-item" href="{% url team-event-history team_object.lp_name %}">{% trans "Past Events" %}</a></li>
9<a class="sub-nav-item" href="{% url team-events-rss team_object.lp_name %}" title="{% trans "Team Events (RSS)" %}"">{% trans "Team Events (RSS)" %}</a>9<li><a class="sub-nav-item" href="{% url team-events-rss team_object.lp_name %}" title="{% trans "Team Events (RSS)" %}"">{% trans "Team Events (RSS)" %}</a></li>
10{% if is_member %}<a class="sub-nav-item" href="{% url team-event-new team_object.lp_name %}" title="{% trans "Add New Event" %}">{% trans "Add New Event" %}</a>{% endif %}10{% if is_member %}<li><a class="sub-nav-item" href="{% url team-event-new team_object.lp_name %}" title="{% trans "Add New Event" %}">{% trans "Add New Event" %}</a></li>{% endif %}
11{% endblock %}11{% endblock %}
1212
1313
@@ -16,7 +16,8 @@
16{% endblock %}16{% endblock %}
1717
18{% block content %}18{% block content %}
19<article class="main-content">19<div class="row">
20<section class="span-12">
20<h1>{% blocktrans with team_object.name as teamname %}{{teamname}} Events List{% endblocktrans %}21<h1>{% blocktrans with team_object.name as teamname %}{{teamname}} Events List{% endblocktrans %}
21<a class="teams_event_ical" href="{% url team-event-list-ical team_object.lp_name %}">22<a class="teams_event_ical" href="{% url team-event-list-ical team_object.lp_name %}">
22<img src="/media/images/ical32.png" title="ical"/></a></h1>23<img src="/media/images/ical32.png" title="ical"/></a></h1>
@@ -30,7 +31,6 @@
30<h2>{% blocktrans %}There are currently no events for this team.{% endblocktrans %}</h2>31<h2>{% blocktrans %}There are currently no events for this team.{% endblocktrans %}</h2>
31{% endif %}32{% endif %}
3233
3334</section>
3435</div>
35</article>
36{% endblock %}36{% endblock %}
3737
=== modified file 'loco_directory/templates/teams/team_list.html'
--- loco_directory/templates/teams/team_list.html 2011-11-03 18:07:11 +0000
+++ loco_directory/templates/teams/team_list.html 2012-06-15 22:38:18 +0000
@@ -11,16 +11,18 @@
11{% endblock %}11{% endblock %}
1212
13{% block content %}13{% block content %}
1414<div class="row">
15<article class="teams-legend">15 <section class="span-12 teams-legend">
16 <ul>16 <ul>
17 <li class="approved float_list">{% trans "Approved Teams" %}</li>17 <li class="approved float_list">{% trans "Approved Teams" %}</li>
18 <li class="unapproved float_list">{% trans "Unapproved Teams" %}</li>18 <li class="unapproved float_list">{% trans "Unapproved Teams" %}</li>
19 </ul>19 </ul>
20</article>20 </section>
21</div>
2122
22 {% for continent in continents %}{% if continent.related_teams %}23 {% for continent in continents %}{% if continent.related_teams %}
23 <article class="main-content">24<div class="row">
25 <section class="span-12">
24 <h2><a name="{{continent.name}}">{{continent.name}}</a></h2>26 <h2><a name="{{continent.name}}">{{continent.name}}</a></h2>
25 <ul>27 <ul>
26 {{colcycle.reset}}28 {{colcycle.reset}}
@@ -28,12 +30,14 @@
28 <li title="{% if team.approved %}{% blocktrans with team.display_name as teamname %}{{ teamname }} approved{% endblocktrans %}{% else %}{% blocktrans with team.display_name as teamname %}{{ teamname }} not approved{% endblocktrans %}{% endif %}" class="{% if team.approved %}approved{% else %}unapproved{% endif %} {{colcycle.next}}"><a href="{{ team.get_absolute_url }}">{{ team.display_name }}</a></li>30 <li title="{% if team.approved %}{% blocktrans with team.display_name as teamname %}{{ teamname }} approved{% endblocktrans %}{% else %}{% blocktrans with team.display_name as teamname %}{{ teamname }} not approved{% endblocktrans %}{% endif %}" class="{% if team.approved %}approved{% else %}unapproved{% endif %} {{colcycle.next}}"><a href="{{ team.get_absolute_url }}">{{ team.display_name }}</a></li>
29 {% endfor %}31 {% endfor %}
30 </ul>32 </ul>
31 </article>33 </section>
34</div>
32 <br class="clear" />35 <br class="clear" />
33 {% endif %}{% endfor %}36 {% endif %}{% endfor %}
3437
35 {% if countries_without_continent_have_teams %}38 {% if countries_without_continent_have_teams %}
36 <article class="main-content">39 <div class="row">
40 <section class="span-12">
37 <h2>{% trans "Countries without continent" %}</h2>41 <h2>{% trans "Countries without continent" %}</h2>
38 {% for country in countries_without_continent %}{% if country.country_without_continent_related_teams %}42 {% for country in countries_without_continent %}{% if country.country_without_continent_related_teams %}
39 <h3>{{country.name}}</h3>43 <h3>{{country.name}}</h3>
@@ -45,11 +49,13 @@
45 </ul>49 </ul>
46 <br class="clear" />50 <br class="clear" />
47 {% endif %}{% endfor %}51 {% endif %}{% endfor %}
48 </article>52 </section>
53</div>
49 {% endif %}54 {% endif %}
5055
51 {% if teams_without_country %}56 {% if teams_without_country %}
52 <article class="main-content">57 <div class="row">
58 <section class="span-12">
53 <h2>{% trans "Teams without country" %}</h2>59 <h2>{% trans "Teams without country" %}</h2>
54 <ul>60 <ul>
55 {{colcycle.reset}}61 {{colcycle.reset}}
@@ -58,7 +64,8 @@
58 {% endfor %}64 {% endfor %}
59 </ul>65 </ul>
60 <br class="clear" />66 <br class="clear" />
61 </article>67 </section>
68</div>
62 {% endif %}69 {% endif %}
6370
64{% endblock %}71{% endblock %}
6572
=== modified file 'loco_directory/templates/teams/team_meeting_history.html'
--- loco_directory/templates/teams/team_meeting_history.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/teams/team_meeting_history.html 2012-06-15 22:38:18 +0000
@@ -4,12 +4,13 @@
4{% block page_name %}{% blocktrans with team_object.name as teamname %}{{teamname}} Meeting History{% endblocktrans %}{% endblock %}4{% block page_name %}{% blocktrans with team_object.name as teamname %}{{teamname}} Meeting History{% endblocktrans %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7<a class="sub-nav-item" href="{% url team-detail team_object.lp_name %}">{% trans "Back to Team Details" %}</a>7<li><a class="sub-nav-item" href="{% url team-detail team_object.lp_name %}">{% trans "Back to Team Details" %}</a></li>
8<a class="sub-nav-item" href="{% url team-meeting-list team_object.lp_name %}">{% trans "Upcoming Meetings" %}</a>8<li><a class="sub-nav-item" href="{% url team-meeting-list team_object.lp_name %}">{% trans "Upcoming Meetings" %}</a></li>
9{% endblock %}9{% endblock %}
1010
11{% block content %}11{% block content %}
12<article class="main-content">12<div class="row">
13<section class="span-12">
13<h1>{% blocktrans with team_object.name as teamname %}{{teamname}} Meeting History{% endblocktrans %}</h1>14<h1>{% blocktrans with team_object.name as teamname %}{{teamname}} Meeting History{% endblocktrans %}</h1>
1415
15{% if team_meeting_list %}16{% if team_meeting_list %}
@@ -21,5 +22,6 @@
21<p>{% blocktrans with team_object.lp_name as teamname %}There are no past meetings for {{teamname}} :({% endblocktrans %}</p>22<p>{% blocktrans with team_object.lp_name as teamname %}There are no past meetings for {{teamname}} :({% endblocktrans %}</p>
22{% endif %}23{% endif %}
2324
24</article>25</section>
26</div>
25{% endblock %}27{% endblock %}
2628
=== modified file 'loco_directory/templates/teams/team_meeting_list.html'
--- loco_directory/templates/teams/team_meeting_list.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/teams/team_meeting_list.html 2012-06-15 22:38:18 +0000
@@ -4,9 +4,9 @@
4{% block page_name %}{% blocktrans with team_object.name as teamname %}{{teamname}} Meeting List{% endblocktrans %}{% endblock %}4{% block page_name %}{% blocktrans with team_object.name as teamname %}{{teamname}} Meeting List{% endblocktrans %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7<a class="sub-nav-item" href="{% url team-detail team_object.lp_name %}">{% trans "Back to Team Details" %}</a>7<li><a class="sub-nav-item" href="{% url team-detail team_object.lp_name %}">{% trans "Back to Team Details" %}</a></li>
8<a class="sub-nav-item" href="{% url team-meeting-history team_object.lp_name %}">{% trans "Past Meetings" %}</a>8<li><a class="sub-nav-item" href="{% url team-meeting-history team_object.lp_name %}">{% trans "Past Meetings" %}</a></li>
9<a class="sub-nav-item" href="{% url team-meetings-rss team_object.lp_name %}" title="{% trans "Team Meetings (RSS)" %}"">{% trans "Team Meetings (RSS)" %}</a>9<li><a class="sub-nav-item" href="{% url team-meetings-rss team_object.lp_name %}" title="{% trans "Team Meetings (RSS)" %}"">{% trans "Team Meetings (RSS)" %}</a></li>
10{% endblock %}10{% endblock %}
1111
1212
@@ -15,7 +15,8 @@
15{% endblock %}15{% endblock %}
1616
17{% block content %}17{% block content %}
18<article class="main-content">18<div class="row">
19<section class="span-12">
19<h1>{% blocktrans with team_object.name as teamname %}{{teamname}} Meeting List{% endblocktrans %}20<h1>{% blocktrans with team_object.name as teamname %}{{teamname}} Meeting List{% endblocktrans %}
20<a class="teams_meeting_ical" href="{% url team-meeting-list-ical team_object.lp_name %}">21<a class="teams_meeting_ical" href="{% url team-meeting-list-ical team_object.lp_name %}">
21<img src="/media/images/ical32.png" title="ical"/></a></h1>22<img src="/media/images/ical32.png" title="ical"/></a></h1>
@@ -29,5 +30,6 @@
29<p>{% blocktrans with team_object.lp_name as teamname %}There are currently no meetings for {{teamname}} :({% endblocktrans %}</p>30<p>{% blocktrans with team_object.lp_name as teamname %}There are currently no meetings for {{teamname}} :({% endblocktrans %}</p>
30{% endif %}31{% endif %}
3132
32</article>33</section>
34</div>
33{% endblock %}35{% endblock %}
3436
=== modified file 'loco_directory/templates/teams/team_reapprovals.html'
--- loco_directory/templates/teams/team_reapprovals.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/teams/team_reapprovals.html 2012-06-15 22:38:18 +0000
@@ -3,17 +3,16 @@
33
4{% block page_name %}{% trans "Approved Ubuntu LoCo Teams" %}{% endblock %}4{% block page_name %}{% trans "Approved Ubuntu LoCo Teams" %}{% endblock %}
55
6{% block extrahead %}{{ block.super }}6{% block extrahead %}{{ block.super }}{% endblock %}
7<link rel="stylesheet" type="text/css" href="/media/css/newstyle.css" />
8{% endblock %}
97
10{% block content %}8{% block content %}
119<div class="row">
10<section class="span-12">
12<h1>{% trans "Approved Ubuntu LoCo Teams" %}</h1>11<h1>{% trans "Approved Ubuntu LoCo Teams" %}</h1>
1312</section>
14<hr class="divide" />13</div>
1514<div class="row">
16<article class="minor-content">15<section class="span-8">
17 {% with '</a>' as end_link %}16 {% with '</a>' as end_link %}
18 {% with '<a href="https://wiki.ubuntu.com/LoCoGettingApproved">' as approved_link %}17 {% with '<a href="https://wiki.ubuntu.com/LoCoGettingApproved">' as approved_link %}
19 {% with '<a href="https://wiki.ubuntu.com/LoCoFAQ">' as faq_link %}18 {% with '<a href="https://wiki.ubuntu.com/LoCoFAQ">' as faq_link %}
@@ -34,10 +33,8 @@
34 {% endwith %}33 {% endwith %}
35 {% endwith %}34 {% endwith %}
36 {% endwith %}35 {% endwith %}
37</article>36</section>
3837<section class="span-4 last">
39
40<article class="minor-content alone">
41 <h2>{% trans "Approved Teams:" %}</h2>38 <h2>{% trans "Approved Teams:" %}</h2>
42 <br />39 <br />
43 {% if next_teams %}40 {% if next_teams %}
@@ -74,6 +71,7 @@
74 {% if not next_teams and not later_teams %}71 {% if not next_teams and not later_teams %}
75 <p>{% trans "There are currently no approved teams in the Ubuntu LoCo Team Portal. :(" %}</p>72 <p>{% trans "There are currently no approved teams in the Ubuntu LoCo Team Portal. :(" %}</p>
76 {% endif %}73 {% endif %}
77</article>74</section>
75</div>
7876
79{% endblock %}77{% endblock %}
8078
=== modified file 'loco_directory/templates/teams/team_update.html'
--- loco_directory/templates/teams/team_update.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/teams/team_update.html 2012-06-15 22:38:18 +0000
@@ -16,13 +16,15 @@
16{% endblock %}16{% endblock %}
1717
18{% block sub_nav_links %}18{% block sub_nav_links %}
19 <a class="sub-nav-item" href="/teams">{% trans "Back to Teams List" %}</a>19 <li><a class="sub-nav-item" href="/teams">{% trans "Back to Teams List" %}</a></li>
20 <a class="sub-nav-item" href="/teams/{{ team.lp_name }}">{% trans "Back to Team Details" %}</a>20 <li><a class="sub-nav-item" href="/teams/{{ team.lp_name }}">{% trans "Back to Team Details" %}</a></li>
21{% endblock %}21{% endblock %}
2222
23{% block content %}23{% block content %}
2424
25 <article id="form" class="main-content">25<div class="row">
26<section class="span-9">
27 <article id="form">
26 {% if form.errors %}28 {% if form.errors %}
27 <p style="color: red;">29 <p style="color: red;">
28 {% trans "Please correct the error" %}{{ form.errors|pluralize }} below.30 {% trans "Please correct the error" %}{{ form.errors|pluralize }} below.
@@ -31,11 +33,11 @@
3133
32 <form action="{{ request.path_info }}" method="POST">34 <form action="{{ request.path_info }}" method="POST">
33 <fieldset>35 <fieldset>
34 <legend>{% trans "Update the information below" %}</legend>36 <h3>{% trans "Update the information below" %}</h3>
35 {{ form.as_template }}37 {{ form.as_template }}
36 </fieldset>38 </fieldset>
37 <fieldset>39 <fieldset>
38 <legend>{% trans "Static information" %}</legend>40 <h3>{% trans "Static information" %}</h3>
39 <div class="approved">41 <div class="approved">
40 <div class="field"><label for="approved">Approved :</label></div>42 <div class="field"><label for="approved">Approved :</label></div>
41 <span class="extra">{% if team.approved %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}</span>43 <span class="extra">{% if team.approved %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}</span>
@@ -54,6 +56,7 @@
54 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 56 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
55 <input type="submit" name="submit" value="{% trans "Update Information Now!" %}" class="submit-button" /> 57 <input type="submit" name="submit" value="{% trans "Update Information Now!" %}" class="submit-button" />
56 </form>58 </form>
57 </article>59 </section>
60</div>
5861
59{% endblock %}62{% endblock %}
6063
=== modified file 'loco_directory/templates/using_locodir.html'
--- loco_directory/templates/using_locodir.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/using_locodir.html 2012-06-15 22:38:18 +0000
@@ -5,24 +5,32 @@
55
6{% block content %}6{% block content %}
77
8<article class="main-content">8<div class="row">
9 <section class="span-12">
9 <h2>{% trans "Using the LoCo Team Portal" %}</h2>10 <h2>{% trans "Using the LoCo Team Portal" %}</h2>
10 <p>{% trans "The LoCo Team Portal is an excellent resource for LoCo Teams to use when planning events. The LoCo Team Portal 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>11 <p>{% trans "The LoCo Team Portal is an excellent resource for LoCo Teams to use when planning events. The LoCo Team Portal 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>
11</article>12 </seclection>
13</div>
1214
13<article class="main-content">15<div class="row">
16 <section class="span-12">
14 <h3>{% trans "Teams" %}</h3>17 <h3>{% trans "Teams" %}</h3>
15 <p>{% trans "All LoCo Teams registered in Launchpad are a part of the LoCo Team Portal. Team members can create events and venues for their LoCo Team." %}</p>18 <p>{% trans "All LoCo Teams registered in Launchpad are a part of the LoCo Team Portal. Team members can create events and venues for their LoCo Team." %}</p>
16</article>19 </seclection>
20</div>
1721
18<article class="main-content">22<div class="row">
23 <section class="span-12">
19 <h3>{% trans "Events" %}</h3>24 <h3>{% trans "Events" %}</h3>
20 <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>25 <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>
21</article>26 </seclection>
27</div>
2228
23<article class="main-content">29<div class="row">
30 <section class="span-12">
24 <h3>{% trans "Venues" %}</h3>31 <h3>{% trans "Venues" %}</h3>
25 <p>{% trans "Creating a venue in the LoCo Team Portal 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>32 <p>{% trans "Creating a venue in the LoCo Team Portal 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>
26</article>33 </seclection>
34</div>
2735
28{% endblock %}36{% endblock %}
2937
=== modified file 'loco_directory/templates/venues/venue_detail.html'
--- loco_directory/templates/venues/venue_detail.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/venues/venue_detail.html 2012-06-15 22:38:18 +0000
@@ -8,13 +8,15 @@
8<script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclusterer/1.0/src/markerclusterer_packed.js"></script>8<script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclusterer/1.0/src/markerclusterer_packed.js"></script>
9<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-ubuntu-maps.js"></script>9<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-ubuntu-maps.js"></script>
10{% endblock %}10{% endblock %}
11<div class="row">
12<section class="span-6">
1113
12{% block sub_nav_links %}14{% block sub_nav_links %}
13<a class="sub-nav-item" href="{% url venue-list %}" >{% trans "Back to Venues List" %}</a>15<li><a class="sub-nav-item" href="{% url venue-list %}" >{% trans "Back to Venues List" %}</a></li>
14{% if venue_object.country %}16{% if venue_object.country %}
15<a class="sub-nav-item" href="{% url venue-update venue_object.country.slug venue_object.id %}">{% trans "Edit Venue Details" %}</a>17<li><a class="sub-nav-item" href="{% url venue-update venue_object.country.slug venue_object.id %}">{% trans "Edit Venue Details" %}</a></li>
16{% else %}18{% else %}
17<a class="sub-nav-item" href="{% url venue-update 'no_country' venue_object.id %}">{% trans "Edit Venue Details" %}</a>19<li><a class="sub-nav-item" href="{% url venue-update 'no_country' venue_object.id %}">{% trans "Edit Venue Details" %}</a></li>
18{% endif %}20{% endif %}
19{% endblock %}21{% endblock %}
2022
2123
=== modified file 'loco_directory/templates/venues/venue_detail.inc.html'
--- loco_directory/templates/venues/venue_detail.inc.html 2011-02-17 16:23:06 +0000
+++ loco_directory/templates/venues/venue_detail.inc.html 2012-06-15 22:38:18 +0000
@@ -1,11 +1,12 @@
1{% load i18n %}1{% load i18n %}
2<article class="minor-content">2<div class="row">
3<section class="span-6">
3 <h2>{{venue_object.name}}</h2>4 <h2>{{venue_object.name}}</h2>
4 <p>{% include "venues/venue_detail_basic.inc.html" %}</p>5 <p>{% include "venues/venue_detail_basic.inc.html" %}</p>
5</article>6</section>
67
7{% if venue_object.longitude and venue_object.latitude %}8{% if venue_object.longitude and venue_object.latitude %}
8<article class="minor-content alone venue-map" id="venue-map" class="">9<section class="span-6 last alone venue-map" id="venue-map">
9</article>10</article>
10<script>11<script>
11 $(function(){12 $(function(){
@@ -15,5 +16,6 @@
15 });16 });
16 });17 });
17</script>18</script>
19</setion>
20</div>
18{% endif %}21{% endif %}
19
2022
=== modified file 'loco_directory/templates/venues/venue_list.html'
--- loco_directory/templates/venues/venue_list.html 2011-11-12 23:19:28 +0000
+++ loco_directory/templates/venues/venue_list.html 2012-06-15 22:38:18 +0000
@@ -4,12 +4,12 @@
4{% block page_name %}{% trans "Ubuntu LoCo Event Venues" %}{% endblock %}4{% block page_name %}{% trans "Ubuntu LoCo Event Venues" %}{% endblock %}
55
6{% block sub_nav_links %}6{% block sub_nav_links %}
7 <a class="sub-nav-item" href="{% url venue-new %}">{% trans "Add New Venue" %}</a>7 <li><a class="sub-nav-item" href="{% url venue-new %}">{% trans "Add New Venue" %}</a></li>
8{% endblock %}8{% endblock %}
99
10{% block content %}10{% block content %}
11<article id="main-content" class="main-content">11<div class="row">
1212<section class="span-12">
13 <h2>{% trans "Ubuntu LoCo Event Venues" %}</h2>13 <h2>{% trans "Ubuntu LoCo Event Venues" %}</h2>
1414
15 {% if continent_list or venues_with_country or venues_without_country %}15 {% if continent_list or venues_with_country or venues_without_country %}
@@ -63,5 +63,6 @@
63 {% else %}63 {% else %}
64 <p>{% trans "There are currently no LoCo Venues :(" %}</p>64 <p>{% trans "There are currently no LoCo Venues :(" %}</p>
65 {% endif %}65 {% endif %}
66</article>66</section>
67</div>
67{% endblock %}68{% endblock %}
6869
=== modified file 'loco_directory/templates/venues/venue_update.html'
--- loco_directory/templates/venues/venue_update.html 2011-10-05 00:50:53 +0000
+++ loco_directory/templates/venues/venue_update.html 2012-06-15 22:38:18 +0000
@@ -23,16 +23,18 @@
23{% endblock %}23{% endblock %}
2424
25{% block content %}25{% block content %}
26<article class="minor-content">26<div class="row">
27<section class="span-9">
27 <form action="." method="post" style="width:auto;">28 <form action="." method="post" style="width:auto;">
28 <fieldset>29 <fieldset>
29 <legend>{% if venue_object %}{% trans "Update Venue" %}{% else %}{% trans "New Venue" %}{% endif %}</legend>30 <h3>{% if venue_object %}{% trans "Update Venue" %}{% else %}{% trans "New Venue" %}{% endif %}</h3>
30 {{ form.as_template }}31 {{ form.as_template }}
31 </fieldset>32 </fieldset>
32 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 33 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}
33 <input type="submit" name="submit" value="Submit" class="submit-button" /> 34 <input type="submit" name="submit" value="Submit" class="submit-button" />
34 </form>35 </form>
35</article>36</section>
37</div>
3638
37<section class="minor-content alone venue-map" id="venue-map-selector" title="{% trans "Select venue position" %}">&nbsp;</section>39<section class="minor-content alone venue-map" id="venue-map-selector" title="{% trans "Select venue position" %}">&nbsp;</section>
3840

Subscribers

People subscribed via source and target branches