summaryrefslogtreecommitdiff
path: root/users/app/views/overviews/show.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-04 01:34:06 -0700
committerelijah <elijah@riseup.net>2013-07-04 01:34:06 -0700
commit7569f58c656fd2c274e49da6f366b9ef7138e961 (patch)
tree8d503b4d16ff4f9d14028228acccb5d23a104ba3 /users/app/views/overviews/show.html.haml
parent738a6c5576992e665821c76ad720a58edd228b28 (diff)
users - make a nice overview page (well, nice enough) and better users index/search.
Diffstat (limited to 'users/app/views/overviews/show.html.haml')
-rw-r--r--users/app/views/overviews/show.html.haml27
1 files changed, 15 insertions, 12 deletions
diff --git a/users/app/views/overviews/show.html.haml b/users/app/views/overviews/show.html.haml
index eda9899..b8ad814 100644
--- a/users/app/views/overviews/show.html.haml
+++ b/users/app/views/overviews/show.html.haml
@@ -1,15 +1,18 @@
-%p
- Username:
- = @user.login
+.overview
-%p
- User since:
- = @user.created_at
+ %h2.first= t(:overview_welcome, :username => @user.login)
-%p
- Last update:
- = @user.updated_at
+ - if admin?
+ %p
+ = t(:created)
+ = @user.created_at
+ %br
+ = t(:updated)
+ = @user.updated_at
-%p
- Quota:
- N/A \ No newline at end of file
+ %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))