Improved presentation of language selector.
[timetracker.git] / WEB-INF / templates / expense_delete.tpl
1 {$forms.expenseItemForm.open}
2 <table cellspacing="4" cellpadding="7" border="0" width="720">
3 <tr>
4   <td>
5   <table border="0" cellpadding="3" cellspacing="1" width="100%">
6   <tr>
7 {if $user->isPluginEnabled('cl')}
8     <td class="tableHeader" align="center">{$i18n.label.client}</td>
9 {/if}
10
11 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
12     <td class="tableHeader" align="center">{$i18n.label.project}</td>
13 {/if}
14     <td class="tableHeader" align="center">{$i18n.label.item}</td>
15     <td class="tableHeader" align="center">{$i18n.label.cost}</td>
16   </tr>
17   <tr>
18 {if $user->isPluginEnabled('cl')}
19   <td>{$expense_item.client_name|escape}</td>
20 {/if}
21 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
22     <td>{$expense_item.project_name|escape}</td>
23 {/if}
24     <td>{$expense_item.name|escape}</td>
25     <td align="right">{$expense_item.cost}</td>
26   </tr>
27   </table>
28   <table width="100%">
29   <tr>
30     <td align="center">&nbsp;</td>
31   </tr>
32   <tr>
33     <td align="center">{$forms.expenseItemForm.delete_button.control}&nbsp;&nbsp;{$forms.expenseItemForm.cancel_button.control}</td>
34   </tr>
35   </table>
36   </td>
37 </tr>
38 </table>
39 {$forms.expenseItemForm.close}