From 075022fcc4e8a5694d82542c2bc9e48e1589429f Mon Sep 17 00:00:00 2001 From: BOHUNG Date: Thu, 30 Jan 2020 18:10:53 +0800 Subject: [PATCH] update orbit-bar file --- .../accessibility/orbit_bar/index.html.erb | 201 ++++++++++++++--- .../orbit_bar/index_mobile.html.erb | 206 +++++++++++++++--- 2 files changed, 340 insertions(+), 67 deletions(-) diff --git a/updatefiles/accessibility/orbit_bar/index.html.erb b/updatefiles/accessibility/orbit_bar/index.html.erb index 9cda88b..1da36f8 100644 --- a/updatefiles/accessibility/orbit_bar/index.html.erb +++ b/updatefiles/accessibility/orbit_bar/index.html.erb @@ -12,7 +12,7 @@
<% end %> -
-
+ <% if(current_site.is_hidden_orbit_bar && !current_site.orbit_bar_background_color.blank? rescue false) %> +
+ <% end %> <% if current_user.nil?%> @@ -345,3 +355,130 @@ set validLocales(v){return false} }; + <% if current_site.is_hidden_orbit_bar %> + + + <% end %> + \ No newline at end of file diff --git a/updatefiles/accessibility/orbit_bar/index_mobile.html.erb b/updatefiles/accessibility/orbit_bar/index_mobile.html.erb index 17c5a6b..3562d28 100644 --- a/updatefiles/accessibility/orbit_bar/index_mobile.html.erb +++ b/updatefiles/accessibility/orbit_bar/index_mobile.html.erb @@ -13,7 +13,7 @@