上传图片

This commit is contained in:
huang 2016-04-02 00:00:36 +08:00
parent 86aecd21b9
commit 0dc7b1f621
1 changed files with 1 additions and 8 deletions

View File

@ -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' %>