<%= l(:label_project_ivite_code)%>
diff --git a/app/views/layouts/new_base_user.html.erb b/app/views/layouts/new_base_user.html.erb
index d05850a56..b5643982d 100644
--- a/app/views/layouts/new_base_user.html.erb
+++ b/app/views/layouts/new_base_user.html.erb
@@ -103,7 +103,10 @@
<% if User.current.logged?%>
+
<%=link_to image_tag(url_to_avatar(@user),width:"74", height: "74", :id=>'nh_source_tx'), my_clear_user_avatar_temp_path, :class => "user_leftinfo_img", :remote => true%>
+
+
<% else %>
![](images/user/male.jpg)
<% end %>
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 504fea3cb..95f939ea4 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -2099,3 +2099,15 @@ function throttle_me(method, context, e, condition, url){
},500);
}
+//头像、logo编辑图标显隐
+function edit_img(){
+ $(".homepageEditProfile").parent().mouseover(function(){
+ $(".homepageEditProfile").show();
+ });
+ $(".homepageEditProfile").parent().mouseout(function(){
+ $(".homepageEditProfile").hide();
+ });
+}
+
+$(document).ready(edit_img);
+