link-email-in-administration.patch

Eric Davis, 2008-07-21 16:41

Download (854 Bytes)

View differences:

app/views/users/list.rhtml (working copy)
29 29
	<td class="username"><%= link_to h(user.login), :action => 'edit', :id => user %></td>
30 30
	<td class="firstname"><%= h(user.firstname) %></td>
31 31
	<td class="lastname"><%= h(user.lastname) %></td>
32
	<td class="email"><%= h(user.mail) %></td>
32
	<td class="email"><%= mail_to(h(user.mail), nil, :encode => "javascript", :replace_at => "_at_", :replace_dot => "_dot_") %></td>
33 33
	<td align="center"><%= image_tag('true.png') if user.admin? %></td>
34 34
	<td class="created_on" align="center"><%= format_time(user.created_on) %></td>
35 35
	<td class="last_login_on" align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td>