[Mpuls-commits] r5377 - base/trunk/mpulsweb/templates/meta

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Sep 20 13:54:32 CEST 2011


Author: torsten
Date: 2011-09-20 13:54:32 +0200 (Tue, 20 Sep 2011)
New Revision: 5377

Modified:
   base/trunk/mpulsweb/templates/meta/search.mako
Log:
Added fields for firstname of mother and father into the metasearch. Further
add notice below the meta-search to inform the user what he should enter if
the firstname is not known.


Modified: base/trunk/mpulsweb/templates/meta/search.mako
===================================================================
--- base/trunk/mpulsweb/templates/meta/search.mako	2011-09-20 11:52:40 UTC (rev 5376)
+++ base/trunk/mpulsweb/templates/meta/search.mako	2011-09-20 11:54:32 UTC (rev 5377)
@@ -46,14 +46,35 @@
         </td>
       </tr>
       <tr>
+        <td class="label">${_('Firstname Mother')}</td>
+        <td><input type="text" size="30" name="firstname_mother" maxlength="256"></td>
+        <td>
+          <form:error name="firstname_mother">
+        </td>
+      </tr>
+      <tr>
+        <td class="label">${_('Firstname Father')}</td>
+        <td><input type="text" size="30" name="firstname_father" maxlength="256"></td>
+        <td>
+          <form:error name="firstname_father">
+        </td>
+      </tr>
+      <tr>
         <td></td>
         <td><input type="submit" value="${_('Search')}"/></td>
         <td></td>
       </tr>
+      <tr>
+        <td></td>
+        <td colspan="2">
+          <p class="note">
+          ${h.literal(_('<strong>Notice:</strong> Please enter full firstname of mother and father. If the firstname of mother or father is not known please enter "unknown".'))}
+          </p>
+        </td>
+      </tr>
     </table>
   </div>
 </form>
-
 <table id="table_caseoverview" class="hovertable">
   <tr>
     <th width="">${_('UUID')}</th>



More information about the Mpuls-commits mailing list