RequirementSpecs: Projekte nicht als Dropdown sondern als Input-Filter
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 16 Dec 2013 13:04:07 +0000 (14:04 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:32:14 +0000 (13:32 +0200)
templates/webpages/requirement_spec/_filter.html

index be59c7d..82da89b 100644 (file)
     </tr>
 
     <tr>
-     <th align="right">[% LxERP.t8("Project") %]</th>
-     <td>[% L.select_tag('filter.project_id', SELF.projects, default=filter.project_id, title_key="full_description", with_empty=1) %]</td>
+     <th align="right">[% LxERP.t8("Project Number") %]</th>
+     <td>[% L.input_tag('filter.project.projectnumber:substr::ilike', filter.project.projectnumber_substr__ilike) %]</td>
+    </tr>
+    <tr>
+     <th align="right">[% LxERP.t8("Project Description") %]</th>
+     <td>[% L.input_tag('filter.project.description:substr::ilike', filter.project.description_substr__ilike) %]</td>
     </tr>
 [%- END %]
    </table>