Revision 6e28eafd snf-branding/synnefo_branding/settings.py
b/snf-branding/synnefo_branding/settings.py | ||
---|---|---|
19 | 19 |
# The default path to the folder that contains all branding images |
20 | 20 |
IMAGE_MEDIA_URL = getattr(settings, 'BRANDING_IMAGE_MEDIA_URL', |
21 | 21 |
settings.MEDIA_URL+'branding/images/') |
22 |
|
|
23 |
# You can replace any image by providing its absolute path |
|
24 |
# example: 'https://synnefo.org/uploads/images/my_image.png' |
|
22 |
|
|
25 | 23 |
# The service favicon |
26 | 24 |
FAVICON_URL = getattr(settings, 'BRANDING_FAVICON_URL', |
27 | 25 |
IMAGE_MEDIA_URL+'favicon.ico') |
... | ... | |
45 | 43 |
# Dashboard UI |
46 | 44 |
SHOW_COPYRIGHT = getattr(settings, 'BRANDING_SHOW_COPYRIGHT', False) |
47 | 45 |
copyright_period_default = '2011-%s' % (datetime.datetime.now().year) |
48 |
# Defaults to 2011-<current_year> |
|
49 |
COPYRIGHT_PERIOD = getattr(settings, 'BRANDING_COPYRIGHT_PERIOD', |
|
50 |
copyright_period_default) |
|
51 |
# Formal company name appears in copyright message |
|
52 |
COMPANY_NAME_FORMAL = getattr(settings, 'BRANDING_COMPANY_NAME_FORMAL', |
|
53 |
'GRNET S.A.') |
|
54 |
copyright_message_default = 'Copyright (c) %s %s' % (COPYRIGHT_PERIOD, |
|
55 |
COMPANY_NAME_FORMAL) |
|
56 |
# Defaults to Copyright (c) 2011-<current_year> GRNET S.A. |
|
46 |
copyright_message_default = 'Copyright (c) %s %s' % (copyright_period_default, |
|
47 |
COMPANY_NAME) |
|
48 |
# Defaults to Copyright (c) 2011-<current_year> GRNET. |
|
57 | 49 |
COPYRIGHT_MESSAGE = getattr(settings, 'BRANDING_COPYRIGHT_MESSAGE', |
58 | 50 |
copyright_message_default) |
59 |
|
|
60 |
|
|
61 |
## Footer links |
|
62 |
###################### |
|
63 |
|
|
64 |
# If True, "about", "contact" and "support" links are displayed at the footer |
|
65 |
# of the Compute UI |
|
66 |
SHOW_FOOTER_LINKS = getattr(settings, 'BRANDING_SHOW_FOOTER_LINKS', True) |
|
67 |
SERVICE_ABOUT_URL = getattr(settings, 'BRANDING_SERVICE_ABOUT_URL', |
|
68 |
'https://synnefo.org/about') |
|
69 |
SERVICE_CONTACT_URL = getattr(settings, 'BRANDING_SERVICE_CONTACT_URL', |
|
70 |
'https://synnefo.org/contact') |
|
71 |
SERVICE_SUPPORT_URL = getattr(settings, 'BRANDING_SERVICE_SUPPORT_URL', |
|
72 |
'https://synnefo.org/support') |
|
73 | 51 |
|
74 | 52 |
SYNNEFO_JS_LIB_VERSION = get_component_version('app') |
Also available in: Unified diff