Maintenance banner moved to admin site (#1775)

* initial

* finish

* travis fixes

* travis again

* not required
This commit is contained in:
MrKeksi
2020-06-26 20:30:56 +02:00
committed by GitHub
parent 495c375685
commit 9a96df6a37
7 changed files with 64 additions and 6 deletions

View File

@ -36,4 +36,8 @@ module ThemingHelper
def user_color
@settings.get_value("Primary Color") || Rails.configuration.primary_color_default
end
def maintenance_banner
@settings.get_value("Maintenance Banner")
end
end