|
|
@ -51,7 +51,7 @@
|
|
|
|
<div class="project_info">
|
|
|
|
<div class="project_info">
|
|
|
|
<div class="pr_info_logo fl mr10 mb5">
|
|
|
|
<div class="pr_info_logo fl mr10 mb5">
|
|
|
|
<div class="pr" style="width: 64px; height:64px;">
|
|
|
|
<div class="pr" style="width: 64px; height:64px;">
|
|
|
|
<% if User.current.logged? && (User.current.id == @project.user_id || User.current.admin?)%>
|
|
|
|
<% if User.current.logged? && (User.current.allowed_to?({:controller => 'projects', :action => 'settings'}, @project) || User.current.admin?)%>
|
|
|
|
<%=link_to image_tag(url_to_avatar(@project),width:"60", height: "60", :id=>'nh_source_tx'), my_clear_user_avatar_temp_path(:project => @project.id), :remote => true%>
|
|
|
|
<%=link_to image_tag(url_to_avatar(@project),width:"60", height: "60", :id=>'nh_source_tx'), my_clear_user_avatar_temp_path(:project => @project.id), :remote => true%>
|
|
|
|
<div class="homepageEditProfile undis">
|
|
|
|
<div class="homepageEditProfile undis">
|
|
|
|
<%=link_to '', my_clear_user_avatar_temp_path(:project => @project.id), :remote => true, :class => 'homepageEditProfileIcon', :title => '点击编辑Logo' %>
|
|
|
|
<%=link_to '', my_clear_user_avatar_temp_path(:project => @project.id), :remote => true, :class => 'homepageEditProfileIcon', :title => '点击编辑Logo' %>
|
|
|
|