Fixed issues with application js order and flash messages (#387)

This commit is contained in:
farhatahmad
2019-03-04 16:29:07 -05:00
committed by Jesus Federico
parent 404134aa8d
commit 79bb782319
2 changed files with 15 additions and 11 deletions

View File

@ -39,18 +39,22 @@
<div class="wrapper">
<% if bigbluebutton_endpoint_default? %>
<%= render "shared/error_banner" do %>
<i class="fas fa-exclamation-triangle"></i>
<p class="d-inline"><%= t("test_install",
href: link_to(t("docs").downcase, "http://docs.bigbluebutton.org/install/greenlight-v2.html#2-install-greenlight", target: "_blank")
).html_safe %>
<% end %>
<div class="alert alert-icon alert-danger text-center mb-0">
<div class="flash alert d-inline">
<i class="fas fa-exclamation-triangle"></i>
<p class="d-inline"><%= t("test_install",
href: link_to(t("docs").downcase, "http://docs.bigbluebutton.org/install/greenlight-v2.html#2-install-greenlight", target: "_blank")
).html_safe %>
</div>
</div>
<% end %>
<% unless Rails.configuration.banner_message.blank? %>
<%= render "shared/error_banner" do %>
<p class="d-inline"><%= Rails.configuration.banner_message %></p>
<% end %>
<div class="alert alert-icon alert-danger text-center mb-0">
<div class="flash alert d-inline">
<p class="d-inline"><%= Rails.configuration.banner_message %></p>
</div>
</div>
<% end %>
<%= yield %>