组织头像

This commit is contained in:
Tim 2016-05-17 10:03:26 +08:00
parent 76d1251546
commit 1402ae190d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@
<% if @org_logo_attchment.blank? %> <% if @org_logo_attchment.blank? %>
<img src="/images/org_new_style/logo.jpg" width="367" height="63" class="sn-mt13 sn-fl" alt=""/> <img src="/images/org_new_style/logo.jpg" width="367" height="63" class="sn-mt13 sn-fl" alt=""/>
<% else %> <% else %>
<img src="/attachments/<%= @org_logo_attchment.id %>/<%= @org_logo_attchment.filename %>" width="367" height="63" class="sn-mt13" alt=""> <img src="/attachments/<%= @org_logo_attchment.id %>/<%= @org_logo_attchment.filename %>" width="367" height="63" class="sn-mt13 sn-fl" alt="">
<% end %> <% end %>
<% if User.current.admin_of_org?(@organization) %> <% if User.current.admin_of_org?(@organization) %>
<a href="#" class="sn-logo-add" title="点击替换LOGO" onclick="org_new_files_upload();"></a> <a href="#" class="sn-logo-add" title="点击替换LOGO" onclick="org_new_files_upload();"></a>