Index: app/views/my/account.html.erb
===================================================================
--- app/views/my/account.html.erb (revision 14294)
+++ app/views/my/account.html.erb (working copy)
@@ -1,10 +1,16 @@
<%= additional_emails_link(@user) %>
<%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') if @user.change_password_allowed? %>
+<% if Setting.gravatar_enabled? %>
+<%= link_to(l(:label_manage_gravatar_icons), Redmine::Info.gravatar_url, {:class=>'icon icon-user', :target=>'_blank'}) %>
+<% end %>
<%= call_hook(:view_my_account_contextual, :user => @user)%>
-<%=l(:label_my_account)%>
+
+ <%= avatar(@user, :size => "50") %>
+ <%=l(:label_my_account)%>
+
<%= error_messages_for 'user' %>
<%= labelled_form_for :user, @user,
Index: config/locales/en.yml
===================================================================
--- config/locales/en.yml (revision 14294)
+++ config/locales/en.yml (working copy)
@@ -944,7 +944,8 @@
label_blank_value: blank
label_parent_task_attributes: Parent tasks attributes
label_parent_task_attributes_derived: Calculated from subtasks
- label_parent_task_attributes_independent: Independent of subtasks
+ label_parent_task_attributes_independent: Independent of subtask
+ label_manage_gravatar_icons: Manage Gravatar user icons
button_login: Login
button_submit: Submit
Index: lib/redmine/info.rb
===================================================================
--- lib/redmine/info.rb (revision 14294)
+++ lib/redmine/info.rb (working copy)
@@ -4,6 +4,7 @@
def app_name; 'Redmine' end
def url; 'http://www.redmine.org/' end
def help_url; 'http://www.redmine.org/guide' end
+ def gravatar_url; 'http://gravatar.com/' end
def versioned_name; "#{app_name} #{Redmine::VERSION}" end
def environment