Put form.swap.hint into translation files.
[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>
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}</td>
25 {/if}
26 {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
27     <td>{$time_rec.task_name|escape}</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.start <> '')}<font color="#ff0000">{$i18n.form.time.uncompleted}</font>{else}{$time_rec.duration}{/if}</td>
35 {/if}
36     <td>{if $time_rec.comment}{$time_rec.comment|escape}{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}