Merge lp:~gary/launchpad/launchpad-templates-2 into lp:launchpad
- launchpad-templates-2
- Merge into devel
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~gary/launchpad/launchpad-templates-2 |
Merge into: | lp:launchpad |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~gary/launchpad/launchpad-templates-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Edwin Grubbs (community) | code | Approve | |
Review via email: mp+12012@code.launchpad.net |
Commit message
Description of the change
Gary Poster (gary) wrote : | # |
Edwin Grubbs (edwin-grubbs) wrote : | # |
Hi Gary,
This is a nice branch. Just a few changes.
merge-conditional
-Edwin
>=== modified file 'lib/canonical/
>--- lib/canonical/
>+++ lib/canonical/
>@@ -20,6 +20,7 @@
> class TemporaryBlobSt
Can you add an XXX referencing bug 315358 and a comment that this page
could possibly be removed after that bug has been completed.
> schema = ITemporaryBlobS
> label = 'Store BLOB'
>+ page_title = 'Store a BLOB temporarily in Launchpad'
> field_names = ['blob']
> for_input = True
>
>
>=== modified file 'lib/canonical/
>--- lib/canonical/
>+++ lib/canonical/
>@@ -3,10 +3,7 @@
> xmlns:tal="http://
> xmlns:metal="http://
> xmlns:i18n="http://
>- xml:lang="en"
>- lang="en"
>- dir="ltr"
>- metal:use-
>+ metal:use-
You didn't remove the root_index variable from pagetitles.py. BTW, this
seems like a fourth template, so I will have to charge extra.
> i18n:domain=
> <body>
> <div metal:fill-
>
>=== modified file 'lib/canonical/
>--- lib/canonical/
>+++ lib/canonical/
>@@ -256,6 +256,7 @@
> <browser:page
> for="canonical.
> name="+graphics"
>+ class="
Should specify exact module, e.g.
"canonical.
> template=
> permission=
> />
>
>=== modified file 'lib/canonical/
>--- lib/canonical/
>+++ lib/canonical/
>@@ -35,6 +35,7 @@
> <browser:pages
> for="canonical.
> facet="overview"
>+ class="
Here, too.
> permission=
> <browser:page
> name="+index"
>
Gary Poster (gary) wrote : | # |
Thank you very much, Edwin.
I made all requested changes, except I reverted the change to root-index. Henning is working on that page, so I shouldn't stomp on his work.
Incremental diff follows.
Gary
=== modified file 'lib/canonical/
--- lib/canonical/
+++ lib/canonical/
@@ -18,6 +18,10 @@
class TemporaryBlobSt
+ # XXX: gary 2009-09-18 bug=31358
+ # This page might be able to be removed after the referenced bug is
+ # fixed and apport (Ubuntu's bug reporting tool) has been changed to use
+ # it.
schema = ITemporaryBlobS
label = 'Store BLOB'
page_title = 'Store a BLOB temporarily in Launchpad'
=== modified file 'lib/canonical/
--- lib/canonical/
+++ lib/canonical/
@@ -3,7 +3,10 @@
xmlns:tal="http://
xmlns:metal="http://
xmlns:i18n="http://
- metal:use-
+ xml:lang="en"
+ lang="en"
+ dir="ltr"
+ metal:use-
i18n:
<body>
<div metal:fill-
=== modified file 'lib/canonical/
--- lib/canonical/
+++ lib/canonical/
@@ -256,7 +256,7 @@
<browser:page
- class="
+ class="
/>
=== modified file 'lib/canonical/
--- lib/canonical/
+++ lib/canonical/
@@ -35,7 +35,7 @@
<browser:pages
for=
facet=
- class="
+ class="
permission
<browser:page
Preview Diff
1 | === modified file 'lib/canonical/launchpad/browser/launchpad.py' | |||
2 | --- lib/canonical/launchpad/browser/launchpad.py 2009-09-08 22:42:42 +0000 | |||
3 | +++ lib/canonical/launchpad/browser/launchpad.py 2009-09-17 22:05:48 +0000 | |||
4 | @@ -13,6 +13,7 @@ | |||
5 | 13 | 'IcingContribFolder', | 13 | 'IcingContribFolder', |
6 | 14 | 'IcingFolder', | 14 | 'IcingFolder', |
7 | 15 | 'LaunchpadImageFolder', | 15 | 'LaunchpadImageFolder', |
8 | 16 | 'LaunchpadGraphics', | ||
9 | 16 | 'LaunchpadRootNavigation', | 17 | 'LaunchpadRootNavigation', |
10 | 17 | 'LinkView', | 18 | 'LinkView', |
11 | 18 | 'LoginStatus', | 19 | 'LoginStatus', |
12 | @@ -956,6 +957,10 @@ | |||
13 | 956 | return u'Thanks.' | 957 | return u'Thanks.' |
14 | 957 | 958 | ||
15 | 958 | 959 | ||
16 | 960 | class LaunchpadGraphics(LaunchpadView): | ||
17 | 961 | label = page_title = 'Overview of Launchpad graphics and icons' | ||
18 | 962 | |||
19 | 963 | |||
20 | 959 | def get_launchpad_views(cookies): | 964 | def get_launchpad_views(cookies): |
21 | 960 | """The state of optional page elements the user may choose to view. | 965 | """The state of optional page elements the user may choose to view. |
22 | 961 | 966 | ||
23 | 962 | 967 | ||
24 | === modified file 'lib/canonical/launchpad/browser/launchpadstatistic.py' | |||
25 | --- lib/canonical/launchpad/browser/launchpadstatistic.py 2009-06-25 05:30:52 +0000 | |||
26 | +++ lib/canonical/launchpad/browser/launchpadstatistic.py 2009-09-17 22:05:48 +0000 | |||
27 | @@ -6,11 +6,12 @@ | |||
28 | 6 | __metaclass__ = type | 6 | __metaclass__ = type |
29 | 7 | 7 | ||
30 | 8 | __all__ = [ | 8 | __all__ = [ |
31 | 9 | 'LaunchpadStatisticSet', | ||
32 | 9 | 'LaunchpadStatisticSetFacets', | 10 | 'LaunchpadStatisticSetFacets', |
33 | 10 | ] | 11 | ] |
34 | 11 | 12 | ||
35 | 12 | from canonical.launchpad.interfaces import ILaunchpadStatisticSet | 13 | from canonical.launchpad.interfaces import ILaunchpadStatisticSet |
37 | 13 | from canonical.launchpad.webapp import StandardLaunchpadFacets | 14 | from canonical.launchpad.webapp import StandardLaunchpadFacets, LaunchpadView |
38 | 14 | 15 | ||
39 | 15 | 16 | ||
40 | 16 | class LaunchpadStatisticSetFacets(StandardLaunchpadFacets): | 17 | class LaunchpadStatisticSetFacets(StandardLaunchpadFacets): |
41 | @@ -23,3 +24,5 @@ | |||
42 | 23 | enable_only = ['overview',] | 24 | enable_only = ['overview',] |
43 | 24 | 25 | ||
44 | 25 | 26 | ||
45 | 27 | class LaunchpadStatisticSet(LaunchpadView): | ||
46 | 28 | label = page_title = "Launchpad statistics" | ||
47 | 26 | 29 | ||
48 | === modified file 'lib/canonical/launchpad/browser/temporaryblobstorage.py' | |||
49 | --- lib/canonical/launchpad/browser/temporaryblobstorage.py 2009-06-25 05:30:52 +0000 | |||
50 | +++ lib/canonical/launchpad/browser/temporaryblobstorage.py 2009-09-17 22:05:48 +0000 | |||
51 | @@ -20,6 +20,7 @@ | |||
52 | 20 | class TemporaryBlobStorageAddView(LaunchpadFormView): | 20 | class TemporaryBlobStorageAddView(LaunchpadFormView): |
53 | 21 | schema = ITemporaryBlobStorage | 21 | schema = ITemporaryBlobStorage |
54 | 22 | label = 'Store BLOB' | 22 | label = 'Store BLOB' |
55 | 23 | page_title = 'Store a BLOB temporarily in Launchpad' | ||
56 | 23 | field_names = ['blob'] | 24 | field_names = ['blob'] |
57 | 24 | for_input = True | 25 | for_input = True |
58 | 25 | 26 | ||
59 | 26 | 27 | ||
60 | === modified file 'lib/canonical/launchpad/pagetitles.py' | |||
61 | --- lib/canonical/launchpad/pagetitles.py 2009-09-16 17:07:14 +0000 | |||
62 | +++ lib/canonical/launchpad/pagetitles.py 2009-09-17 22:05:48 +0000 | |||
63 | @@ -457,8 +457,6 @@ | |||
64 | 457 | 457 | ||
65 | 458 | launchpad_forgottenpassword = 'Need a new Launchpad password?' | 458 | launchpad_forgottenpassword = 'Need a new Launchpad password?' |
66 | 459 | 459 | ||
67 | 460 | launchpad_graphics = 'Overview of Launchpad graphics and icons' | ||
68 | 461 | |||
69 | 462 | template_form = 'XXX PLEASE DO NOT USE THIS TEMPLATE XXX' | 460 | template_form = 'XXX PLEASE DO NOT USE THIS TEMPLATE XXX' |
70 | 463 | 461 | ||
71 | 464 | # launchpad_css is a css file | 462 | # launchpad_css is a css file |
72 | @@ -481,8 +479,6 @@ | |||
73 | 481 | 479 | ||
74 | 482 | # launchpad_widget_macros doesn't need a title. | 480 | # launchpad_widget_macros doesn't need a title. |
75 | 483 | 481 | ||
76 | 484 | launchpadstatisticset_index = 'Launchpad statistics' | ||
77 | 485 | |||
78 | 486 | loginservice_email_sent = 'Launchpad Login Service - Email sent' | 482 | loginservice_email_sent = 'Launchpad Login Service - Email sent' |
79 | 487 | 483 | ||
80 | 488 | def loginservice_authorize(context, view): | 484 | def loginservice_authorize(context, view): |
81 | @@ -1004,8 +1000,6 @@ | |||
82 | 1004 | 1000 | ||
83 | 1005 | template_new = 'EXAMPLE NEW TITLE' | 1001 | template_new = 'EXAMPLE NEW TITLE' |
84 | 1006 | 1002 | ||
85 | 1007 | temporaryblobstorage_storeblob = 'Store a BLOB temporarily in Launchpad' | ||
86 | 1008 | |||
87 | 1009 | token_authorized = 'Almost finished ...' | 1003 | token_authorized = 'Almost finished ...' |
88 | 1010 | 1004 | ||
89 | 1011 | translationgroup_index = ContextTitle( | 1005 | translationgroup_index = ContextTitle( |
90 | 1012 | 1006 | ||
91 | === modified file 'lib/canonical/launchpad/templates/launchpad-graphics.pt' | |||
92 | --- lib/canonical/launchpad/templates/launchpad-graphics.pt 2009-07-28 23:30:09 +0000 | |||
93 | +++ lib/canonical/launchpad/templates/launchpad-graphics.pt 2009-09-17 22:05:48 +0000 | |||
94 | @@ -3,10 +3,7 @@ | |||
95 | 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" | 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
96 | 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" | 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
97 | 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" | 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
102 | 6 | xml:lang="en" | 6 | metal:use-macro="view/macro:page/main_only" |
99 | 7 | lang="en" | ||
100 | 8 | dir="ltr" | ||
101 | 9 | metal:use-macro="view/macro:page/applicationhome" | ||
103 | 10 | i18n:domain="launchpad" | 7 | i18n:domain="launchpad" |
104 | 11 | > | 8 | > |
105 | 12 | 9 | ||
106 | @@ -169,12 +166,12 @@ | |||
107 | 169 | <tr> | 166 | <tr> |
108 | 170 | <td>cancel</td> | 167 | <td>cancel</td> |
109 | 171 | <td><img alt="cancel" src="/@@/cancel" /></td> | 168 | <td><img alt="cancel" src="/@@/cancel" /></td> |
111 | 172 | <td rowspan="2">Cancel an action.</td> | 169 | <td>Cancel an action.</td> |
112 | 173 | </tr> | 170 | </tr> |
113 | 174 | <tr> | 171 | <tr> |
114 | 175 | <td>confirm</td> | 172 | <td>confirm</td> |
115 | 176 | <td><img alt="confirm" src="/@@/confirm" /></td> | 173 | <td><img alt="confirm" src="/@@/confirm" /></td> |
117 | 177 | <td rowspan="2">Confirm an action.</td> | 174 | <td>Confirm an action.</td> |
118 | 178 | </tr> | 175 | </tr> |
119 | 179 | <tr> | 176 | <tr> |
120 | 180 | <td>crowd</td> | 177 | <td>crowd</td> |
121 | @@ -203,15 +200,15 @@ | |||
122 | 203 | <tr> | 200 | <tr> |
123 | 204 | <td>distribution-badge</td> | 201 | <td>distribution-badge</td> |
124 | 205 | <td><img alt="" src="/@@/distribution-badge" /></td> | 202 | <td><img alt="" src="/@@/distribution-badge" /></td> |
126 | 206 | <td rowspan="4">An operating system compiled from various software.</td> | 203 | <td rowspan="3">An operating system compiled from various software.</td> |
127 | 207 | </tr> | 204 | </tr> |
128 | 208 | <tr> | 205 | <tr> |
129 | 209 | <td>distribution</td> | 206 | <td>distribution</td> |
131 | 210 | <td colspan="2"><img alt="" src="/@@/distribution" /></td> | 207 | <td><img alt="" src="/@@/distribution" /></td> |
132 | 211 | </tr> | 208 | </tr> |
133 | 212 | <tr> | 209 | <tr> |
134 | 213 | <td>distribution-logo</td> | 210 | <td>distribution-logo</td> |
136 | 214 | <td colspan="2"><img alt="" src="/@@/distribution-logo" /></td> | 211 | <td><img alt="" src="/@@/distribution-logo" /></td> |
137 | 215 | </tr> | 212 | </tr> |
138 | 216 | <tr> | 213 | <tr> |
139 | 217 | <td>download</td> | 214 | <td>download</td> |
140 | @@ -246,15 +243,17 @@ | |||
141 | 246 | <tr> | 243 | <tr> |
142 | 247 | <td>flame-icon</td> | 244 | <td>flame-icon</td> |
143 | 248 | <td><img alt="" src="/@@/flame-icon" /></td> | 245 | <td><img alt="" src="/@@/flame-icon" /></td> |
145 | 249 | <td>Currently used to show a bug affecting many users.</td> | 246 | <td rowspan="3"> |
146 | 247 | Currently used to show a bug affecting many users. | ||
147 | 248 | </td> | ||
148 | 250 | </tr> | 249 | </tr> |
149 | 251 | <tr> | 250 | <tr> |
150 | 252 | <td>flame-large</td> | 251 | <td>flame-large</td> |
152 | 253 | <td colspan="2"><img alt="" src="/@@/flame-large" /></td> | 252 | <td><img alt="" src="/@@/flame-large" /></td> |
153 | 254 | </tr> | 253 | </tr> |
154 | 255 | <tr> | 254 | <tr> |
155 | 256 | <td>flame-logo</td> | 255 | <td>flame-logo</td> |
157 | 257 | <td colspan="2"><img alt="" src="/@@/flame-logo" /></td> | 256 | <td><img alt="" src="/@@/flame-logo" /></td> |
158 | 258 | </tr> | 257 | </tr> |
159 | 259 | <tr> | 258 | <tr> |
160 | 260 | <td>info</td> | 259 | <td>info</td> |
161 | @@ -278,7 +277,7 @@ | |||
162 | 278 | <tr> | 277 | <tr> |
163 | 279 | <td>launchpad-large</td> | 278 | <td>launchpad-large</td> |
164 | 280 | <td><img alt="" src="/@@/launchpad-large" /></td> | 279 | <td><img alt="" src="/@@/launchpad-large" /></td> |
166 | 281 | <td colspan="2"> | 280 | <td rowspan="2"> |
167 | 282 | The Launchpad icon, | 281 | The Launchpad icon, |
168 | 283 | used for pages that don't belong to a pillar with its own icon. | 282 | used for pages that don't belong to a pillar with its own icon. |
169 | 284 | </td> | 283 | </td> |
170 | @@ -292,7 +291,7 @@ | |||
171 | 292 | <td> | 291 | <td> |
172 | 293 | <img alt="" src="/@@/tour-icon" /> | 292 | <img alt="" src="/@@/tour-icon" /> |
173 | 294 | </td> | 293 | </td> |
175 | 295 | <td>The Launchpad Tour icon</td> | 294 | <td rowspan="3">The Launchpad Tour icon</td> |
176 | 296 | </tr> | 295 | </tr> |
177 | 297 | <tr> | 296 | <tr> |
178 | 298 | <td>tour-large</td> | 297 | <td>tour-large</td> |
179 | @@ -338,32 +337,32 @@ | |||
180 | 338 | </tr> | 337 | </tr> |
181 | 339 | <tr> | 338 | <tr> |
182 | 340 | <td>person</td> | 339 | <td>person</td> |
184 | 341 | <td colspan="2"><img alt="person icon" src="/@@/person" /></td> | 340 | <td><img alt="person icon" src="/@@/person" /></td> |
185 | 342 | </tr> | 341 | </tr> |
186 | 343 | <tr> | 342 | <tr> |
187 | 344 | <td>person-logo</td> | 343 | <td>person-logo</td> |
189 | 345 | <td colspan="2"><img alt="" src="/@@/person-logo" /></td> | 344 | <td><img alt="" src="/@@/person-logo" /></td> |
190 | 346 | </tr> | 345 | </tr> |
191 | 347 | <tr> | 346 | <tr> |
192 | 348 | <td>person-mugshot</td> | 347 | <td>person-mugshot</td> |
194 | 349 | <td colspan="2"><img alt="" src="/@@/person-mugshot" /></td> | 348 | <td><img alt="" src="/@@/person-mugshot" /></td> |
195 | 350 | </tr> | 349 | </tr> |
196 | 351 | <tr> | 350 | <tr> |
197 | 352 | <td>person-inactive-badge</td> | 351 | <td>person-inactive-badge</td> |
198 | 353 | <td><img alt="" src="/@@/person-inactive-badge" /></td> | 352 | <td><img alt="" src="/@@/person-inactive-badge" /></td> |
200 | 354 | <td>A person who does not use Launchpad.</td> | 353 | <td rowspan="4">A person who does not use Launchpad.</td> |
201 | 355 | </tr> | 354 | </tr> |
202 | 356 | <tr> | 355 | <tr> |
203 | 357 | <td>person-inactive</td> | 356 | <td>person-inactive</td> |
205 | 358 | <td colspan="2"><img alt="" src="/@@/person-inactive" /></td> | 357 | <td><img alt="" src="/@@/person-inactive" /></td> |
206 | 359 | </tr> | 358 | </tr> |
207 | 360 | <tr> | 359 | <tr> |
208 | 361 | <td>person-inactive-logo</td> | 360 | <td>person-inactive-logo</td> |
210 | 362 | <td colspan="2"><img alt="" src="/@@/person-inactive-logo" /></td> | 361 | <td><img alt="" src="/@@/person-inactive-logo" /></td> |
211 | 363 | </tr> | 362 | </tr> |
212 | 364 | <tr> | 363 | <tr> |
213 | 365 | <td>person-inactive-mugshot</td> | 364 | <td>person-inactive-mugshot</td> |
215 | 366 | <td colspan="2"><img alt="" src="/@@/person-inactive-mugshot" /></td> | 365 | <td><img alt="" src="/@@/person-inactive-mugshot" /></td> |
216 | 367 | </tr> | 366 | </tr> |
217 | 368 | <tr> | 367 | <tr> |
218 | 369 | <td>private</td> | 368 | <td>private</td> |
219 | @@ -380,7 +379,7 @@ | |||
220 | 380 | <tr> | 379 | <tr> |
221 | 381 | <td>product-badge</td> | 380 | <td>product-badge</td> |
222 | 382 | <td><img alt="" src="/@@/product-badge" /></td> | 381 | <td><img alt="" src="/@@/product-badge" /></td> |
224 | 383 | <td> | 382 | <td rowspan="3"> |
225 | 384 | A software project. | 383 | A software project. |
226 | 385 | The <code>-logo</code> and <code>-mugshot</code> sizes should be | 384 | The <code>-logo</code> and <code>-mugshot</code> sizes should be |
227 | 386 | used where the project owner has not uploaded a custom icon. | 385 | used where the project owner has not uploaded a custom icon. |
228 | @@ -397,7 +396,7 @@ | |||
229 | 397 | <tr> | 396 | <tr> |
230 | 398 | <td>project-badge</td> | 397 | <td>project-badge</td> |
231 | 399 | <td><img alt="" src="/@@/project-badge" /></td> | 398 | <td><img alt="" src="/@@/project-badge" /></td> |
233 | 400 | <td rowspan="4">A group of projects.</td> | 399 | <td rowspan="3">A group of projects.</td> |
234 | 401 | </tr> | 400 | </tr> |
235 | 402 | <tr> | 401 | <tr> |
236 | 403 | <td>project</td> | 402 | <td>project</td> |
237 | @@ -463,29 +462,26 @@ | |||
238 | 463 | <tr> | 462 | <tr> |
239 | 464 | <td>meeting</td> | 463 | <td>meeting</td> |
240 | 465 | <td><img alt="" src="/@@/meeting" /></td> | 464 | <td><img alt="" src="/@@/meeting" /></td> |
242 | 466 | <td>A meeting or sprint.</td> | 465 | <td rowspan="3">A meeting or sprint.</td> |
243 | 467 | </tr> | 466 | </tr> |
244 | 468 | <tr> | 467 | <tr> |
245 | 469 | <td>meeting-logo</td> | 468 | <td>meeting-logo</td> |
246 | 470 | <td><img alt="" src="/@@/meeting-logo" /></td> | 469 | <td><img alt="" src="/@@/meeting-logo" /></td> |
247 | 471 | <td></td> | ||
248 | 472 | </tr> | 470 | </tr> |
249 | 473 | <tr> | 471 | <tr> |
250 | 474 | <td>meeting-mugshot</td> | 472 | <td>meeting-mugshot</td> |
251 | 475 | <td><img alt="" src="/@@/meeting-mugshot" /></td> | 473 | <td><img alt="" src="/@@/meeting-mugshot" /></td> |
252 | 476 | <td></td> | ||
253 | 477 | </tr> | 474 | </tr> |
254 | 478 | <tr> | 475 | <tr> |
255 | 479 | <td>mentoring</td> | 476 | <td>mentoring</td> |
256 | 480 | <td><img alt="" src="/@@/mentoring" /></td> | 477 | <td><img alt="" src="/@@/mentoring" /></td> |
258 | 481 | <td>A bug or blueprint for which mentoring has been | 478 | <td rowspan="2">A bug or blueprint for which mentoring has been |
259 | 482 | offered. | 479 | offered. |
260 | 483 | </td> | 480 | </td> |
261 | 484 | </tr> | 481 | </tr> |
262 | 485 | <tr> | 482 | <tr> |
263 | 486 | <td>mentoring-large</td> | 483 | <td>mentoring-large</td> |
264 | 487 | <td><img alt="" src="/@@/mentoring-large" /></td> | 484 | <td><img alt="" src="/@@/mentoring-large" /></td> |
265 | 488 | <td></td> | ||
266 | 489 | </tr> | 485 | </tr> |
267 | 490 | <tr> | 486 | <tr> |
268 | 491 | <td>milestone</td> | 487 | <td>milestone</td> |
269 | @@ -496,7 +492,7 @@ | |||
270 | 496 | <tr> | 492 | <tr> |
271 | 497 | <td>team-badge</td> | 493 | <td>team-badge</td> |
272 | 498 | <td><img alt="" src="/@@/team-badge" /></td> | 494 | <td><img alt="" src="/@@/team-badge" /></td> |
274 | 499 | <td colspan="4"> | 495 | <td rowspan="4"> |
275 | 500 | An anonymous icon for a team. | 496 | An anonymous icon for a team. |
276 | 501 | The <code>-logo</code> and <code>-mugshot</code> sizes should be | 497 | The <code>-logo</code> and <code>-mugshot</code> sizes should be |
277 | 502 | used where the team has not uploaded their own custom picture. | 498 | used where the team has not uploaded their own custom picture. |
278 | @@ -504,15 +500,15 @@ | |||
279 | 504 | </tr> | 500 | </tr> |
280 | 505 | <tr> | 501 | <tr> |
281 | 506 | <td>team</td> | 502 | <td>team</td> |
283 | 507 | <td colspan="2"><img alt="" src="/@@/team" /></td> | 503 | <td><img alt="" src="/@@/team" /></td> |
284 | 508 | </tr> | 504 | </tr> |
285 | 509 | <tr> | 505 | <tr> |
286 | 510 | <td>team-logo</td> | 506 | <td>team-logo</td> |
288 | 511 | <td colspan="2"><img alt="" src="/@@/team-logo" /></td> | 507 | <td><img alt="" src="/@@/team-logo" /></td> |
289 | 512 | </tr> | 508 | </tr> |
290 | 513 | <tr> | 509 | <tr> |
291 | 514 | <td>team-mugshot</td> | 510 | <td>team-mugshot</td> |
293 | 515 | <td colspan="2"><img alt="" src="/@@/team-mugshot" /></td> | 511 | <td><img alt="" src="/@@/team-mugshot" /></td> |
294 | 516 | </tr> | 512 | </tr> |
295 | 517 | <tr> | 513 | <tr> |
296 | 518 | <td>treeCollapsed</td> | 514 | <td>treeCollapsed</td> |
297 | @@ -537,7 +533,6 @@ | |||
298 | 537 | <tr> | 533 | <tr> |
299 | 538 | <td>warning-large</td> | 534 | <td>warning-large</td> |
300 | 539 | <td><img alt="" src="/@@/warning-large" /></td> | 535 | <td><img alt="" src="/@@/warning-large" /></td> |
301 | 540 | <td></td> | ||
302 | 541 | </tr> | 536 | </tr> |
303 | 542 | <tr> | 537 | <tr> |
304 | 543 | <td>yes</td> | 538 | <td>yes</td> |
305 | @@ -575,7 +570,7 @@ | |||
306 | 575 | <tr> | 570 | <tr> |
307 | 576 | <td>file a bug</td> | 571 | <td>file a bug</td> |
308 | 577 | <td><img src="/@@/bugs-bg-button" /></td> | 572 | <td><img src="/@@/bugs-bg-button" /></td> |
310 | 578 | <td>This is used as the "file a bug" background image. Can be | 573 | <td>This is used as the "file a bug" background image. Can be |
311 | 579 | used for other bug-related actions.</td> | 574 | used for other bug-related actions.</td> |
312 | 580 | </tr> | 575 | </tr> |
313 | 581 | <tr> | 576 | <tr> |
314 | @@ -705,32 +700,26 @@ | |||
315 | 705 | <tr> | 700 | <tr> |
316 | 706 | <td>blueprint-essential</td> | 701 | <td>blueprint-essential</td> |
317 | 707 | <td><img src="/@@/blueprint-essential" /></td> | 702 | <td><img src="/@@/blueprint-essential" /></td> |
318 | 708 | <td></td> | ||
319 | 709 | </tr> | 703 | </tr> |
320 | 710 | <tr> | 704 | <tr> |
321 | 711 | <td>blueprint-high</td> | 705 | <td>blueprint-high</td> |
322 | 712 | <td><img src="/@@/blueprint-high" /></td> | 706 | <td><img src="/@@/blueprint-high" /></td> |
323 | 713 | <td></td> | ||
324 | 714 | </tr> | 707 | </tr> |
325 | 715 | <tr> | 708 | <tr> |
326 | 716 | <td>blueprint-medium</td> | 709 | <td>blueprint-medium</td> |
327 | 717 | <td><img src="/@@/blueprint-medium" /></td> | 710 | <td><img src="/@@/blueprint-medium" /></td> |
328 | 718 | <td></td> | ||
329 | 719 | </tr> | 711 | </tr> |
330 | 720 | <tr> | 712 | <tr> |
331 | 721 | <td>blueprint-low</td> | 713 | <td>blueprint-low</td> |
332 | 722 | <td><img src="/@@/blueprint-low" /></td> | 714 | <td><img src="/@@/blueprint-low" /></td> |
333 | 723 | <td></td> | ||
334 | 724 | </tr> | 715 | </tr> |
335 | 725 | <tr> | 716 | <tr> |
336 | 726 | <td>blueprint-not</td> | 717 | <td>blueprint-not</td> |
337 | 727 | <td><img src="/@@/blueprint-not" /></td> | 718 | <td><img src="/@@/blueprint-not" /></td> |
338 | 728 | <td></td> | ||
339 | 729 | </tr> | 719 | </tr> |
340 | 730 | <tr> | 720 | <tr> |
341 | 731 | <td>blueprint-undefined</td> | 721 | <td>blueprint-undefined</td> |
342 | 732 | <td><img src="/@@/blueprint-undefined" /></td> | 722 | <td><img src="/@@/blueprint-undefined" /></td> |
343 | 733 | <td></td> | ||
344 | 734 | </tr> | 723 | </tr> |
345 | 735 | <tr> | 724 | <tr> |
346 | 736 | <td colspan="3"> | 725 | <td colspan="3"> |
347 | @@ -746,22 +735,20 @@ | |||
348 | 746 | <tr> | 735 | <tr> |
349 | 747 | <td>branch</td> | 736 | <td>branch</td> |
350 | 748 | <td><img src="/@@/branch" /></td> | 737 | <td><img src="/@@/branch" /></td> |
352 | 749 | <td>A branch, or line of development.</td> | 738 | <td rowspan="2">A branch, or line of development.</td> |
353 | 750 | </tr> | 739 | </tr> |
354 | 751 | <tr> | 740 | <tr> |
355 | 752 | <td>branch-large</td> | 741 | <td>branch-large</td> |
356 | 753 | <td><img src="/@@/branch-large" /></td> | 742 | <td><img src="/@@/branch-large" /></td> |
357 | 754 | <td></td> | ||
358 | 755 | </tr> | 743 | </tr> |
359 | 756 | <tr> | 744 | <tr> |
360 | 757 | <td>merge-proposal-icon</td> | 745 | <td>merge-proposal-icon</td> |
361 | 758 | <td><img src="/@@/merge-proposal-icon" /></td> | 746 | <td><img src="/@@/merge-proposal-icon" /></td> |
363 | 759 | <td>Represents a merge proposal.</td> | 747 | <td rowspan="2">Represents a merge proposal.</td> |
364 | 760 | </tr> | 748 | </tr> |
365 | 761 | <tr> | 749 | <tr> |
366 | 762 | <td>merge-proposal-large</td> | 750 | <td>merge-proposal-large</td> |
367 | 763 | <td><img src="/@@/merge-proposal-large" /></td> | 751 | <td><img src="/@@/merge-proposal-large" /></td> |
368 | 764 | <td></td> | ||
369 | 765 | </tr> | 752 | </tr> |
370 | 766 | <tr> | 753 | <tr> |
371 | 767 | <td>branch-upgrade</td> | 754 | <td>branch-upgrade</td> |
372 | @@ -778,14 +765,7 @@ | |||
373 | 778 | <td> | 765 | <td> |
374 | 779 | <img alt="" src="/@@/ppa-icon" /> | 766 | <img alt="" src="/@@/ppa-icon" /> |
375 | 780 | </td> | 767 | </td> |
384 | 781 | <td>Icon for active PPAs</td> | 768 | <td rowspan="3">An active PPA.</td> |
377 | 782 | </tr> | ||
378 | 783 | <tr> | ||
379 | 784 | <td>ppa-icon-inactive</td> | ||
380 | 785 | <td> | ||
381 | 786 | <img alt="" src="/@@/ppa-icon-inactive" /> | ||
382 | 787 | </td> | ||
383 | 788 | <td>Icon for inactive PPAs</td> | ||
385 | 789 | </tr> | 769 | </tr> |
386 | 790 | <tr> | 770 | <tr> |
387 | 791 | <td>ppa-large</td> | 771 | <td>ppa-large</td> |
388 | @@ -796,6 +776,13 @@ | |||
389 | 796 | <td><img alt="" src="/@@/ppa-logo" /></td> | 776 | <td><img alt="" src="/@@/ppa-logo" /></td> |
390 | 797 | </tr> | 777 | </tr> |
391 | 798 | <tr> | 778 | <tr> |
392 | 779 | <td>ppa-icon-inactive</td> | ||
393 | 780 | <td> | ||
394 | 781 | <img alt="" src="/@@/ppa-icon-inactive" /> | ||
395 | 782 | </td> | ||
396 | 783 | <td>Icon for inactive PPAs</td> | ||
397 | 784 | </tr> | ||
398 | 785 | <tr> | ||
399 | 799 | <td>architecture</td> | 786 | <td>architecture</td> |
400 | 800 | <td><img src="/@@/architecture" /></td> | 787 | <td><img src="/@@/architecture" /></td> |
401 | 801 | <td>A system architecture, like x86 or ppc or SPARC or IA64</td> | 788 | <td>A system architecture, like x86 or ppc or SPARC or IA64</td> |
402 | 802 | 789 | ||
403 | === modified file 'lib/canonical/launchpad/templates/launchpadstatisticset-index.pt' | |||
404 | --- lib/canonical/launchpad/templates/launchpadstatisticset-index.pt 2009-07-17 17:59:07 +0000 | |||
405 | +++ lib/canonical/launchpad/templates/launchpadstatisticset-index.pt 2009-09-17 22:05:48 +0000 | |||
406 | @@ -3,17 +3,12 @@ | |||
407 | 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" | 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
408 | 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" | 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
409 | 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" | 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
414 | 6 | xml:lang="en" | 6 | metal:use-macro="view/macro:page/main_only" |
411 | 7 | lang="en" | ||
412 | 8 | dir="ltr" | ||
413 | 9 | metal:use-macro="view/macro:page/applicationhome" | ||
415 | 10 | i18n:domain="launchpad" | 7 | i18n:domain="launchpad" |
416 | 11 | > | 8 | > |
417 | 12 | 9 | ||
418 | 13 | <body> | 10 | <body> |
419 | 14 | 11 | ||
420 | 15 | <h1 metal:fill-slot="heading">Launchpad statistics</h1> | ||
421 | 16 | |||
422 | 17 | <div metal:fill-slot="main"> | 12 | <div metal:fill-slot="main"> |
423 | 18 | 13 | ||
424 | 19 | <p> | 14 | <p> |
425 | 20 | 15 | ||
426 | === modified file 'lib/canonical/launchpad/templates/root-index.pt' | |||
427 | --- lib/canonical/launchpad/templates/root-index.pt 2009-08-03 10:00:43 +0000 | |||
428 | +++ lib/canonical/launchpad/templates/root-index.pt 2009-09-17 22:05:48 +0000 | |||
429 | @@ -3,10 +3,7 @@ | |||
430 | 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" | 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
431 | 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" | 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
432 | 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" | 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
437 | 6 | xml:lang="en" | 6 | metal:use-macro="view/macro:page/searchless" |
434 | 7 | lang="en" | ||
435 | 8 | dir="ltr" | ||
436 | 9 | metal:use-macro="view/macro:page/search" | ||
438 | 10 | i18n:domain="launchpad"> | 7 | i18n:domain="launchpad"> |
439 | 11 | <body> | 8 | <body> |
440 | 12 | <div metal:fill-slot="main"> | 9 | <div metal:fill-slot="main"> |
441 | 13 | 10 | ||
442 | === modified file 'lib/canonical/launchpad/templates/temporaryblobstorage-storeblob.pt' | |||
443 | --- lib/canonical/launchpad/templates/temporaryblobstorage-storeblob.pt 2009-07-17 17:59:07 +0000 | |||
444 | +++ lib/canonical/launchpad/templates/temporaryblobstorage-storeblob.pt 2009-09-17 22:05:48 +0000 | |||
445 | @@ -3,18 +3,12 @@ | |||
446 | 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" | 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
447 | 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" | 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
448 | 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" | 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
453 | 6 | xml:lang="en" | 6 | metal:use-macro="view/macro:page/main_only" |
450 | 7 | lang="en" | ||
451 | 8 | dir="ltr" | ||
452 | 9 | metal:use-macro="context/@@main_template/master" | ||
454 | 10 | i18n:domain="launchpad" | 7 | i18n:domain="launchpad" |
455 | 11 | > | 8 | > |
456 | 12 | 9 | ||
457 | 13 | <body> | 10 | <body> |
458 | 14 | 11 | ||
459 | 15 | <metal:portlets fill-slot="portlets"> | ||
460 | 16 | </metal:portlets> | ||
461 | 17 | |||
462 | 18 | <div metal:fill-slot="main"> | 12 | <div metal:fill-slot="main"> |
463 | 19 | 13 | ||
464 | 20 | <div metal:use-macro="context/@@launchpad_form/form"> | 14 | <div metal:use-macro="context/@@launchpad_form/form"> |
465 | @@ -27,6 +21,6 @@ | |||
466 | 27 | </div> | 21 | </div> |
467 | 28 | 22 | ||
468 | 29 | </div> | 23 | </div> |
470 | 30 | 24 | ||
471 | 31 | </body> | 25 | </body> |
472 | 32 | </html> | 26 | </html> |
473 | 33 | 27 | ||
474 | === modified file 'lib/canonical/launchpad/zcml/launchpad.zcml' | |||
475 | --- lib/canonical/launchpad/zcml/launchpad.zcml 2009-09-04 15:32:52 +0000 | |||
476 | +++ lib/canonical/launchpad/zcml/launchpad.zcml 2009-09-17 22:05:48 +0000 | |||
477 | @@ -256,6 +256,7 @@ | |||
478 | 256 | <browser:page | 256 | <browser:page |
479 | 257 | for="canonical.launchpad.webapp.interfaces.ILaunchpadApplication" | 257 | for="canonical.launchpad.webapp.interfaces.ILaunchpadApplication" |
480 | 258 | name="+graphics" | 258 | name="+graphics" |
481 | 259 | class="canonical.launchpad.browser.LaunchpadGraphics" | ||
482 | 259 | template="../templates/launchpad-graphics.pt" | 260 | template="../templates/launchpad-graphics.pt" |
483 | 260 | permission="zope.Public" | 261 | permission="zope.Public" |
484 | 261 | /> | 262 | /> |
485 | 262 | 263 | ||
486 | === modified file 'lib/canonical/launchpad/zcml/launchpadstatistic.zcml' | |||
487 | --- lib/canonical/launchpad/zcml/launchpadstatistic.zcml 2009-07-13 18:15:02 +0000 | |||
488 | +++ lib/canonical/launchpad/zcml/launchpadstatistic.zcml 2009-09-17 22:05:48 +0000 | |||
489 | @@ -35,6 +35,7 @@ | |||
490 | 35 | <browser:pages | 35 | <browser:pages |
491 | 36 | for="canonical.launchpad.interfaces.ILaunchpadStatisticSet" | 36 | for="canonical.launchpad.interfaces.ILaunchpadStatisticSet" |
492 | 37 | facet="overview" | 37 | facet="overview" |
493 | 38 | class="canonical.launchpad.browser.LaunchpadStatisticSet" | ||
494 | 38 | permission="launchpad.Admin"> | 39 | permission="launchpad.Admin"> |
495 | 39 | <browser:page | 40 | <browser:page |
496 | 40 | name="+index" | 41 | name="+index" |
This converts three templates to 3.0. The +graphics page has the most changes because the table layout was a bit insane.