Added audit info for template create and modify events.
[timetracker.git] / WEB-INF / templates / predefined_expenses.tpl
1 {$forms.predefinedExpensesForm.open}
2 <table cellspacing="0" cellpadding="7" border="0" width="720">
3   <tr>
4     <td valign="top">
5       <table cellspacing="1" cellpadding="3" border="0" width="100%">
6         <tr>
7           <td class="tableHeader">{$i18n.label.thing_name}</td>
8           <td class="tableHeader">{$i18n.label.cost}</td>
9           <td class="tableHeader">{$i18n.label.edit}</td>
10           <td class="tableHeader">{$i18n.label.delete}</td>
11         </tr>
12   {if $predefined_expenses}
13     {foreach $predefined_expenses as $predefined_expense}
14         <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
15           <td>{$predefined_expense['name']|escape}</td>
16           <td>{$predefined_expense['cost']|escape}</td>
17           <td><a href="predefined_expense_edit.php?id={$predefined_expense['id']}">{$i18n.label.edit}</a></td>
18           <td><a href="predefined_expense_delete.php?id={$predefined_expense['id']}">{$i18n.label.delete}</a></td>
19         </tr>
20     {/foreach}
21   {/if}
22       </table>
23
24       <table width="100%">
25         <tr><td align="center"><br>{$forms.predefinedExpensesForm.btn_add.control}</td></tr>
26       </table>
27     </td>
28   </tr>
29 </table>
30 {$forms.predefinedExpensesForm.close}