Initial repo created
[timetracker.git] / WEB-INF / templates / time_delete.tpl
1 {$forms.timeRecordForm.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 ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
8     <td class="tableHeader" align="center">{$i18n.label.project}</td>
9 {/if}
10 {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
11     <td class="tableHeader" align="center">{$i18n.label.task}</td>
12 {/if}
13 {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
14     <td class="tableHeader" align="center">{$i18n.label.start}</td>
15     <td class="tableHeader" align="center">{$i18n.label.finish}</td>
16 {/if}
17 {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
18     <td class="tableHeader" align="center">{$i18n.label.duration}</td>
19 {/if}
20         <td class="tableHeader" align="center">{$i18n.label.note}</td>
21   </tr>
22   <tr bgcolor="{cycle values="#f5f5f5,#ccccce"}">
23 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
24     <td>{$time_rec.project_name|escape:'html'}</td>
25 {/if}
26 {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
27     <td>{$time_rec.task_name|escape:'html'}</td>
28 {/if}
29 {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
30     <td align="right">{if $time_rec.start}{$time_rec.start}{else}&nbsp;{/if}</td>
31     <td align="right">{if $time_rec.finish<>$time_rec.start}{$time_rec.finish}{else}&nbsp;{/if}</td>
32 {/if}
33 {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
34     <td align="right">{if $time_rec.duration<>'0:00'}{$time_rec.duration}{else}<font color="#ff0000">{$i18n.form.time.uncompleted}</font>{/if}</td>
35 {/if}
36     <td>{if $time_rec.comment}{$time_rec.comment|escape:'html'}{else}&nbsp;{/if}</td>
37   </tr>
38   </table>
39   <table width="100%">
40   <tr>
41     <td align="center">&nbsp;</td>
42   </tr>
43   <tr>
44     <td align="center">{$forms.timeRecordForm.delete_button.control}&nbsp;&nbsp;{$forms.timeRecordForm.cancel_button.control}</td>
45   </tr>
46   </table>
47   </td>
48 </tr>
49 </table>
50 {$forms.timeRecordForm.close}