We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 20ae9dfe authored by Jochem Raat's avatar Jochem Raat

Fix SD-337

We didn't use the renderTime widget in the table of sent invites. Due
to this it wasn't possible to mouse over the time to see the absolute
time. This commit adjusts the tables of sent invites to use renderTime,
which in turn enables the user to mouse over for the absolute time.
parent c364f8e2
......@@ -63,7 +63,7 @@ $else
<th>Code
$forall Entity _ invite <- outstanding_invites
<tr>
<td>#{showDiffTime now (inviteCreatedTs invite)}&nbsp;ago
<td>^{renderTime (inviteCreatedTs invite)}
$with user_id <- inviteUser invite
<td>
<a href="@{UserR user_id}">
......@@ -87,7 +87,7 @@ $else
<th>Code
$forall Entity _ invite <- redeemed_invites
<tr>
<td>#{showDiffTime now (fromMaybe now (inviteRedeemedTs invite))}&nbsp;ago
<td>^{renderTime (fromMaybe now (inviteRedeemedTs invite))}
<td>#{format_user (inviteRedeemedBy invite)}
$with user_id <- inviteUser invite
<td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment