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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Aug 31 15:21:44 CEST 2010


Author: bh
Date: 2010-08-31 15:21:40 +0200 (Tue, 31 Aug 2010)
New Revision: 3494

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/casemanagement/search.mako
Log:
* mpulsweb/templates/casemanagement/search.mako: Do not hide
search options for "Responsibility" and "Status" in simple search
mode.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-08-31 10:27:43 UTC (rev 3493)
+++ base/trunk/ChangeLog	2010-08-31 13:21:40 UTC (rev 3494)
@@ -1,3 +1,9 @@
+2010-08-31  Bernhard Herzog  <bh at intevation.de>
+
+	* mpulsweb/templates/casemanagement/search.mako: Do not hide
+	search options for "Responsibility" and "Status" in simple search
+	mode.
+
 2010-08-30  Bernhard Herzog  <bh at intevation.de>
 
 	* mpulsweb/lib/validators.py (SearchCaseForm.state)

Modified: base/trunk/mpulsweb/templates/casemanagement/search.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/search.mako	2010-08-31 10:27:43 UTC (rev 3493)
+++ base/trunk/mpulsweb/templates/casemanagement/search.mako	2010-08-31 13:21:40 UTC (rev 3494)
@@ -11,7 +11,7 @@
         <td><input type="text" size="30" name="search_str" maxlength="256"></td>
       </tr>
       % if h.hasRole(['admin_ka']):
-      <tr style="${not c.extended_search and 'display:none' or ''}">
+      <tr>
         <td class="label">${_('Responsibility')}</td>
         <td>
           <select name="editor" id="editor">
@@ -31,7 +31,7 @@
       % endif
       % if h.hasRole(['cm_ka']):
         % if g.mpuls_config.is_enabled('case-module', 'organisation'):
-          <tr style="${not c.extended_search and 'display:none' or ''}">
+          <tr>
             <td class="label">${_('Responsibility')}</td>
             <td>
               <input type="checkbox" name="own" id="show_own" value="1" checked="checked">
@@ -50,7 +50,7 @@
             <input type="hidden" name="standin" id="show_other" value="">
         % endif
       % endif
-      <tr style="${not c.extended_search and 'display:none' or ''}">
+      <tr>
         <td class="label">${_('Status')}</td>
         <td>
           <input type="checkbox" name="state" id="show_open" value="1">



More information about the Mpuls-commits mailing list