[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/
Enhanced the readability of the upgrades tab on the tool.
Hanno Schlichting
plone at hannosch.info
Sun Apr 13 14:57:33 EDT 2008
Log message for revision 85337:
Enhanced the readability of the upgrades tab on the tool.
Changed:
U Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt
U Products.GenericSetup/trunk/Products/GenericSetup/www/setup_upgrades.zpt
-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt 2008-04-13 18:56:40 UTC (rev 85336)
+++ Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt 2008-04-13 18:57:32 UTC (rev 85337)
@@ -2,6 +2,8 @@
GenericSetup 1.5.0 (unreleased)
+ - Enhanced the readability of the upgrades tab on the tool.
+
- Changed upgrade logic to set the current version after an upgrade to the
destination version of the last step run, instead of the current profile
version.
Modified: Products.GenericSetup/trunk/Products/GenericSetup/www/setup_upgrades.zpt
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/www/setup_upgrades.zpt 2008-04-13 18:56:40 UTC (rev 85336)
+++ Products.GenericSetup/trunk/Products/GenericSetup/www/setup_upgrades.zpt 2008-04-13 18:57:32 UTC (rev 85337)
@@ -54,26 +54,31 @@
<input type="hidden" name="profile_id" value="VALUE"
tal:attributes="value profile_id" />
<table>
- <tr valign="top" tal:repeat="upgrade_info upgrades">
+ <tal:block tal:repeat="upgrade_info upgrades">
- <tal:single condition="python:not same_type(upgrade_info, [])"
- define="info upgrade_info">
- <metal:insert-step use-macro="context/upgradeStepMacro/macros/upgrade-step" />
- </tal:single>
-
- <tal:multiple condition="python: same_type(upgrade_info, [])">
- <table>
- <tr>
- <td colspan="5">Upgrade Step Group</td>
- </tr>
- <tr tal:repeat="info upgrade_info">
- <td>-></td>
+ <tal:single condition="python:not same_type(upgrade_info, [])"
+ define="info upgrade_info">
+ <tr valign="top">
<metal:insert-step use-macro="context/upgradeStepMacro/macros/upgrade-step" />
</tr>
- </table>
- </tal:multiple>
- </tr>
+ </tal:single>
+ <tal:multiple condition="python: same_type(upgrade_info, [])">
+ <tr valign="top"><td colspan="4">
+ <table style="padding-top: 5px; padding-bottom: 5px; width: 100%;
+ border: 1px dotted;">
+ <tr>
+ <th colspan="5" style="text-align: left;">Upgrade Step Group</th>
+ </tr>
+ <tr tal:repeat="info upgrade_info">
+ <td>-></td>
+ <metal:insert-step use-macro="context/upgradeStepMacro/macros/upgrade-step" />
+ </tr>
+ </table>
+ </td></tr>
+ </tal:multiple>
+ </tal:block>
+
<tr valign="top">
<td colspan="4">
<input class="form-element" type="submit" value="Upgrade" />
More information about the Checkins
mailing list