Some refactoring and cleanup in ttRegistrator class.
[timetracker.git] / WEB-INF / templates / project_edit.tpl
1 {$forms.projectForm.open}
2 <table cellspacing="4" cellpadding="7" border="0">
3   <tr>
4     <td>
5       <table cellspacing="1" cellpadding="2" border="0">
6         <tr>
7           <td align = "right">{$i18n.label.thing_name} (*):</td>
8           <td>{$forms.projectForm.project_name.control}</td>
9         </tr>
10         <tr>
11           <td align = "right">{$i18n.label.description}:</td>
12           <td>{$forms.projectForm.description.control}</td>
13         </tr>
14         <tr>
15           <td align="right">{$i18n.label.status}:</td>
16           <td>{$forms.projectForm.status.control}</td>
17         </tr>
18         <tr><td>&nbsp;</td></tr>
19         <tr>
20           <td align="right">{$i18n.label.users}:</td>
21           <td>{$forms.projectForm.users.control}</td>
22         </tr>
23 {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
24         <tr><td>&nbsp;</td></tr>
25         <tr>
26           <td align="right">{$i18n.label.tasks}:</td>
27           <td>{$forms.projectForm.tasks.control}</td>
28         </tr>
29 {/if}
30         <tr>
31           <td></td>
32           <td>{$i18n.label.required_fields}</td>
33         </tr>
34         <tr>
35           <td></td>
36           <td>&nbsp;</td>
37         </tr>
38         <tr>
39           <td colspan="2" align="center" height="50">{$forms.projectForm.btn_save.control} {$forms.projectForm.btn_copy.control}</td>
40         </tr>
41       </table>
42     </td>
43   </tr>
44 </table>
45 {$forms.projectForm.close}