blob: 290fc3c3d97bee3d1dd52f52f1bbdedc2818f118 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
.overview
%h2.first= t(".welcome", username: @user.login, cascade: true)
- if admin?
%p
= t(:created)
= @user.created_at
%br
= t(:updated)
= @user.updated_at
%br
= t(:enabled)
= @user.enabled?
%p= t(:overview_intro, default: "")
%ul.list-unstyled
%li= icon('user') + link_to(t(".account"), edit_user_path(@user))
- # %li= icon('envelope') + link_to(t(:overview_email), {insert path for user identities, presuambly}
%li= icon('question-sign') + link_to(t(".tickets"), user_tickets_path(@user))
- if APP_CONFIG[:billing]
%li= icon('shopping-cart') + link_to(t(".billing"), billing_top_link(@user))
|