mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
[bug] background image of the profile is not shown and wrong menu hover color
This commit is contained in:
parent
7640704568
commit
29e7ac2f08
@ -13,6 +13,7 @@
|
||||
- Fix a bug: plan edition does not show the associated group
|
||||
- Fix a bug: subscription page shows the groups without any active plans
|
||||
- Fix a bug: cart price inconsistently updated after a subscription
|
||||
- Fix a bug: background image of the profile is not shown and wrong menu hover color
|
||||
|
||||
## v4.3.4 2020 April 14
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
class Stylesheet < ApplicationRecord
|
||||
validates_presence_of :contents
|
||||
|
||||
## ===== THEME =====
|
||||
## ===== COMMON =====
|
||||
|
||||
def rebuild!
|
||||
if Stylesheet.primary && Stylesheet.secondary && name == 'theme'
|
||||
@ -16,7 +16,9 @@ class Stylesheet < ApplicationRecord
|
||||
end
|
||||
end
|
||||
|
||||
def self.build_sheet!
|
||||
## ===== THEME =====
|
||||
|
||||
def self.build_theme!
|
||||
return unless Stylesheet.primary && Stylesheet.secondary
|
||||
|
||||
if Stylesheet.theme
|
||||
|
@ -1 +1 @@
|
||||
<%= @stylesheet.contents %>
|
||||
<%= @stylesheet.contents.html_safe %>
|
@ -699,7 +699,7 @@ unless Setting.find_by(name: 'secondary_color').try(:value)
|
||||
setting.save
|
||||
end
|
||||
|
||||
Stylesheet.build_sheet!
|
||||
Stylesheet.build_theme!
|
||||
Stylesheet.build_home!
|
||||
|
||||
unless Setting.find_by(name: 'training_information_message').try(:value)
|
||||
|
@ -66,7 +66,7 @@ namespace :fablab do
|
||||
|
||||
desc '(re)build customization stylesheet'
|
||||
task rebuild_stylesheet: :environment do
|
||||
Stylesheet.build_sheet!
|
||||
Stylesheet.build_theme!
|
||||
end
|
||||
|
||||
desc 'migration notifications from Fab-manager v1'
|
||||
|
Loading…
x
Reference in New Issue
Block a user