blob: 9df029ec87fef28534a85c6dea09e72c30a08b45 (
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
26
27
28
29
30
31
32
|
.span8.offset1
%h2= @user.login
%dl.offset1
- fields = ['login', 'email', 'created_at', 'updated_at', 'email_forward']
- fields.each do |field|
%dt
= field.titleize
%dd
= user_field(field)
%dt
=t :email_aliases
%dd
- aliases = @user.email_aliases
- if aliases.empty?
none set
- else
%ul.unstyled
- aliases.each do |al|
%li
= al.email
%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)
|