projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added rights to view, manage, and approve all timesheets.
[timetracker.git]
/
WEB-INF
/
templates
/
project_edit.tpl
diff --git
a/WEB-INF/templates/project_edit.tpl
b/WEB-INF/templates/project_edit.tpl
index
c94e475
..
2a2364f
100644
(file)
--- a/
WEB-INF/templates/project_edit.tpl
+++ b/
WEB-INF/templates/project_edit.tpl
@@
-15,12
+15,14
@@
<td align="right">{$i18n.label.status}:</td>
<td>{$forms.projectForm.status.control}</td>
</tr>
<td align="right">{$i18n.label.status}:</td>
<td>{$forms.projectForm.status.control}</td>
</tr>
+{if $show_users}
<tr><td> </td></tr>
<tr>
<td align="right">{$i18n.label.users}:</td>
<td>{$forms.projectForm.users.control}</td>
</tr>
<tr><td> </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>
@@
-42,4
+44,4
@@
</td>
</tr>
</table>
</td>
</tr>
</table>
-{$forms.projectForm.close}
\ No newline at end of file
+{$forms.projectForm.close}