Merge lp:~allenap/launchpad/localpackagediffs-show-changed-by-bug-798865-no-icon-for-uploader into lp:launchpad

Proposed by Gavin Panella
Status: Merged
Approved by: Gavin Panella
Approved revision: no longer in the source branch.
Merged at revision: 13517
Proposed branch: lp:~allenap/launchpad/localpackagediffs-show-changed-by-bug-798865-no-icon-for-uploader
Merge into: lp:launchpad
Diff against target: 37 lines (+10/-6)
1 file modified
lib/lp/registry/templates/distroseries-localdifferences.pt (+10/-6)
To merge this branch: bzr merge lp:~allenap/launchpad/localpackagediffs-show-changed-by-bug-798865-no-icon-for-uploader
Reviewer Review Type Date Requested Status
Gavin Panella (community) Approve
Review via email: mp+69245@code.launchpad.net

Commit message

[r=allenap][bug=798865] Don't show an icon next to the uploader in +localpackagediffs and its relatives.

Description of the change

Don't show the person icon when the uploader is displayed in +localpackagediffs and its relatives.

To post a comment you must log in.
Revision history for this message
Gavin Panella (allenap) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/registry/templates/distroseries-localdifferences.pt'
2--- lib/lp/registry/templates/distroseries-localdifferences.pt 2011-07-25 10:58:38 +0000
3+++ lib/lp/registry/templates/distroseries-localdifferences.pt 2011-07-26 10:30:57 +0000
4@@ -154,11 +154,13 @@
5 <span class="nowrap">by <a tal:replace="structure spr/creator/fmt:link" /></span>
6 </tal:creator>
7 <tal:uploader
8- define="spr parent_source_pub/sourcepackagerelease"
9- condition="python: spr.uploader not in (None, spr.creator)">
10+ define="uploader parent_source_pub/sourcepackagerelease/uploader;
11+ creator parent_source_pub/sourcepackagerelease/creator"
12+ condition="python: uploader not in (None, creator)">
13 <br />
14 <span class="discreet nowrap">
15- (uploaded by <a tal:replace="structure spr/uploader/fmt:link" />)
16+ (uploaded by <a tal:attributes="href uploader/fmt:url"
17+ tal:content="uploader/fmt:displayname" />)
18 </span>
19 </tal:uploader>
20 </tal:published>
21@@ -174,11 +176,13 @@
22 <span class="nowrap">by <a tal:replace="structure spr/creator/fmt:link" /></span>
23 </tal:creator>
24 <tal:uploader
25- define="spr source_pub/sourcepackagerelease"
26- condition="python: spr.uploader not in (None, spr.creator)">
27+ define="uploader source_pub/sourcepackagerelease/uploader;
28+ creator source_pub/sourcepackagerelease/creator"
29+ condition="python: uploader not in (None, creator)">
30 <br />
31 <span class="discreet nowrap">
32- (uploaded by <a tal:replace="structure spr/uploader/fmt:link" />)
33+ (uploaded by <a tal:attributes="href uploader/fmt:url"
34+ tal:content="uploader/fmt:displayname" />)
35 </span>
36 </tal:uploader>
37 </tal:published>