Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-08 10:37:21 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-08 10:37:21 +0400
commitde6f4c313509ca6f6450186a8bf0e62e67f01ab1 (patch)
tree5686149fb3e83ca0528a4d38e090fc6c22417801 /app
parentf42a1ded99920998a9b63b309adc227485428d2c (diff)
parentf8182183599e8fd3ccf9d7d3741ecbf966d8c853 (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.haml8
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