diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 0d8649cc..df106757 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -11,24 +11,21 @@
This deployment is using a pre-configured testing server, + you should replace this with your own. + For details, see the <%= link_to "documentation", "http://docs.bigbluebutton.org/install/green-light.html#installing-greenlight", target: "_blank" %>. + <% end %> + <% end %> + + <% unless Rails.configuration.banner_message.blank? %> + <%= render "shared/error_banner" do %> +
<%= Rails.configuration.banner_message %>
+ <% end %> <% end %> <%= yield %> diff --git a/app/views/shared/_error_banner.html.erb b/app/views/shared/_error_banner.html.erb index 6d6f31eb..3aaeef82 100644 --- a/app/views/shared/_error_banner.html.erb +++ b/app/views/shared/_error_banner.html.erb @@ -1,6 +1,3 @@This deployment is using a pre-configured testing server, - you should replace this with your own. - For details, see the <%= link_to "documentation", "http://docs.bigbluebutton.org/install/green-light.html#installing-greenlight", target: "_blank" %>.
+ <%= yield %>