diff --git a/app/views/branded/layouts/_branding.html.erb b/app/views/branded/layouts/_branding.html.erb index cb669aa..3d4ac44 100644 --- a/app/views/branded/layouts/_branding.html.erb +++ b/app/views/branded/layouts/_branding.html.erb @@ -118,17 +118,15 @@ - - <% unless current_user.org.banner_text.nil? || current_user.org.banner_text.empty? %> <% if current_user.org.active? %> -
- <%= current_user.org.banner_text.html_safe %> -
+ <% unless current_user.org.banner_text.nil? || current_user.org.banner_text.empty? %> +
+ <%= current_user.org.banner_text.html_safe %> +
+ <% end %> <% else %>
<%= d_('dmpopidor', 'Your organisation has been deactivated. Please choose a new organisation from your user profile.').html_safe %>
- <% end %> - <% end %>