summaryrefslogtreecommitdiff
path: root/users/app/views/overviews/show.html.haml
blob: e43a1933d9ccc3b05b750adb898f42afd645ab24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.overview

  %h2.first= t(:overview_welcome, :username => @user.login)

  - if admin?
    %p
      = t(:created)
      = @user.created_at
      %br
      = t(:updated)
      = @user.updated_at
      %br
      = t(:enabled)
      = @user.enabled?

  %p= t(:overview_intro)

  %ul.unstyled
    %li= icon('user') + link_to(t(:overview_account), edit_user_path(@user))
    %li= icon('envelope') + link_to(t(:overview_email), edit_user_email_settings_path(@user))
    %li= icon('question-sign') + link_to(t(:overview_tickets), user_tickets_path(@user))
    %li= icon('shopping-cart') + link_to(t(:overview_billing), show_or_new_customer_link(@user)) if engine_enabled('LeapWebBilling')