Feature #5418 » account.rhtml.diff
| app/views/my/account.rhtml (working copy) | ||
|---|---|---|
|
<div class="contextual">
|
||
|
<%= link_to(l(:button_change_password), :action => 'password') if @user.change_password_allowed? %>
|
||
|
<%= link_to(l(:button_change_password), {:action => 'password'}, {:class=>'icon icon-lock'}) if @user.change_password_allowed? %>
|
||
|
<% if Setting.gravatar_enabled? %>
|
||
|
<%= link_to('Gravatar', 'http://gravatar.com/', {:class=>'icon icon-user', :target=>'_blank'}) %>
|
||
|
<% end %>
|
||
|
<%= call_hook(:view_my_account_contextual, :user => @user)%>
|
||
|
</div>
|
||
|
<h2><%=l(:label_my_account)%></h2>
|
||
|
<h2><%= avatar(@user, :size => "50") %><%=l(:label_my_account)%></h2>
|
||
|
<%= error_messages_for 'user' %>
|
||
|
<% form_for :user, @user, :url => { :action => "account" },
|
||