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

@ -20,7 +20,7 @@
<!-- Input Area -->
<div class="input-area">
<div class="nav-name"><strong>Classification</strong></div>
<div class="nav-name"><strong>Classification</strong></div>
<ul class="nav nav-pills language-nav">
<li class="active">
<a href="#sidebar-nav" data-toggle="tab">Sidebar Nav</a>

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;