IS: Departments anzeigen.
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 26 Oct 2009 17:10:45 +0000 (18:10 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 29 Oct 2009 14:04:49 +0000 (15:04 +0100)
templates/webpages/is/form_header_de.html
templates/webpages/is/form_header_master.html

index 532ae0f..6cab7ad 100644 (file)
                  label_key  = 'description' -%]
           </td>
         </tr>
-[%- IF ALL_DEPARTMENTS %]
+[%- IF all_departments %]
         <tr>
           <th align="right" nowrap>Abteilung</th>
           <td colspan="3">
             [%- INCLUDE 'generic/multibox.html'
                  name       = 'department_id',
                  style      = 'width: 250px',
-                 DATA       = ALL_DEPARTMENTS,
+                 DATA       = all_departments,
                  id_key     = 'id',
                  label_sub  = 'department_labels',
                  show_empty = 1 -%]
index a0a77b4..3b9d87c 100644 (file)
                  label_key  = 'description' -%]
           </td>
         </tr>
-[%- IF ALL_DEPARTMENTS %]
+[%- IF all_departments %]
         <tr>
           <th align="right" nowrap><translate>Department</translate></th>
           <td colspan="3">
             [%- INCLUDE 'generic/multibox.html'
                  name       = 'department_id',
                  style      = 'width: 250px',
-                 DATA       = ALL_DEPARTMENTS,
+                 DATA       = all_departments,
                  id_key     = 'id',
                  label_sub  = 'department_labels',
                  show_empty = 1 -%]