UX: adds hover title with full date to admin users columns (#13913)
This PR adds a hover title to a few columns on the admin users' page /admin/users/list/active The hover title will show the date in full format on those columns with shortened dates
This commit is contained in:
parent
fbf7627c8e
commit
7b56325f89
|
@ -51,11 +51,20 @@
|
||||||
<td class="email {{if showEmails "" "hidden"}}">
|
<td class="email {{if showEmails "" "hidden"}}">
|
||||||
{{~user.email~}}
|
{{~user.email~}}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
{{#if user.last_emailed_at}}
|
||||||
|
<td class="last-emailed" title={{raw-date user.last_emailed_at}}>
|
||||||
|
<div class="label">{{i18n "admin.users.last_emailed"}}</div>
|
||||||
|
<div>{{format-duration user.last_emailed_age}}</div>
|
||||||
|
</td>
|
||||||
|
{{else}}
|
||||||
<td class="last-emailed">
|
<td class="last-emailed">
|
||||||
<div class="label">{{i18n "admin.users.last_emailed"}}</div>
|
<div class="label">{{i18n "admin.users.last_emailed"}}</div>
|
||||||
<div>{{format-duration user.last_emailed_age}}</div>
|
<div>{{format-duration user.last_emailed_age}}</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="last-seen">
|
{{/if}}
|
||||||
|
|
||||||
|
<td class="last-seen" title={{raw-date user.last_seen_at}}>
|
||||||
<div class="label">{{i18n "last_seen"}}</div>
|
<div class="label">{{i18n "last_seen"}}</div>
|
||||||
<div>{{format-duration user.last_seen_age}}</div>
|
<div>{{format-duration user.last_seen_age}}</div>
|
||||||
</td>
|
</td>
|
||||||
|
@ -72,7 +81,7 @@
|
||||||
<div>{{format-duration user.time_read}}</div>
|
<div>{{format-duration user.time_read}}</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="created">
|
<td class="created" title={{raw-date user.created_at}}>
|
||||||
<div class="label">{{i18n "created"}}</div>
|
<div class="label">{{i18n "created"}}</div>
|
||||||
<div>{{format-duration user.created_at_age}}</div>
|
<div>{{format-duration user.created_at_age}}</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue