forked from External/greenlight
add ability for custom branding images
This commit is contained in:
@ -1,14 +1,9 @@
|
||||
<div class="header py-4">
|
||||
<div class="container">
|
||||
<div class="d-flex">
|
||||
<% if current_user %>
|
||||
<%= link_to current_user.main_room, class: "header-brand" do %>
|
||||
<%= image_tag("logo_with_text.png", class: "header-brand-img") %>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<%= link_to root_path, class: "header-brand" do %>
|
||||
<%= image_tag("logo_with_text.png", class: "header-brand-img") %>
|
||||
<% end %>
|
||||
<%= 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") %>
|
||||
<% end %>
|
||||
|
||||
<div class="d-flex ml-auto">
|
||||
|
Reference in New Issue
Block a user