diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-08 10:37:21 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-08 10:37:21 +0400 |
commit | de6f4c313509ca6f6450186a8bf0e62e67f01ab1 (patch) | |
tree | 5686149fb3e83ca0528a4d38e090fc6c22417801 /app | |
parent | f42a1ded99920998a9b63b309adc227485428d2c (diff) | |
parent | f8182183599e8fd3ccf9d7d3741ecbf966d8c853 (diff) |
Merge pull request #7596 from bbodenmiller/patch-5
add current sign-in date
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/users/show.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -71,6 +71,14 @@ 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 - if @user.last_sign_in_at |