7675.820.5
by Michael Nelson
Added test for new distroseriesdifference view. |
1 |
<tal:root
|
7675.820.3
by Michael Nelson
DistroSeriesDifference view/template skeleton. |
2 |
xmlns:tal="http://xml.zope.org/namespaces/tal" |
3 |
xmlns:metal="http://xml.zope.org/namespaces/metal" |
|
4 |
xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
|
5 |
i18n:domain="launchpad"> |
|
7675.834.10
by Michael Nelson
Added form for radio buttons, cleaned up JS a bit. |
6 |
|
12632.4.5
by Raphael Badin
Refactor details template to use macros. |
7 |
<metal:macros tal:replace="nothing"> |
8 |
<metal:macro-derived metal:define-macro="base-to-derived"> |
|
9 |
<span tal:replace="context/base_version">1.1.1</span> to |
|
10 |
<span tal:replace="context/derived_series/displayname"> |
|
12632.4.6
by Raphael Badin
Polish UI. |
11 |
Derilucid</span> version:
|
12632.4.5
by Raphael Badin
Refactor details template to use macros. |
12 |
<span tal:replace="context/source_version">1.2.3</span> |
13 |
</metal:macro-derived>
|
|
14 |
||
15 |
<metal:macro-parent metal:define-macro="base-to-parent"> |
|
16 |
<span tal:replace="context/base_version">1.1.1</span> to |
|
7675.1123.1
by Steve Kowalik
Switch DSD{,J} from using .parent_series to using DistroSeriesParent. |
17 |
<span tal:replace="context/parent_series/displayname"> |
12632.4.6
by Raphael Badin
Polish UI. |
18 |
Lucid</span> version:
|
12632.4.5
by Raphael Badin
Refactor details template to use macros. |
19 |
<span tal:replace="context/parent_source_version">1.2.4</span> |
20 |
</metal:macro-parent>
|
|
21 |
</metal:macros>
|
|
22 |
||
13543.11.6
by Raphael Badin
Blacklisting actions trigger a popup to allow the user to enter a comment. |
23 |
<div style="float: left;"> |
7675.820.5
by Michael Nelson
Added test for new distroseriesdifference view. |
24 |
<dl>
|
7675.820.21
by Michael Nelson
Added default view and templates for IComment. |
25 |
<dt>Binary descriptions:</dt> |
26 |
<dd><ul>
|
|
27 |
<li tal:repeat="summary view/binary_summaries"> |
|
28 |
<tal:description replace="summary" /></li> |
|
29 |
</ul></dd>
|
|
12726.1.1
by Raphael Badin
Add +missingpackages page. |
30 |
<tal:package-diffs tal:condition="view/can_have_packages_diffs"> |
7675.820.5
by Michael Nelson
Added test for new distroseriesdifference view. |
31 |
<dt>Last common version:</dt> |
13225.5.1
by Julian Edwards
Ensure that 'last common version' is linked to the parent distro's source package release page |
32 |
<dd tal:condition="context/base_version"> |
33 |
<a id="last_common_version" |
|
34 |
tal:attributes="href context/base_distro_source_package_release/fmt:url" |
|
35 |
tal:content="context/base_version"/></dd> |
|
12736.13.2
by Raphael Badin
Add test to check for package diffs header when package diffs are available. |
36 |
<dd tal:condition="not: context/base_version"> |
13252.1.1
by Julian Edwards
Make it clearer when no debdiffs are available |
37 |
Unknown, so no diffs are available |
12736.13.2
by Raphael Badin
Add test to check for package diffs header when package diffs are available. |
38 |
</dd>
|
12840.5.6
by Gavin Panella
Show or hide the package diffs section as one, using view.display_package_diffs_info. |
39 |
<tal:package-diffs-info condition="view/display_package_diffs_info"> |
12632.4.6
by Raphael Badin
Polish UI. |
40 |
<dt
|
12632.4.18
by Raphael Badin
Only show the link to request package diffs to user with lp.Edit permission on dsd. |
41 |
tal:condition="view/show_package_diffs_request_link" |
12632.4.6
by Raphael Badin
Polish UI. |
42 |
class="package-diff-placeholder"> |
12632.4.17
by Raphael Badin
Create the link to request package diffs so that js listeners will be cleared when the link is clicked. |
43 |
<span class="package-diff-compute-request"> |
44 |
<a class="js-action sprite add" href=""> |
|
45 |
Compute differences from last common version</a>:
|
|
46 |
</span>
|
|
12632.4.6
by Raphael Badin
Polish UI. |
47 |
</dt>
|
48 |
<dt
|
|
12840.5.6
by Gavin Panella
Show or hide the package diffs section as one, using view.display_package_diffs_info. |
49 |
tal:condition="not:view/show_package_diffs_request_link"> |
12632.4.6
by Raphael Badin
Polish UI. |
50 |
Differences from last common version: |
51 |
</dt>
|
|
12840.5.4
by Gavin Panella
Change the situations in which the diffs header is displayed. |
52 |
<dd tal:condition="view/display_diffs"> |
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
53 |
<ul class="package-diff-status"> |
12708.1.1
by Steve Kowalik
Add a new property to DistroSeriesDifferenceView to decide if to show the child |
54 |
<tal:source-diff-option condition="view/display_child_diff"> |
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
55 |
<li tal:condition="context/package_diff"> |
56 |
<span tal:condition="context/package_diff/status/enumvalue:PENDING" |
|
12632.4.6
by Raphael Badin
Polish UI. |
57 |
class="sprite PENDING"> |
58 |
<span metal:use-macro="template/macros/base-to-derived" /> |
|
59 |
<span class="greyed-out note">(Pending)</span> |
|
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
60 |
</span>
|
61 |
||
62 |
<span tal:condition="context/package_diff/status/enumvalue:FAILED" |
|
12632.4.6
by Raphael Badin
Polish UI. |
63 |
class="sprite FAILED"> |
64 |
<span metal:use-macro="template/macros/base-to-derived" /> |
|
65 |
<span class="greyed-out note">(Failed)</span> |
|
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
66 |
</span>
|
67 |
||
68 |
<span tal:condition="context/package_diff/status/enumvalue:COMPLETED" |
|
12632.4.6
by Raphael Badin
Polish UI. |
69 |
class="sprite COMPLETED"> |
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
70 |
<a tal:attributes="href context/package_diff_url"> |
12632.4.5
by Raphael Badin
Refactor details template to use macros. |
71 |
<span metal:use-macro="template/macros/base-to-derived" /> |
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
72 |
</a>
|
73 |
</span>
|
|
74 |
</li>
|
|
75 |
<li tal:condition="not: context/package_diff"> |
|
12632.4.6
by Raphael Badin
Polish UI. |
76 |
<span class="sprite request-derived-diff derived"> |
12632.4.5
by Raphael Badin
Refactor details template to use macros. |
77 |
<span metal:use-macro="template/macros/base-to-derived" /> |
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
78 |
</span>
|
79 |
</li>
|
|
7675.820.21
by Michael Nelson
Added default view and templates for IComment. |
80 |
</tal:source-diff-option>
|
12819.2.1
by Raphael Badin
Do not display parent package diff if parent_source_version==base_version |
81 |
<tal:parent-diff-option condition="view/display_parent_diff"> |
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
82 |
<li tal:condition="context/parent_package_diff"> |
83 |
<span tal:condition="context/parent_package_diff/status/enumvalue:PENDING" |
|
12632.4.6
by Raphael Badin
Polish UI. |
84 |
class="sprite PENDING parent"> |
85 |
<span metal:use-macro="template/macros/base-to-parent" /> |
|
86 |
<span class="greyed-out note">(Pending)</span> |
|
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
87 |
</span>
|
88 |
||
89 |
<span tal:condition="context/parent_package_diff/status/enumvalue:FAILED" |
|
12632.4.6
by Raphael Badin
Polish UI. |
90 |
class="sprite FAILED"> |
91 |
<span metal:use-macro="template/macros/base-to-parent" /> |
|
92 |
<span class="greyed-out note">(Failed)</span> |
|
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
93 |
</span>
|
94 |
||
95 |
<span tal:condition="context/parent_package_diff/status/enumvalue:COMPLETED" |
|
12632.4.6
by Raphael Badin
Polish UI. |
96 |
class="sprite COMPLETED"> |
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
97 |
<a tal:attributes="href context/parent_package_diff_url"> |
12632.4.5
by Raphael Badin
Refactor details template to use macros. |
98 |
<span metal:use-macro="template/macros/base-to-parent" /> |
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
99 |
</a>
|
100 |
</span>
|
|
101 |
</li>
|
|
102 |
<li tal:condition="not: context/parent_package_diff"> |
|
12632.4.6
by Raphael Badin
Polish UI. |
103 |
<span class="sprite request-derived-diff parent"> |
12632.4.5
by Raphael Badin
Refactor details template to use macros. |
104 |
<span metal:use-macro="template/macros/base-to-parent" /> |
12632.4.2
by Raphael Badin
Display package diffs, add a button to trigger package diffs computation and a poller to update the statuses. |
105 |
</span>
|
106 |
</li>
|
|
7675.820.21
by Michael Nelson
Added default view and templates for IComment. |
107 |
</tal:parent-diff-option>
|
108 |
</ul>
|
|
7675.820.7
by Michael Nelson
Tested package diff links/text and added factory.makePackageDiff(). |
109 |
</dd>
|
12840.5.6
by Gavin Panella
Show or hide the package diffs section as one, using view.display_package_diffs_info. |
110 |
</tal:package-diffs-info>
|
111 |
||
12726.1.1
by Raphael Badin
Add +missingpackages page. |
112 |
</tal:package-diffs>
|
7675.820.5
by Michael Nelson
Added test for new distroseriesdifference view. |
113 |
</dl>
|
13543.11.6
by Raphael Badin
Blacklisting actions trigger a popup to allow the user to enter a comment. |
114 |
</div>
|
115 |
<div
|
|
116 |
tal:attributes="class view/blacklist_options_css_class" |
|
117 |
style="float:left"> |
|
118 |
<dl>
|
|
119 |
<dt>Ignored:</dt> |
|
120 |
<dd>
|
|
121 |
<form>
|
|
122 |
<tal:replace
|
|
123 |
replace="structure view/widgets/blacklist_options" /> |
|
124 |
</form>
|
|
125 |
</dd>
|
|
126 |
</dl>
|
|
127 |
</div>
|
|
128 |
||
129 |
<div style="clear:both;"> </div> |
|
7675.820.11
by Michael Nelson
Added comments to snippet and tested. |
130 |
|
12881.4.1
by Raphael Badin
Fix 'Comments' size. |
131 |
<strong>Comments:</strong> |
7675.834.40
by Michael Nelson
Re-order comments. Needs a bit more ui tweaking. |
132 |
<tal:conversation replace="structure view/@@+render"/> |
7675.1156.1
by Julian Edwards
Only show blacklist radio button widget to archive admins. |
133 |
<tal:show_options condition="view/show_add_comment" |
7675.834.39
by Michael Nelson
Updated windmill test to test comments also. |
134 |
define="src_name context/source_package_name/name"> |
13199.2.3
by Gavin Panella
Apply rvb's lint patch. |
135 |
<div tal:attributes="class string:add-comment-placeholder ${src_name}"></div> |
7675.834.33
by Michael Nelson
Initial add comment. |
136 |
</tal:show_options>
|
7675.820.5
by Michael Nelson
Added test for new distroseriesdifference view. |
137 |
|
138 |
</tal:root>
|