组织未登录情况默认图片展示
This commit is contained in:
parent
985b1e4c95
commit
e9c35ae20f
|
@ -62,7 +62,7 @@
|
||||||
<div class="sn-header">
|
<div class="sn-header">
|
||||||
<div class="sn-row sn-bg-white">
|
<div class="sn-row sn-bg-white">
|
||||||
<div class="sn-logo">
|
<div class="sn-logo">
|
||||||
<% if @org_logo_attchment.blank? %>
|
<% if @org_logo_attchment.blank? || !User.current.logged? %>
|
||||||
<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 sn-fl" alt="">
|
<img src="/attachments/<%= @org_logo_attchment.id %>/<%= @org_logo_attchment.filename %>" width="367" height="63" class="sn-mt13 sn-fl" alt="">
|
||||||
|
|
Loading…
Reference in New Issue