A bit of refactoring.
[timetracker.git] / WEB-INF / templates / groups.tpl
index d1f174f..3cd4f51 100644 (file)
   <tr><td colspan="2">&nbsp;</td></tr>
 {/if}
   <tr>
-    <td width="35%" class="tableHeader">{$i18n.label.thing_name}</td>
-    <td width="35%" class="tableHeader">{$i18n.label.description}</td>
-    <td class="tableHeader">{$i18n.label.edit}</td>
-    <td class="tableHeader">{$i18n.label.delete}</td>
+    <td width="40%" class="tableHeader">{$i18n.label.thing_name}</td>
+    <td width="40%" class="tableHeader">{$i18n.label.description}</td>
+    <td></td>
+    <td></td>
   </tr>
 {if $subgroups}
   {foreach $subgroups as $subgroup}
   <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
     <td>{$subgroup.name|escape}</td>
     <td>{$subgroup.description|escape}</td>
-    <td><a href="group_edit.php?id={$subgroup.id}">{$i18n.label.edit}</a></td>
-    <td><a href="group_delete.php?id={$subgroup.id}">{$i18n.label.delete}</a></td>
+    <td><a href="group_edit.php?id={$subgroup.id}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
+    <td><a href="group_delete.php?id={$subgroup.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
   </tr>
   {/foreach}
 {/if}