[Checkins] SVN: GenericSetup/trunk/www/sutImportSteps.zpt Allow both snapshots and extension profiles to be selected

Wichert Akkerman wichert at wiggy.net
Fri Jul 6 10:02:29 EDT 2007


Log message for revision 77509:
  Allow both snapshots and extension profiles to be selected

Changed:
  U   GenericSetup/trunk/www/sutImportSteps.zpt

-=-
Modified: GenericSetup/trunk/www/sutImportSteps.zpt
===================================================================
--- GenericSetup/trunk/www/sutImportSteps.zpt	2007-07-06 13:59:48 UTC (rev 77508)
+++ GenericSetup/trunk/www/sutImportSteps.zpt	2007-07-06 14:02:29 UTC (rev 77509)
@@ -2,7 +2,7 @@
                    context_id request/context_id|base_context_id;
                    contexts context/listContextInfos;
                    context_title python:[c['title'] for c in contexts if c['id']==context_id][0];
-                   extension_contexts python:[c for c in contexts if c['type']=='extension'];
+                   extension_contexts python:[c for c in contexts if c['type'] in ['extension','snapshot']];
                    ">
 <h1 tal:replace="structure context/manage_page_header">PAGE HEADER</h1>
 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
@@ -15,7 +15,7 @@
 procedure, in order to pick up changes since the site was created.
 </p>
 
-<h3>Select Profile</h3>
+<h3>Select Profile or Snapshot</h3>
 
 <form action="." method="POST" id="profileform" tal:attributes="action string:${context/absolute_url}/manage_importSteps">
 <select name="context_id"



More information about the Checkins mailing list