Added an option to use page breaks on PDF reports after grouped by blocks.
[timetracker.git] / WEB-INF / templates / admin_groups.tpl
1 <script>
2   function chLocation(newLocation) { document.location = newLocation; }
3 </script>
4
5 <table cellspacing="0" cellpadding="7" border="0" width="720">
6   <tr><td valign="top">{$i18n.form.groups.hint}</td></tr>
7 </table>
8
9 <table cellspacing="1" cellpadding="3" border="0" width="720">
10   <tr>
11     <td width="3%" class="tableHeader">{$i18n.label.id}</td>
12     <td width="70%" class="tableHeader">{$i18n.label.thing_name}</td>
13     <td class="tableHeader">{$i18n.label.date}</td>
14     <td class="tableHeader">{$i18n.label.language}</td>
15     <td class="tableHeader">{$i18n.label.edit}</td>
16     <td class="tableHeader">{$i18n.label.delete}</td>
17   </tr>
18 {if $groups}
19   {foreach $groups as $group}
20   <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
21     <td>{$group.id}</td>
22     <td>{$group.name|escape}</td>
23     <td nowrap>{$group.date}</td>
24     <td align="center">{$group.lang}</td>
25     <td><a href="admin_group_edit.php?id={$group.id}">{$i18n.label.edit}</a></td>
26     <td><a href="admin_group_delete.php?id={$group.id}">{$i18n.label.delete}</a></td>
27   </tr>
28   {/foreach}
29 {/if}
30 </table>
31
32 <table width="100%">
33   <tr>
34     <td align="center">
35       <br>
36       <form>
37         <input type="button" onclick="chLocation('admin_group_add.php');" value="{$i18n.button.create_group}">&nbsp;{$i18n.label.or}&nbsp;
38         <input type="button" onclick="chLocation('import.php');" value="{$i18n.button.import}">
39       </form>
40     </td>
41   </tr>
42 </table>