added company info to header
This commit is contained in:
Binary file not shown.
@@ -19,6 +19,11 @@ logging.basicConfig(
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
def init_routes(main_bp):
|
||||
@main_bp.context_processor
|
||||
def inject_site_settings():
|
||||
site_settings = SiteSettings.query.first()
|
||||
return dict(site_settings=site_settings)
|
||||
|
||||
@main_bp.route('/')
|
||||
def home():
|
||||
if current_user.is_authenticated:
|
||||
|
||||
Reference in New Issue
Block a user