Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 58966151

Von Thomas Heck vor etwa 12 Jahren hinzugefügt

  • ID 5896615180704b3dddba46f4064a47ff1f094c3c
  • Vorgänger 261cfce2
  • Nachfolger 51d0274d

SL::Template::Plugin::L::select_tag und SL::Template::Plugin::L::options_for_select fusionieren.

Unterschiede anzeigen:

templates/webpages/gl/search.html
25 25
        [%- IF all_departments %]
26 26
        <tr>
27 27
          <th align=right nowrap>[% 'Department' | $T8 %]</th>
28
          <td colspan=3>[% L.select_tag('department', L.options_for_select(all_departments, value_title_sub=\department_label, with_empty=1)) %]</td>
28
          <td colspan=3>[% L.select_tag('department', all_departments, value_title_sub = \department_label, with_empty = 1) %]</td>
29 29
        </tr>
30 30
        [%- END %]
31 31
        <tr>
......
40 40
        </tr>
41 41
        <tr>
42 42
          <th align=right>[% 'Project Number' | $T8 %]</th>
43
          <td colspan=3>[% L.select_tag('project_id', L.options_for_select(ALL_PROJECTS, title='projectnumber', with_empty=1)) %]</td>
43
          <td colspan=3>[% L.select_tag('project_id', ALL_PROJECTS, title_key = 'projectnumber', with_empty = 1) %]</td>
44 44
        </tr>
45 45
 <tr>
46 46
    <th align=right>[% 'Employee' | $T8 %]</th>
47
    <td colspan=3>[% L.select_tag('employee', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1)) %]</td>
47
    <td colspan=3>[% L.select_tag('employee', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1) %]</td>
48 48
  </tr>
49 49
  <tr>
50 50
    <th align=right>[% 'Filter date by' | $T8 %]</th>

Auch abrufbar als: Unified diff