NIHVIVO-2280: Formatted date and time for Last login column in main account management. Changed Last login time for Last login, so I have some space for including Login count.

This commit is contained in:
manolobevia 2011-07-08 16:56:26 +00:00
parent e9b939e1c5
commit 9db4328321
2 changed files with 10 additions and 8 deletions

View file

@ -50,6 +50,9 @@ table#account td {
padding-top: .5em;
padding-bottom: .5em;
}
table#account td a{
word-wrap: break-word;
}
#filter-roles {
float: left;
padding-bottom: 20px;

View file

@ -116,16 +116,16 @@
<th scope="col">Roles</th>
<#--<th scope="col">
Login count
<th scope="col">
Login&nbsp;count
<nav class="account-alpha-browse">
<a class="sort-asc" href="?accountsPerPage=${accountsPerPage}&orderField=count&orderDirection=ASC" title="ascending order"></a>
<a class="sort-desc" href="?accountsPerPage=${accountsPerPage}&orderField=count&orderDirection=DESC" title="descending order"></a>
</nav>
</th>-->
</th>
<th scope="col">
Last Login Time
Last&nbsp;Login
<nav class="account-alpha-browse">
<a class="sort-asc" href="?accountsPerPage=${accountsPerPage}&orderField=lastLogin&orderDirection=ASC" title="ascending order"></a>
<a class="sort-desc" href="?accountsPerPage=${accountsPerPage}&orderField=lastLogin&orderDirection=DESC" title="descending order"></a>
@ -152,12 +152,11 @@
<div>${permissionSet}</div>
</#list>
</td>
<#--<td>${account.loginCount}</td>-->
<td>${account.loginCount}</td>
<td>
<#if account.lastLoginTime??>
${account.lastLoginTime?datetime?string.full}
<#else>
&nbsp;
${account.lastLoginTime?date?string.medium}
<br />${account.lastLoginTime?time?string.short}
</#if>
</td>
</tr>