Merge lp:~cjohnston/loco-team-portal/bug-637283 into lp:loco-team-portal

Proposed by Chris Johnston
Status: Merged
Approved by: Michael Hall
Approved revision: 291
Merged at revision: 292
Proposed branch: lp:~cjohnston/loco-team-portal/bug-637283
Merge into: lp:loco-team-portal
Diff against target: 367 lines (+133/-119) (has conflicts)
2 files modified
loco_directory/locale/loco-directory.pot (+31/-23)
loco_directory/templates/teams/team_detail.html (+102/-96)
Text conflict in loco_directory/locale/loco-directory.pot
To merge this branch: bzr merge lp:~cjohnston/loco-team-portal/bug-637283
Reviewer Review Type Date Requested Status
LoCo Team Portal Developers Pending
Review via email: mp+35305@code.launchpad.net
To post a comment you must log in.
292. By Chris Johnston

Adds .all to profile check

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'loco_directory/locale/loco-directory.pot'
--- loco_directory/locale/loco-directory.pot 2010-09-13 17:08:59 +0000
+++ loco_directory/locale/loco-directory.pot 2010-09-13 19:09:45 +0000
@@ -8,7 +8,11 @@
8msgstr ""8msgstr ""
9"Project-Id-Version: PACKAGE VERSION\n"9"Project-Id-Version: PACKAGE VERSION\n"
10"Report-Msgid-Bugs-To: \n"10"Report-Msgid-Bugs-To: \n"
11<<<<<<< TREE
11"POT-Creation-Date: 2010-09-13 17:08+0000\n"12"POT-Creation-Date: 2010-09-13 17:08+0000\n"
13=======
14"POT-Creation-Date: 2010-09-13 16:48+0000\n"
15>>>>>>> MERGE-SOURCE
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"16"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"17"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"18"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -260,7 +264,7 @@
260msgid "Email Address"264msgid "Email Address"
261msgstr ""265msgstr ""
262266
263#: teams/models.py:74 templates/teams/team_detail.html:125267#: teams/models.py:74 templates/teams/team_detail.html:132
264msgid "IRC Channel"268msgid "IRC Channel"
265msgstr ""269msgstr ""
266270
@@ -825,7 +829,7 @@
825msgid "Add Team Event"829msgid "Add Team Event"
826msgstr ""830msgstr ""
827831
828#: templates/events/event_list.html:14 templates/teams/team_detail.html:143832#: templates/events/event_list.html:14 templates/teams/team_detail.html:150
829#: templates/teams/team_event_list.html:8833#: templates/teams/team_event_list.html:8
830msgid "Past Events"834msgid "Past Events"
831msgstr ""835msgstr ""
@@ -992,7 +996,7 @@
992msgstr ""996msgstr ""
993997
994#: templates/events/team_event_detail.html:17998#: templates/events/team_event_detail.html:17
995#: templates/teams/team_detail.html:145999#: templates/teams/team_detail.html:152
996msgid "iCal Feed"1000msgid "iCal Feed"
997msgstr ""1001msgstr ""
9981002
@@ -1146,7 +1150,7 @@
1146msgstr ""1150msgstr ""
11471151
1148#: templates/teams/team_detail.html:72 templates/teams/team_detail.html:821152#: templates/teams/team_detail.html:72 templates/teams/team_detail.html:82
1149#: templates/teams/team_detail.html:1561153#: templates/teams/team_detail.html:164
1150msgid "None Specified"1154msgid "None Specified"
1151msgstr ""1155msgstr ""
11521156
@@ -1154,68 +1158,72 @@
1154msgid "Languages:"1158msgid "Languages:"
1155msgstr ""1159msgstr ""
11561160
1157#: templates/teams/team_detail.html:891161#: templates/teams/team_detail.html:88
1158msgid "Approval Date:"1162msgid "Approval Date:"
1159msgstr ""1163msgstr ""
11601164
1161#: templates/teams/team_detail.html:951165#: templates/teams/team_detail.html:94
1162msgid "Expires Date:"1166msgid "Expires Date:"
1163msgstr ""1167msgstr ""
11641168
1165#: templates/teams/team_detail.html:1001169#: templates/teams/team_detail.html:99
1166msgid "Local Support:"1170msgid "Local Support:"
1167msgstr ""1171msgstr ""
11681172
1169#: templates/teams/team_detail.html:1041173#: templates/teams/team_detail.html:103
1170msgid "Team Admin(s):"1174msgid "Team Admin(s):"
1171msgstr ""1175msgstr ""
11721176
1173#: templates/teams/team_detail.html:1121177#: templates/teams/team_detail.html:114
1174msgid "Loco Contacts(s):"1178msgid "Team Contact(s):"
1175msgstr ""1179msgstr ""
11761180
1177#: templates/teams/team_detail.html:1191181#: templates/teams/team_detail.html:121
1182msgid "No LoCo Team contacts are set."
1183msgstr ""
1184
1185#: templates/teams/team_detail.html:126
1178msgid "Resources:"1186msgid "Resources:"
1179msgstr ""1187msgstr ""
11801188
1181#: templates/teams/team_detail.html:1221189#: templates/teams/team_detail.html:129
1182msgid "Team Wiki"1190msgid "Team Wiki"
1183msgstr ""1191msgstr ""
11841192
1185#: templates/teams/team_detail.html:1281193#: templates/teams/team_detail.html:135
1186msgid "Team Mailing List"1194msgid "Team Mailing List"
1187msgstr ""1195msgstr ""
11881196
1189#: templates/teams/team_detail.html:1311197#: templates/teams/team_detail.html:138
1190msgid "Team Forums"1198msgid "Team Forums"
1191msgstr ""1199msgstr ""
11921200
1193#: templates/teams/team_detail.html:1341201#: templates/teams/team_detail.html:141
1194msgid "Team Website"1202msgid "Team Website"
1195msgstr ""1203msgstr ""
11961204
1197#: templates/teams/team_detail.html:1391205#: templates/teams/team_detail.html:146
1198msgid "Upcoming Events:"1206msgid "Upcoming Events:"
1199msgstr ""1207msgstr ""
12001208
1201#: templates/teams/team_detail.html:1421209#: templates/teams/team_detail.html:149
1202msgid "All Events"1210msgid "All Events"
1203msgstr ""1211msgstr ""
12041212
1205#: templates/teams/team_detail.html:1441213#: templates/teams/team_detail.html:151
1206msgid "RSS Feed"1214msgid "RSS Feed"
1207msgstr ""1215msgstr ""
12081216
1209#: templates/teams/team_detail.html:1521217#: templates/teams/team_detail.html:159
1210#, python-format1218#, python-format
1211msgid "%(start_date)s in %(city)s"1219msgid "%(start_date)s in %(city)s"
1212msgstr ""1220msgstr ""
12131221
1214#: templates/teams/team_detail.html:1521222#: templates/teams/team_detail.html:159
1215msgid "on: "1223msgid "on: "
1216msgstr ""1224msgstr ""
12171225
1218#: templates/teams/team_detail.html:1691226#: templates/teams/team_detail.html:177
1219msgid "Photos from"1227msgid "Photos from"
1220msgstr ""1228msgstr ""
12211229
12221230
=== modified file 'loco_directory/templates/teams/team_detail.html'
--- loco_directory/templates/teams/team_detail.html 2010-09-09 21:07:01 +0000
+++ loco_directory/templates/teams/team_detail.html 2010-09-13 19:09:45 +0000
@@ -60,117 +60,123 @@
6060
61{% block content %}61{% block content %}
62<article class="minor-content alone">62<article class="minor-content alone">
63<h2><a href="https://launchpad.net/~{{ team.lp_name }}">{{ team.name }}</a></h2>63 <h2><a href="https://launchpad.net/~{{ team.lp_name }}">{{ team.name }}</a></h2>
6464
65 <table>65 <table>
66 <tr>66 <tr>
67 <th class="form-item-label" scope="row"><label>{% trans "Location:" %}</label></th>67 <th class="form-item-label" scope="row"><label>{% trans "Location:" %}</label></th>
68 <td class="form-item-value">68 <td class="form-item-value">
69 {% if team.countries.all %}69 {% if team.countries.all %}
70 {% for country in team.countries.all %}{% if not forloop.first %}, {% endif %}{{ country.name }}{% endfor %}{% if team.spr %}, {% trans team.spr %}{% endif %}{% if team.city %}, {% trans team.city %}{% endif %}70 {% for country in team.countries.all %}{% if not forloop.first %}, {% endif %}{{ country.name }}{% endfor %}{% if team.spr %}, {% trans team.spr %}{% endif %}{% if team.city %}, {% trans team.city %}{% endif %}
71 {% else %}71 {% else %}
72 {% trans "None Specified" %}72 {% trans "None Specified" %}
73 {% endif %}73 {% endif %}
74 </td>74 </td>
75 </tr>75 </tr>
76 <tr>76 <tr>
77 <th class="form-item-label" scope="row"><label>{% trans "Languages:" %}</label></th>77 <th class="form-item-label" scope="row"><label>{% trans "Languages:" %}</label></th>
78 <td class="form-item-value">78 <td class="form-item-value">
79 {% if team.languages.all %}79 {% if team.languages.all %}
80 {% for language in team.languages.all %}{% if not forloop.first %}, {% endif %}{{ language.name }}{% endfor %}80 {% for language in team.languages.all %}{% if not forloop.first %}, {% endif %}{{ language.name }}{% endfor %}
81 {% else %}81 {% else %}
82 {% trans "None Specified" %}82 {% trans "None Specified" %}
83 {% endif %}83 {% endif %}
84 </td>84 </td>
85 </tr>85 </tr>
86
87 {% if team.approved_date %}86 {% if team.approved_date %}
88 <tr>87 <tr>
89 <th class="form-item-label" scope="row"><label>{% trans "Approval Date:" %}</label></th>88 <th class="form-item-label" scope="row"><label>{% trans "Approval Date:" %}</label></th>
90 <td class="form-item-value">{{ team.approved_date }}</td>89 <td class="form-item-value">{{ team.approved_date }}</td>
91 </tr>90 </tr>
92 {% endif %}91 {% endif %}
93 {% if team.approved %}92 {% if team.approved %}
94 <tr>93 <tr>
95 <th class="form-item-label" scope="row"><label>{% trans "Expires Date:" %}</label></th>94 <th class="form-item-label" scope="row"><label>{% trans "Expires Date:" %}</label></th>
96 <td class="form-item-value">{{ team.expires_date }}</td>95 <td class="form-item-value">{{ team.expires_date }}</td>
97 </tr>96 </tr>
98 {% endif %}97 {% endif %}
99 <tr>98 <tr>
100 <th class="form-item-label" scope="row"><label>{% trans "Local Support:" %}</label></th>99 <th class="form-item-label" scope="row"><label>{% trans "Local Support:" %}</label></th>
101 <td class="form-item-value">{% if team.provides_support %}Yes{% else %}No{% endif %}</td>100 <td class="form-item-value">{% if team.provides_support %}Yes{% else %}No{% endif %}</td>
102 </tr>101 </tr>
103 <tr>102 <tr>
104 <th class="form-item-label" scope="row"><label>{% trans "Team Admin(s):" %}</label></th>103 <th class="form-item-label" scope="row"><label>{% trans "Team Admin(s):" %}</label></th>
105 <td class="form-item-value">{% for admin in team.admin_profiles.all %}104 <td class="form-item-value">
106 {% ifequal team.owner admin.user.username %}105 {% for admin in team.admin_profiles.all %}
107 <strong><a href="https://launchpad.net/~{{ admin.user.username }}">{{ admin.realname }}</a></strong>{% else %}106 {% ifequal team.owner admin.user.username %}
108 <a href="https://launchpad.net/~{{ admin.user.username }}">{{ admin.realname }}</a>{% endifequal %}{% if not forloop.last %},{% endif %}107 <strong><a href="https://launchpad.net/~{{ admin.user.username }}">{{ admin.realname }}</a></strong>
109 {% endfor %}</td>108 {% else %}
110 </tr>109 <a href="https://launchpad.net/~{{ admin.user.username }}">{{ admin.realname }}</a>{% endifequal %}{% if not forloop.last %},{% endif %}
111 <tr>110 {% endfor %}
112 <th class="form-item-label" scope="row"><label>{% trans "Loco Contacts(s):" %}</label></th>111 </td>
113 <td class="form-item-value">{% for contact in team.contact_profiles.all %}112 </tr>
114 <a href="https://launchpad.net/~{{ contact.user.username }}">{{ contact.realname }}</a>{% if not forloop.last %},{% endif %}113 <tr>
115 {% endfor %}</td>114 <th class="form-item-label" scope="row"><label>{% trans "Team Contact(s):" %}</label></th>
116 </tr>115 <td class="form-item-value">
117116 {% if team.contact_profiles.all %}
118 <tr>117 {% for contact in team.contact_profiles.all %}
119 <th class="form-item-label" scope="row"><label>{% trans "Resources:" %}</label></th>118 <a href="https://launchpad.net/~{{ contact.user.username }}">{{ contact.realname }}</a>{% if not forloop.last %},{% endif %}
120 <td class="form-item-value">
121 {% if team.wiki_url %}
122 <a href="{{ team.wiki_url }}"><img class="resource" src="/media/images/team/wiki.png" alt="{% trans "Team Wiki" %}" title="{% trans "Team Wiki" %}"/></a>
123 {% endif %}
124 {% if team.irc_chan %}
125 <a href="http://webchat.freenode.net/?channels={{ team.irc_chan }}"><img class="resource" src="/media/images/team/irc.png" alt="{% trans "IRC Channel" %} ({{ team.irc_chan }})" title="{% trans "IRC Channel" %} ({{ team.irc_chan }})"/></a>
126 {% endif %}
127 {% if team.ml_url %}
128 <a href="{{ team.ml_url }}"><img class="resource" src="/media/images/team/list.png" alt="{% trans "Team Mailing List" %}" title="{% trans "Team Mailing List" %}"/></a>
129 {% endif %}
130 {% if team.forum_url %}
131 <a href="{{ team.forum_url }}"><img class="resource" src="/media/images/team/forum.png" alt="{% trans "Team Forums" %}" title="{% trans "Team Forums" %}"/></a>
132 {% endif %}
133 {% if team.web_url %}
134 <a href="{{ team.web_url }}"><img class="resource" src="/media/images/team/website.png" alt="{% trans "Team Website" %}" title="{% trans "Team Website" %}"/></a>
135 {% endif %}
136 </td>
137 </tr>
138 <tr>
139 <th class="form-item-label" scope="row"><label>{% trans "Upcoming Events:" %}</label></th>
140 <td class="form-item-value">
141 <ul class="team-event-nav">
142 <li style="font-size:0.98em"><a href="{% url team-event-list team.lp_name %}">{% trans "All Events" %}</a></li>
143 <li style="font-size:0.98em"><a href="{% url team-event-history team.lp_name %}">{% trans "Past Events" %}</a></li>
144 <li style="font-size:0.98em"><a href="{% url team-events-rss team.lp_name %}">{% trans "RSS Feed" %}</a></li>
145 <li style="font-size:0.98em"><a href="{% url team-event-list-ical team.lp_name %}">{% trans "iCal Feed" %}</a></li>
146 </ul>
147 {% if team.teamevent_set.next_5_events %}
148 <ul>
149 {% for team_event in team.teamevent_set.next_5_events %}
150 {% comment %}TRANSLATORS: If event has a venue, show: date "in" city{% endcomment %}
151 <li>
152 <a title="{% if team_event.venue %}{% blocktrans with team_event.date_begin|date:"M d" as start_date and team_event.venue.city as city %}{{start_date}} in {{city}}{% endblocktrans %}{% else %}{{team_event.date_begin|date:"M d"}}{% endif %}" href="{% url team-event-detail team_event.id %}">{{ team_event.name }}</a> {% trans "on: " %}{{ team_event.date_begin|date}}
153 </li>
154 {% endfor %}119 {% endfor %}
155 </ul> 120 {% else %}
156 {% else %}{% trans "None Specified" %}{% endif %}121 <p>{% trans "No LoCo Team contacts are set." %}</p>
157 </td>122 {% endif %}
158 </tr>123 </td>
159124 </tr>
160 </table>125 <tr>
126 <th class="form-item-label" scope="row"><label>{% trans "Resources:" %}</label></th>
127 <td class="form-item-value">
128 {% if team.wiki_url %}
129 <a href="{{ team.wiki_url }}"><img class="resource" src="/media/images/team/wiki.png" alt="{% trans "Team Wiki" %}" title="{% trans "Team Wiki" %}" /></a>
130 {% endif %}
131 {% if team.irc_chan %}
132 <a href="http://webchat.freenode.net/?channels={{ team.irc_chan }}"><img class="resource" src="/media/images/team/irc.png" alt="{% trans "IRC Channel" %} ({{ team.irc_chan }})" title="{% trans "IRC Channel" %} ({{ team.irc_chan }})" /></a>
133 {% endif %}
134 {% if team.ml_url %}
135 <a href="{{ team.ml_url }}"><img class="resource" src="/media/images/team/list.png" alt="{% trans "Team Mailing List" %}" title="{% trans "Team Mailing List" %}" /></a>
136 {% endif %}
137 {% if team.forum_url %}
138 <a href="{{ team.forum_url }}"><img class="resource" src="/media/images/team/forum.png" alt="{% trans "Team Forums" %}" title="{% trans "Team Forums" %}" /></a>
139 {% endif %}
140 {% if team.web_url %}
141 <a href="{{ team.web_url }}"><img class="resource" src="/media/images/team/website.png" alt="{% trans "Team Website" %}" title="{% trans "Team Website" %}" /></a>
142 {% endif %}
143 </td>
144 </tr>
145 <tr>
146 <th class="form-item-label" scope="row"><label>{% trans "Upcoming Events:" %}</label></th>
147 <td class="form-item-value">
148 <ul class="team-event-nav">
149 <li style="font-size:0.98em"><a href="{% url team-event-list team.lp_name %}">{% trans "All Events" %}</a></li>
150 <li style="font-size:0.98em"><a href="{% url team-event-history team.lp_name %}">{% trans "Past Events" %}</a></li>
151 <li style="font-size:0.98em"><a href="{% url team-events-rss team.lp_name %}">{% trans "RSS Feed" %}</a></li>
152 <li style="font-size:0.98em"><a href="{% url team-event-list-ical team.lp_name %}">{% trans "iCal Feed" %}</a></li>
153 </ul>
154 {% if team.teamevent_set.next_5_events %}
155 <ul>
156 {% for team_event in team.teamevent_set.next_5_events %}
157 {% comment %}TRANSLATORS: If event has a venue, show: date "in" city{% endcomment %}
158 <li>
159 <a title="{% if team_event.venue %}{% blocktrans with team_event.date_begin|date:"M d" as start_date and team_event.venue.city as city %}{{start_date}} in {{city}}{% endblocktrans %}{% else %}{{team_event.date_begin|date:"M d"}}{% endif %}" href="{% url team-event-detail team_event.id %}">{{ team_event.name }}</a> {% trans "on: " %}{{ team_event.date_begin|date}}
160 </li>
161 {% endfor %}
162 </ul>
163 {% else %}
164 {% trans "None Specified" %}
165 {% endif %}
166 </td>
167 </tr>
168 </table>
161</article>169</article>
162170
163<article class="minor-content">171<article class="minor-content">
164<img id="locobranding" src="{{ team.mugshot_url }}" alt="" title="{{ team.name }}"/>172 <img id="locobranding" src="{{ team.mugshot_url }}" alt="" title="{{ team.name }}" />
165</article>173</article>
166174
167{% if team.flickr_id %} 175{% if team.flickr_id %}
168<article class="minor-content alone" style="width:95%;">176<article class="minor-content alone" style="width:95%;">
169<h2>{% trans "Photos from" %} {{ team.name }}</a></h2>177 <h2>{% trans "Photos from" %} {{ team.name }}</a></h2>
170<div style="width:100%;" id="flickr"> </div> 178 <div style="width:100%;" id="flickr"> </div>
171</article>179</article>
172{% endif %}180{% endif %}
173181
174
175
176{% endblock %}182{% endblock %}

Subscribers

People subscribed via source and target branches