Project

General

Profile

Feature #5418 » account.rhtml.diff

Yuki Kita, 2010-05-24 16:34

View differences:

app/views/my/account.rhtml (working copy)
1 1
<div class="contextual">
2
<%= link_to(l(:button_change_password), :action => 'password') if @user.change_password_allowed? %>
2
<%= link_to(l(:button_change_password), {:action => 'password'}, {:class=>'icon icon-lock'}) if @user.change_password_allowed? %>
3
<% if Setting.gravatar_enabled? %>
4
<%= link_to('Gravatar', 'http://gravatar.com/', {:class=>'icon icon-user', :target=>'_blank'}) %>
5
<% end %>
3 6
<%= call_hook(:view_my_account_contextual, :user => @user)%>
4 7
</div>
5
<h2><%=l(:label_my_account)%></h2>
8
<h2><%= avatar(@user, :size => "50") %><%=l(:label_my_account)%></h2>
6 9
<%= error_messages_for 'user' %>
7 10

  
8 11
<% form_for :user, @user, :url => { :action => "account" }, 
(1-1/4)