aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/users/stats.html.haml
blob: 9bb08c1d560d9831b99e3082c97d490a17c34379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- title "Stats"
- caption :title
- sidebar :users
.avatar
  = image_tag @user.profile_image_url_original, alt: @user.screen_name, width: 128, height: 128
- if @user.registered? && @user.account.active?
  %p records
  %dl.dl-horizontal
    %dt Received reactions
    %dd= @user.stats.reactions_count
    %dt Registered
    %dd= format_time @user.account.created_at
    %dt Last update
    %dd= format_time @user.stats.updated_at