[Mpuls-commits] r2390 - wasko/branches/2.0/mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Apr 16 08:30:20 CEST 2010
Author: torsten
Date: 2010-04-16 08:30:19 +0200 (Fri, 16 Apr 2010)
New Revision: 2390
Modified:
wasko/branches/2.0/mpulsweb/lib/renderer.py
Log:
* mpulsweb/lib/renderer.py (ViewRenderer._renderRepeatList): Wald
#1388. Added "alt" and "title" tags to submitbuttons.
Modified: wasko/branches/2.0/mpulsweb/lib/renderer.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/renderer.py 2010-04-15 16:15:14 UTC (rev 2389)
+++ wasko/branches/2.0/mpulsweb/lib/renderer.py 2010-04-16 06:30:19 UTC (rev 2390)
@@ -435,7 +435,11 @@
out.append('''<input name="del_rg"
type="image"
src="/images/icons/delete_active_16.png"
- value="%s">''' % child.getIdentifier())
+ value="%s"
+ alt="%s"
+ title="%s">''' % (child.getIdentifier(),
+ _('Delete RG'),
+ _('Delete RG')))
out.append('</td>')
out.append('</tr>')
if self.ro_mode:
@@ -448,7 +452,11 @@
out.append('''<input width="16"
name="add_rg"
type="image" src="/images/icons/new_16.png"
- value="%s">''' % node.getIdentifier())
+ value="%s"
+ alt="%s"
+ title="%s">''' % (node.getIdentifier(),
+ _('Add new RG'),
+ _('Add new RG')))
out.append("</td>")
out.append("</tr>")
return out
More information about the Mpuls-commits
mailing list