projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplified ttUser::getUsers a bit.
[timetracker.git]
/
WEB-INF
/
templates
/
project_add.tpl
diff --git
a/WEB-INF/templates/project_add.tpl
b/WEB-INF/templates/project_add.tpl
index
2bd7f6f
..
d49b9a3
100644
(file)
--- a/
WEB-INF/templates/project_add.tpl
+++ b/
WEB-INF/templates/project_add.tpl
@@
-11,13
+11,14
@@
<td align = "right">{$i18n.label.description}:</td>
<td>{$forms.projectForm.description.control}</td>
</tr>
<td align = "right">{$i18n.label.description}:</td>
<td>{$forms.projectForm.description.control}</td>
</tr>
+{if $show_users}
<tr><td> </td></tr>
<tr><td> </td></tr>
-
<tr>
<td align="right">{$i18n.label.users}:</td>
<td>{$forms.projectForm.users.control}</td>
</tr>
<tr>
<td align="right">{$i18n.label.users}:</td>
<td>{$forms.projectForm.users.control}</td>
</tr>
-{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
+{/if}
+{if $show_tasks}
<tr><td> </td></tr>
<tr>
<td align="right">{$i18n.label.tasks}:</td>
<tr><td> </td></tr>
<tr>
<td align="right">{$i18n.label.tasks}:</td>
@@
-39,4
+40,4
@@
</td>
</tr>
</table>
</td>
</tr>
</table>
-{$forms.projectForm.close}
\ No newline at end of file
+{$forms.projectForm.close}