Merge lp:~dholbach/loco-team-portal/601679 into lp:loco-team-portal

Proposed by Daniel Holbach
Status: Merged
Merged at revision: 185
Proposed branch: lp:~dholbach/loco-team-portal/601679
Merge into: lp:loco-team-portal
Diff against target: 81 lines (+16/-10)
2 files modified
loco_directory/locale/loco-directory.pot (+13/-9)
loco_directory/templates/teams/team_detail.html (+3/-1)
To merge this branch: bzr merge lp:~dholbach/loco-team-portal/601679
Reviewer Review Type Date Requested Status
Michael Hall (community) Approve
Review via email: mp+29531@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Michael Hall (mhall119) wrote :

Very nice, now even if a team doesn't have a listed email address, they will at least have the contact form option!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'loco_directory/locale/loco-directory.pot'
2--- loco_directory/locale/loco-directory.pot 2010-07-01 06:26:23 +0000
3+++ loco_directory/locale/loco-directory.pot 2010-07-09 10:11:03 +0000
4@@ -8,7 +8,7 @@
5 msgstr ""
6 "Project-Id-Version: PACKAGE VERSION\n"
7 "Report-Msgid-Bugs-To: \n"
8-"POT-Creation-Date: 2010-07-01 06:21+0000\n"
9+"POT-Creation-Date: 2010-07-09 10:06+0000\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
13@@ -850,7 +850,7 @@
14 msgid "Location:"
15 msgstr ""
16
17-#: templates/teams/team_detail.html:34 templates/teams/team_detail.html:108
18+#: templates/teams/team_detail.html:34 templates/teams/team_detail.html:110
19 msgid "None Specified"
20 msgstr ""
21
22@@ -886,32 +886,36 @@
23 msgid "Team Mailing List"
24 msgstr ""
25
26-#: templates/teams/team_detail.html:84
27+#: templates/teams/team_detail.html:83
28+msgid "Contact Team via Launchpad"
29+msgstr ""
30+
31+#: templates/teams/team_detail.html:86
32 msgid "Team Forums"
33 msgstr ""
34
35-#: templates/teams/team_detail.html:87
36+#: templates/teams/team_detail.html:89
37 msgid "Team Website"
38 msgstr ""
39
40-#: templates/teams/team_detail.html:90
41+#: templates/teams/team_detail.html:92
42 msgid "Provides Support"
43 msgstr ""
44
45-#: templates/teams/team_detail.html:96
46+#: templates/teams/team_detail.html:98
47 msgid "Upcoming Events:"
48 msgstr ""
49
50-#: templates/teams/team_detail.html:103
51+#: templates/teams/team_detail.html:105
52 #, python-format
53 msgid "%(start_date)s in %(city)s"
54 msgstr ""
55
56-#: templates/teams/team_detail.html:103
57+#: templates/teams/team_detail.html:105
58 msgid "on: "
59 msgstr ""
60
61-#: templates/teams/team_detail.html:106
62+#: templates/teams/team_detail.html:108
63 msgid "Show detailed Event List"
64 msgstr ""
65
66
67=== modified file 'loco_directory/templates/teams/team_detail.html'
68--- loco_directory/templates/teams/team_detail.html 2010-06-24 19:18:57 +0000
69+++ loco_directory/templates/teams/team_detail.html 2010-07-09 10:11:03 +0000
70@@ -77,8 +77,10 @@
71 {% if team.ml_url %}
72 <a href="{{ team.ml_url }}"><img class="resource" src="/media/img/res/list.png" alt="{% trans "Team Mailing List" %}" title="{% trans "Team Mailing List" %}"/></a>
73 {% endif %}
74- {% if team.email %}
75+ {% if team.email and user.is_authenticated %}
76 <a href="mailto:{{ team.email }}"><img class="resource" src="/media/img/res/email.png" alt="{% trans "Email Address" %}" title="{% trans "Email Address" %}"/></a>
77+ {% else %}
78+ <a href="https://launchpad.net/~{{ team.lp_name }}/+contactuser"><img class="resource" src="/media/img/res/email.png" alt="{% trans "Contact Team via Launchpad" %}" title="{% trans "Contact Team via Launchpad" %}"/></a>
79 {% endif %}
80 {% if team.forum_url %}
81 <a href="{{ team.forum_url }}"><img class="resource" src="/media/img/res/forum.png" alt="{% trans "Team Forums" %}" title="{% trans "Team Forums" %}"/></a>

Subscribers

People subscribed via source and target branches