Show Custom orbit bar icon only for frontend and desktop

This commit is contained in:
saurabhbhatia 2013-10-15 10:07:01 +08:00
parent fb34dc673f
commit 5fb3731430
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,8 @@
</li>
</ul>
<% if @site.default_image.present? %>
<% @url_path = "#{request.fullpath}".scan(/admin/)%>
<% if (@site.default_image.present? && (!@url_path.include? "admin"))%>
<style>
#orbit-bar .orbitlogo {
width: 20px;