summaryrefslogtreecommitdiff
path: root/users/app/views/users/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/views/users/show.html.haml')
-rw-r--r--users/app/views/users/show.html.haml21
1 files changed, 8 insertions, 13 deletions
diff --git a/users/app/views/users/show.html.haml b/users/app/views/users/show.html.haml
index 9df029e..2b59c66 100644
--- a/users/app/views/users/show.html.haml
+++ b/users/app/views/users/show.html.haml
@@ -1,5 +1,7 @@
.span8.offset1
%h2= @user.login
+ .small
+ = link_to 'edit', edit_user_path(@user)
%dl.offset1
- fields = ['login', 'email', 'created_at', 'updated_at', 'email_forward']
- fields.each do |field|
@@ -14,19 +16,12 @@
- if aliases.empty?
none set
- else
- %ul.unstyled
- - aliases.each do |al|
- %li
- = al.email
+ .pull-left
+ = render aliases
+ .clearfix
%dt
=t :most_recently_updated_tickets
%dd
- %ul
- - @user.most_recent_tickets.each do |ticket|
- %li
- = link_to ticket.title, ticket
- %small
- updated:
- = ticket.updated_at.to_s(:long)
-
-
+ %table
+ %tbody
+ = render @user.most_recent_tickets \ No newline at end of file