Skip to content

Commit

Permalink
show User.seenAt in following list - closes #15281
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed May 11, 2024
1 parent 41d33b9 commit 583fbd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/relation/src/main/ui/RelationUi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ final class RelationUi(helpers: Helpers):
td(userLink(r.user)),
ctx.pref.showRatings.option(td(showBestPerf(r.user.perfs))),
td(trans.site.nbGames.plural(r.user.count.game, r.user.count.game.localize)),
td(r.user.seenAt.map: seen =>
trans.site.lastSeenActive(momentFromNow(seen))),
td(actions(r.user.light, relation = r.relation, followable = r.followable, blocked = false))
),
pagerNextTable(pager, np => addQueryParam(call.url, "page", np.toString))
Expand Down

0 comments on commit 583fbd6

Please sign in to comment.