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 @@
-

<%= t(:login_orbit) %>

+

<%= t(:login)+' ' +((current_site.title.nil? && current_site.title.blank? && current_site.mobile_orbit_bar_title.nil? && current_site.mobile_orbit_bar_title.blank?) ? "Orbit" : [current_site.mobile_orbit_bar_title,current_site.title].select{|title| !title.nil? && !title.blank?}.first) %>

<%= form_tag "/sessions?locale=#{locale.to_s}", method: "post", :class => "container" do |f| %> @@ -47,12 +47,12 @@
<% 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 @@
<% end %> -
-
+ <% if(current_site.is_hidden_orbit_bar && !current_site.orbit_bar_background_color.blank? rescue false) %> +
+ <% end %> - + <% if current_site.is_hidden_orbit_bar %> + + + <% end %> +