Skip to content

Commit

Permalink
Add full timestamp as tooltip for comments
Browse files Browse the repository at this point in the history
Signed-off-by: Eli Young <elyscape@gmail.com>
  • Loading branch information
elyscape authored and bowlofeggs committed Jun 1, 2018
1 parent 4935847 commit 60e2cdd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bodhi/server/templates/fragments.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
${util.markup(comment.text) | n}
</div>
<div class="col-md-2 text-xs-right text-muted">
<a href="${comment.url()}">${util.age(comment.timestamp)}</a>
<a href="${comment.url()}" data-toggle="tooltip" title="${comment.timestamp.strftime("%Y-%m-%d %H:%M:%S")} (UTC)">
${util.age(comment.timestamp)}
</a>
</div>
</div>
% else:
Expand All @@ -33,7 +35,7 @@
</span>

<span class="pull-xs-right">
<a href="${comment.url()}">
<a href="${comment.url()}" data-toggle="tooltip" title="${comment.timestamp.strftime("%Y-%m-%d %H:%M:%S")} (UTC)">
${util.age(comment.timestamp)}
</a>
</span>
Expand Down

0 comments on commit 60e2cdd

Please sign in to comment.