Merge lp:~dholbach/loco-team-portal/fix-494433 into lp:~ltp-devs/loco-team-portal/trunk

Proposed by Daniel Holbach
Status: Merged
Merged at revision: not available
Proposed branch: lp:~dholbach/loco-team-portal/fix-494433
Merge into: lp:~ltp-devs/loco-team-portal/trunk
Diff against target: 33 lines (+3/-2)
2 files modified
loco_directory/teams/views.py (+2/-2)
loco_directory/templates/teams/team_update.html (+1/-0)
To merge this branch: bzr merge lp:~dholbach/loco-team-portal/fix-494433
Reviewer Review Type Date Requested Status
Dave Walker Approve
LoCo Team Portal Developers Pending
Review via email: mp+15869@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dave Walker (davewalker) wrote :

Works as expected.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'loco_directory/teams/views.py'
2--- loco_directory/teams/views.py 2009-12-04 08:51:48 +0000
3+++ loco_directory/teams/views.py 2009-12-09 13:55:20 +0000
4@@ -89,7 +89,7 @@
5 message = _("Team details could not be saved.")
6 return common.views.versioned_render('teams/team_update.html',
7 {'form': form,
8- 'team':team,
9+ 'team':team_object,
10 'user':request.user,
11 'message':message })
12 if is_on_lc:
13@@ -99,7 +99,7 @@
14 logging.debug("%s %s - LC: %s, Contact: %s, normal view" % (teamedit_slug, request.user, str(is_on_lc), str(is_contact)))
15 return common.views.versioned_render('teams/team_update.html',
16 {'form': form,
17- 'team':team,
18+ 'team':team_object,
19 'user':request.user,
20 })
21
22
23=== modified file 'loco_directory/templates/teams/team_update.html'
24--- loco_directory/templates/teams/team_update.html 2009-06-30 10:20:36 +0000
25+++ loco_directory/templates/teams/team_update.html 2009-12-09 13:55:20 +0000
26@@ -6,6 +6,7 @@
27 {% block content %}
28
29 <p><b><a href="/teams">{% trans "Go back to Team list." %}</a></b></p>
30+<p><b><a href="/teams/{{ team.lp_name }}">{% trans "Go back to team details." %}</a></b></p>
31 <div id="form">
32 {% if message %}
33 <div class="box">

Subscribers

People subscribed via source and target branches