make favorites icon a config option
diff --git a/xos/core/context_processors.py b/xos/core/context_processors.py
index d9e7d85..879f9c7 100644
--- a/xos/core/context_processors.py
+++ b/xos/core/context_processors.py
@@ -13,4 +13,5 @@
return {"DISABLE_MINIDASHBOARD": settings.DISABLE_MINIDASHBOARD,
"XOS_BRANDING_NAME": settings.XOS_BRANDING_NAME,
"XOS_BRANDING_CSS": settings.XOS_BRANDING_CSS,
+ "XOS_BRANDING_ICON": settings.XOS_BRANDING_ICON,
"sites": allSites}
diff --git a/xos/templates/admin/base.html b/xos/templates/admin/base.html
index 74699c5..7a957ac 100644
--- a/xos/templates/admin/base.html
+++ b/xos/templates/admin/base.html
@@ -26,7 +26,7 @@
{% block extrahead %}{% endblock %}
{% block blockbots %}
<meta name="robots" content="NONE,NOARCHIVE"/>{% endblock %}
- <link rel="shortcut icon" href="{% static 'favicon.png' %}">
+ <link rel="shortcut icon" href="{{ XOS_BRANDING_ICON }}">
</head>
{% load i18n %}
diff --git a/xos/xos/settings.py b/xos/xos/settings.py
index b8a4e56..dc8b781 100644
--- a/xos/xos/settings.py
+++ b/xos/xos/settings.py
@@ -267,6 +267,7 @@
XOS_BRANDING_NAME = getattr(config, "gui_branding_name", "OpenCloud")
XOS_BRANDING_CSS = getattr(config, "gui_branding_css", None)
+XOS_BRANDING_ICON = getattr(config, "gui_branding_icon", "/static/favicon.png")
DISABLE_MINIDASHBOARD = getattr(config, "gui_disable_minidashboard", False)
ENCRYPTED_FIELDS_KEYDIR = XOS_DIR + '/private_keys'
diff --git a/xos/xos_config b/xos/xos_config
index dba4a2e..b86d618 100644
--- a/xos/xos_config
+++ b/xos/xos_config
@@ -42,3 +42,4 @@
disable_minidashboard=True
#branding_name=CORD
#branding_css=/static/cord.css
+#branding_icon=/static/onos-logo.png