|
|
|
@ -1,14 +1,16 @@
|
|
|
|
|
|
|
|
|
|
<div class="por_header_top">
|
|
|
|
|
<div class="por_header_con" >
|
|
|
|
|
<% if User.current.logged? && User.current.admin_of_org?(@organization)%>
|
|
|
|
|
<%=link_to image_tag(url_to_avatar(@organization),width:"51", height: "51", :id=>'nh_source_tx'), my_clear_user_avatar_temp_path(:organization => @organization.id), :remote => true%>
|
|
|
|
|
<div class="homepageEditProfile undis">
|
|
|
|
|
<%=link_to '', my_clear_user_avatar_temp_path(:organization => @organization.id), :remote => true, :class => 'homepageEditProfileIcon', :title => '点击编辑Logo' %>
|
|
|
|
|
</div>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= image_tag(url_to_avatar(@organization), :width => "51", :height => "51", :alt => "组织logo") %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="por_header_con">
|
|
|
|
|
<div class="pr fl">
|
|
|
|
|
<% if User.current.logged? && User.current.admin_of_org?(@organization)%>
|
|
|
|
|
<%=link_to image_tag(url_to_avatar(@organization),width:"51", height: "51", :id=>'nh_source_tx'), my_clear_user_avatar_temp_path(:organization => @organization.id), :remote => true%>
|
|
|
|
|
<div class="homepageEditProfile undis">
|
|
|
|
|
<%=link_to '', my_clear_user_avatar_temp_path(:organization => @organization.id), :remote => true, :class => 'homepageEditProfileIcon', :title => '点击编辑Logo' %>
|
|
|
|
|
</div>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= image_tag(url_to_avatar(@organization), :width => "51", :height => "51", :alt => "组织logo") %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<%#= image_tag(url_to_avatar(@organization), width:"51", height: "51", :id => 'nh_user_tx', :class => "por_logo fl mt1", :target => "_blank") %>
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
|
<div class="navHomepageProfile" id="navHomepageProfile">
|
|
|
|
|