Show Custom orbit bar icon only for frontend and desktop
This commit is contained in:
parent
fb34dc673f
commit
5fb3731430
|
@ -28,7 +28,8 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<% if @site.default_image.present? %>
|
<% @url_path = "#{request.fullpath}".scan(/admin/)%>
|
||||||
|
<% if (@site.default_image.present? && (!@url_path.include? "admin"))%>
|
||||||
<style>
|
<style>
|
||||||
#orbit-bar .orbitlogo {
|
#orbit-bar .orbitlogo {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
|
|
Loading…
Reference in New Issue