feat: set app name and logo on install and disable signup
- set app_name and app_logo_url on install - disabled signup
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
from . import __version__ as app_version
|
||||
import os
|
||||
|
||||
app_name = "community"
|
||||
app_title = "Community"
|
||||
@@ -10,6 +11,9 @@ app_icon = "octicon octicon-file-directory"
|
||||
app_color = "grey"
|
||||
app_email = "jannat@erpnext.com"
|
||||
app_license = "AGPL"
|
||||
|
||||
app_logo_url = os.getenv("APP_LOGO_URL") or "/files/logo.png"
|
||||
|
||||
# Includes in <head>
|
||||
# ------------------
|
||||
|
||||
@@ -59,7 +63,7 @@ web_include_css = "/assets/css/community.css"
|
||||
# ------------
|
||||
|
||||
# before_install = "community.install.before_install"
|
||||
# after_install = "community.install.after_install"
|
||||
after_install = "community.install.after_install"
|
||||
|
||||
# Desk Notifications
|
||||
# ------------------
|
||||
|
||||
Reference in New Issue
Block a user