Changed the link to the bbb image to be an absolute url (#353)

This commit is contained in:
farhatahmad 2019-02-04 10:19:11 -05:00 committed by Jesus Federico
parent c73064a70a
commit ef23cae73d
4 changed files with 4 additions and 5 deletions

View File

@ -17,8 +17,7 @@
<div class="container">
<div class="d-flex">
<%= link_to (current_user ? current_user.main_room : root_path), class: "header-brand" do %>
<%= image_tag(Rails.configuration.branding_image.blank? ? "logo_with_text.png" : Rails.configuration.branding_image,
class: "header-brand-img") %>
<%= image_tag(Rails.configuration.branding_image,class: "header-brand-img") %>
<% end %>
<div class="d-flex ml-auto">

View File

@ -17,7 +17,7 @@
%>
<div style="text-align:center; font-family:'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif">
<div style="display:inline-block; background-color:#F5F7FB; border:1px solid #d3d3d3; padding: 25px 70px">
<%= image_tag(Rails.configuration.branding_image.blank? ? "logo_with_text.png" : Rails.configuration.branding_image) %>
<%= image_tag(Rails.configuration.branding_image) %>
<h1 style="margin-bottom:30px">Password Reset</h1>

View File

@ -18,7 +18,7 @@
<div style="text-align:center; font-family:'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif">
<div style="display:inline-block; background-color:#F5F7FB; border:1px solid #d3d3d3; padding: 25px 70px">
<%= image_tag(Rails.configuration.branding_image.blank? ? "logo_with_text.png" : Rails.configuration.branding_image) %>
<%= image_tag(Rails.configuration.branding_image) %>
<h1 style="margin-bottom:30px">Welcome to <%= t('bigbluebutton') %>!,
<%= @user[:name] %></h1>

View File

@ -79,7 +79,7 @@ module Greenlight
config.banner_message = ENV['BANNER_MESSAGE']
# Configure custom branding image.
config.branding_image = ENV['BRANDING_IMAGE']
config.branding_image = ENV['BRANDING_IMAGE'] || "https://raw.githubusercontent.com/bigbluebutton/greenlight/master/app/assets/images/logo_with_text.png"
# Enable/disable recording thumbnails.
config.recording_thumbnails = (ENV['RECORDING_THUMBNAILS'] != "false")