[Mpuls-commits] r3412 - in base/trunk: . mpulsweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Aug 16 13:18:45 CEST 2010


Author: bh
Date: 2010-08-16 13:18:42 +0200 (Mon, 16 Aug 2010)
New Revision: 3412

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/casemanagement/search.mako
Log:
* mpulsweb/templates/casemanagement/search.mako: Add for-attribute
to the label element for the "Unknown" phase checkbox so that one
can click on the label to toggle the checkbox


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-08-13 18:41:23 UTC (rev 3411)
+++ base/trunk/ChangeLog	2010-08-16 11:18:42 UTC (rev 3412)
@@ -1,3 +1,9 @@
+2010-08-16  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/templates/casemanagement/search.mako: Add for-attribute
+	to the label element for the "Unknown" phase checkbox so that one
+	can click on the label to toggle the checkbox
+
 2010-08-13  Bernhard Herzog  <bh at intevation.de>
 
 	* mpulsweb/lib/search.py (CaseSearch.get_phases_clause): Simplify

Modified: base/trunk/mpulsweb/templates/casemanagement/search.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/search.mako	2010-08-13 18:41:23 UTC (rev 3411)
+++ base/trunk/mpulsweb/templates/casemanagement/search.mako	2010-08-16 11:18:42 UTC (rev 3412)
@@ -70,7 +70,8 @@
       <tr style="${not c.extended_search and 'display:none' or ''}">
         <td class="label">${_('Phase')}</td>
         <td>
-          <input type="checkbox" name="phase" value="-1"> ${_('Unknown')}<br>
+          <input type="checkbox" name="phase" id="phase_unknown" value="-1">
+          <label for="phase_unknown">${_('Unknown')}</label><br>
           % for n,p in enumerate(g.mpuls_config.get('phases', 'phases')):
             <input type="checkbox" name="phase" id="phase_${n}" value="${p}"> 
               <label for="phase_${n}">



More information about the Mpuls-commits mailing list