|
|
|
@ -53,10 +53,12 @@
|
|
|
|
|
<div class="pr" style="width: 64px; height:64px;">
|
|
|
|
|
<% if User.current.logged? && (User.current.id == @project.user_id || 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%>
|
|
|
|
|
<div class="homepageEditProfile undis">
|
|
|
|
|
<%=link_to '', my_clear_user_avatar_temp_path(:project => @project.id), :remote => true, :class => 'homepageEditProfileIcon', :title => '点击编辑Logo' %>
|
|
|
|
|
</div>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= image_tag(url_to_avatar(@project), :width => "60", :height => "60", :alt => "项目logo") %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="homepageEditProfile undis"><a href="javascript:void(0);" class="homepageEditProfileIcon" title="点击编辑Logo"></a></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pr_info_id fl mb5 f14">
|
|
|
|
|