From f8182183599e8fd3ccf9d7d3741ecbf966d8c853 Mon Sep 17 00:00:00 2001 From: Ben Bodenmiller Date: Sun, 24 Aug 2014 23:52:31 -0700 Subject: add current sign-in date add current sign-in date to admin section profile view --- app/views/admin/users/show.html.haml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/views/admin/users/show.html.haml') diff --git a/app/views/admin/users/show.html.haml b/app/views/admin/users/show.html.haml index 3c30ccd78b3..f60d40b5334 100644 --- a/app/views/admin/users/show.html.haml +++ b/app/views/admin/users/show.html.haml @@ -70,6 +70,14 @@ %strong.cred No + %li + %span.light Current sign-in at: + %strong + - if @user.current_sign_in_at + = @user.current_sign_in_at.stamp("Nov 12, 2031") + - else + never + %li %span.light Last sign-in at: %strong -- cgit v1.2.1