Code

Apply fix for #2000
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 4 Feb 2010 15:55:15 +0000 (15:55 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 4 Feb 2010 15:55:15 +0000 (15:55 +0000)
Adapt the template so that a description field is shown
for workstation printers as well. Its only shown in workstation
printers because standalone printers have a different position
for that field.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@15591 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/goto/admin/systems/goto/printer.tpl

index 25de9728cc68d2b1ec0a493349f5b6bdf9fb0d2c..b384ac4b0f4dec76fcac3f68a891913badccb87e 100644 (file)
 {/if}
    <h2>{t}Details{/t}</h2>
    <table summary="">
+   {if ! $StandAlone }
+    <tr>
+     <td><LABEL for="description">{t}Description{/t}</LABEL></td>
+     <td>
+{render acl=$descriptionACL}
+      <input id="description" name="description" size=25 maxlength=80 value="{$description}">
+{/render}
+     </td>
+    </tr>
+    <tr>
+    {/if}
      <tr>
        <td><LABEL for="l">{t}Printer location{/t}</LABEL></td>
        <td>