上传图片
This commit is contained in:
parent
86aecd21b9
commit
0dc7b1f621
|
@ -77,7 +77,7 @@
|
|||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="header-con">
|
||||
<% if User.current.admin_of_org?(@organization) %>
|
||||
|
||||
<a href="javascript:void(0);" class="fl logo" onclick="orge_new_files_upload();">
|
||||
<!--"/files/uploads/image#{iamge_path}"-->
|
||||
<% if @org_logo_attchment.blank? %>
|
||||
|
@ -86,14 +86,7 @@
|
|||
<img src="/attachments/<%= @org_logo_attchment.id %>/<%= @org_logo_attchment.filename %>" height="52">
|
||||
<% end %>
|
||||
</a>
|
||||
<% else %>
|
||||
<% if @org_logo_attchment.blank? %>
|
||||
<a><img src="/images/org_new_style/logo.jpg" height="52" alt=""/></a>
|
||||
<% else %>
|
||||
<a><img src="/attachments/<%= @org_logo_attchment.id %>/<%= @org_logo_attchment.filename %>" height="52"></a>
|
||||
<% end %>
|
||||
|
||||
<% end %>
|
||||
|
||||
<%# 登录 %>
|
||||
<%= render :partial => 'organizations/org_logined_header' %>
|
||||
|
|
Loading…
Reference in New Issue