[Zope-Checkins] CVS: Products/ZSQLMethods/dtml - edit.dtml:1.4.16.2
Jens Vagelpohl
jens at dataflake.org
Sun Oct 16 13:22:46 EDT 2005
Update of /cvs-repository/Products/ZSQLMethods/dtml
In directory cvs.zope.org:/tmp/cvs-serv15466/lib/python/Products/ZSQLMethods/dtml
Modified Files:
Tag: Zope-2_7-branch
edit.dtml
Log Message:
- ZSQLMethod.manage_main: Moved the error message that warns of a
non-existing or closed database connection next to the Connection ID
dropdown and present it using red to increase its visibility.
=== Products/ZSQLMethods/dtml/edit.dtml 1.4.16.1 => 1.4.16.2 ===
--- Products/ZSQLMethods/dtml/edit.dtml:1.4.16.1 Sun Jul 6 06:47:47 2003
+++ Products/ZSQLMethods/dtml/edit.dtml Sun Oct 16 13:22:46 2005
@@ -2,16 +2,6 @@
<dtml-var manage_tabs>
<dtml-if SQLConnectionIDs>
-<dtml-if connectionIsValid>
- <dtml-if connected><dtml-else>
- <strong>Warning:</strong>
- The database connection used by this method is currently not
- open.
- </dtml-if>
-<dtml-else>
- <strong>Warning:</strong>
- The database connection for this method cannot be found!
-</dtml-if>
<form action="manage_edit" method="POST">
<table cellpadding="2" cellspacing="0" width="100%" border="0">
@@ -42,6 +32,19 @@
&dtml-sequence-key;</option>
</dtml-in>
</select>
+ <dtml-if connectionIsValid>
+ <dtml-if connected><dtml-else>
+ <p style="{color:red;}">
+ <strong>Warning:</strong>
+ The database connection used by this method is closed.
+ </p>
+ </dtml-if>
+ <dtml-else>
+ <p style="{color:red;}">
+ <strong>Warning:</strong>
+ The database connection for this method cannot be found!
+ </p>
+ </dtml-if>
</div>
</td>
</tr>
More information about the Zope-Checkins
mailing list