projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some more recycling.
[timetracker.git]
/
WEB-INF
/
templates
/
mobile
/
users.tpl
diff --git
a/WEB-INF/templates/mobile/users.tpl
b/WEB-INF/templates/mobile/users.tpl
index
202e018
..
956ee55
100644
(file)
--- a/
WEB-INF/templates/mobile/users.tpl
+++ b/
WEB-INF/templates/mobile/users.tpl
@@
-17,22
+17,22
@@
</tr>
{if $active_users}
{foreach $active_users as $u}
</tr>
{if $active_users}
{foreach $active_users as $u}
- <tr bgcolor="{cycle values="#f5f5f5,#
dedee5
"}">
+ <tr bgcolor="{cycle values="#f5f5f5,#
ffffff
"}">
<td>
{if $smarty.const.UNCOMPLETED_INDICATORS == $user->uncompleted_indicators}
<span class="uncompleted-entry{if $u.has_uncompleted_entry} active{/if}"{if $u.has_uncompleted_entry} title="{$i18n.form.users.uncompleted_entry}"{/if}></span>
{/if}
{if $user->isManager()}
<td>
{if $smarty.const.UNCOMPLETED_INDICATORS == $user->uncompleted_indicators}
<span class="uncompleted-entry{if $u.has_uncompleted_entry} active{/if}"{if $u.has_uncompleted_entry} title="{$i18n.form.users.uncompleted_entry}"{/if}></span>
{/if}
{if $user->isManager()}
- <a href="user_edit.php?id={$u.id}">{$u.name|escape
:'html'
}</a>
+ <a href="user_edit.php?id={$u.id}">{$u.name|escape}</a>
{else}
{if ($user->id == $u.id) || ($smarty.const.ROLE_CLIENT == $u.role) || ($smarty.const.ROLE_USER == $u.role)}
{else}
{if ($user->id == $u.id) || ($smarty.const.ROLE_CLIENT == $u.role) || ($smarty.const.ROLE_USER == $u.role)}
- <a href="user_edit.php?id={$u.id}">{$u.name|escape
:'html'
}</a>
+ <a href="user_edit.php?id={$u.id}">{$u.name|escape}</a>
{else}
{else}
- {$u.name|escape
:'html'
}
+ {$u.name|escape}
{/if}
{/if}
</td>
{/if}
{/if}
</td>
- <td>{$u.login|escape
:'html'
}</td>
+ <td>{$u.login|escape}</td>
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
@@
-65,15
+65,15
@@
<td width="10%" class="tableHeader">{$i18n.label.edit}</td>
</tr>
{foreach $inactive_users as $u}
<td width="10%" class="tableHeader">{$i18n.label.edit}</td>
</tr>
{foreach $inactive_users as $u}
- <tr bgcolor="{cycle values="#f5f5f5,#
dedee5
"}">
+ <tr bgcolor="{cycle values="#f5f5f5,#
ffffff
"}">
<td>
{if $user->isManager()}
<td>
{if $user->isManager()}
- <a href="user_edit.php?id={$u.id}">{$u.name|escape
:'html'
}</a>
+ <a href="user_edit.php?id={$u.id}">{$u.name|escape}</a>
{else}
{else}
- {if ($user->id == $u.id) || ($smarty.const.ROLE_CLIENT == $u.role) || ($smarty.const.ROLE_USER == $u.role)}<a href="user_edit.php?id={$u.id}">{$u.name|escape
:'html'
}</a>{/if}
+ {if ($user->id == $u.id) || ($smarty.const.ROLE_CLIENT == $u.role) || ($smarty.const.ROLE_USER == $u.role)}<a href="user_edit.php?id={$u.id}">{$u.name|escape}</a>{/if}
{/if}
</td>
{/if}
</td>
- <td>{$u.login|escape
:'html'
}</td>
+ <td>{$u.login|escape}</td>
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
@@
-111,9
+111,9
@@
<td class="tableHeader">{$i18n.form.users.role}</td>
</tr>
{foreach $active_users as $u}
<td class="tableHeader">{$i18n.form.users.role}</td>
</tr>
{foreach $active_users as $u}
- <tr bgcolor="{cycle values="#f5f5f5,#
dedee5
"}">
- <td>{$u.name|escape
:'html'
}</td>
- <td>{$u.login|escape
:'html'
}</td>
+ <tr bgcolor="{cycle values="#f5f5f5,#
ffffff
"}">
+ <td>{$u.name|escape}</td>
+ <td>{$u.login|escape}</td>
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}