[Mpuls-commits] r563 - in wasko/trunk: . waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 29 10:47:32 CEST 2009


Author: torsten
Date: 2009-07-29 10:47:31 +0200 (Wed, 29 Jul 2009)
New Revision: 563

Modified:
   wasko/trunk/ChangeLog.txt
   wasko/trunk/waskaweb/lib/renderer_new.py
Log:
Fixed selecting rg from overviewpage


Modified: wasko/trunk/ChangeLog.txt
===================================================================
--- wasko/trunk/ChangeLog.txt	2009-07-29 08:20:03 UTC (rev 562)
+++ wasko/trunk/ChangeLog.txt	2009-07-29 08:47:31 UTC (rev 563)
@@ -11,7 +11,11 @@
 
 	* waskaweb/model/case.py: Adopted fieldnames.
 
+	Fixed selection of rg from overview pages
 
+	* waskaweb/lib/renderer_new.py: Fixed select link
+
+
 2009-07-28	Sascha L. Teichmann	<sascha.teichmann at intevation.de>
 
 	* waskaweb/model/case.py: Fixed creation of new cases.

Modified: wasko/trunk/waskaweb/lib/renderer_new.py
===================================================================
--- wasko/trunk/waskaweb/lib/renderer_new.py	2009-07-29 08:20:03 UTC (rev 562)
+++ wasko/trunk/waskaweb/lib/renderer_new.py	2009-07-29 08:47:31 UTC (rev 563)
@@ -647,9 +647,9 @@
             out.append(rg.getIdentifier())
             out.append('</td>')
             out.append('<td class="actions">')
-            out.append('<a href="/navigation/select_branch/%s"><img src="/images/icons/actions/view.gif" border="0" alt="%s" title="%s"></a>' % (rg.getIdentifier(), _('view'), _('view')))
+            out.append('<a href="/navigation/select_branch/%s"><img src="/images/icons/view_red.gif" border="0" alt="%s" title="%s"></a>' % (rg.getChildren()[0].getIdentifier(), _('view'), _('view')))
             if not self.ro_mode: 
-                out.append('<a href="/repeatgroup/delete/%s"><img src="/images/icons/actions/delete.gif" border="0" alt="%s" title="%s"></a>' % (rg.getIdentifier(), _('delete'), _('delete')))
+                out.append('<a href="/repeatgroup/delete/%s"><img src="/images/icons/delete_red.gif" border="0" alt="%s" title="%s"></a>' % (rg.getIdentifier(), _('delete'), _('delete')))
             out.append('</td>')
             out.append('</tr>')
         out.append('</table>')



More information about the Mpuls-commits mailing list