From e58fd0550b4a29fac9d52dc8a78d04333ccc8c06 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 17 Jun 2013 01:27:55 -0700 Subject: new ui - initial user changes --- users/app/views/overviews/show.html.haml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 users/app/views/overviews/show.html.haml (limited to 'users/app/views/overviews/show.html.haml') diff --git a/users/app/views/overviews/show.html.haml b/users/app/views/overviews/show.html.haml new file mode 100644 index 0000000..eda9899 --- /dev/null +++ b/users/app/views/overviews/show.html.haml @@ -0,0 +1,15 @@ +%p + Username: + = @user.login + +%p + User since: + = @user.created_at + +%p + Last update: + = @user.updated_at + +%p + Quota: + N/A \ No newline at end of file -- cgit v1.2.3 From 03fc85ad20e91964267dfcdaab9e3036c5702689 Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 4 Jul 2013 01:34:06 -0700 Subject: users - make a nice overview page (well, nice enough) and better users index/search. --- users/app/views/overviews/show.html.haml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'users/app/views/overviews/show.html.haml') 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)) -- cgit v1.2.3