Project

General

Profile

Feature #5418 » link-to-gravatar-2.6.5.diff

Robert Hailey, 2015-05-26 22:31

View differences:

redmine-2.6.5/app/views/my/account.html.erb 2015-05-26 15:24:24.704231267 -0500
1 1
<div class="contextual">
2 2
<%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') 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 8

  
6
<h2><%=l(:label_my_account)%></h2>
9
<h2>
10
    <%= avatar(@user, :size => "50") %>
11
    <%=l(:label_my_account)%>
12
</h2>
7 13
<%= error_messages_for 'user' %>
8 14

  
9 15
<%= labelled_form_for :user, @user,
(3-3/4)