projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed getUser to include client_id.
[timetracker.git]
/
WEB-INF
/
templates
/
user_edit.tpl
diff --git
a/WEB-INF/templates/user_edit.tpl
b/WEB-INF/templates/user_edit.tpl
index
15bf3fe
..
e7d9dd9
100644
(file)
--- a/
WEB-INF/templates/user_edit.tpl
+++ b/
WEB-INF/templates/user_edit.tpl
@@
-108,7
+108,7
@@
function handleClientControl() {
{if $user->id == $user_id}
<tr>
<td align="right">{$i18n.form.users.role}:</td>
{if $user->id == $user_id}
<tr>
<td align="right">{$i18n.form.users.role}:</td>
- <td>{$user->role_name} {if $
user->can('swap_roles')}<a href="swap_roles.php">{$i18n.form.profile
.swap_roles}</a>{/if}</td>
+ <td>{$user->role_name} {if $
can_swap}<a href="swap_roles.php">{$i18n.form.user_edit
.swap_roles}</a>{/if}</td>
</tr>
{/if}
<tr>
</tr>
{/if}
<tr>