Revision 6e28eafd

b/snf-astakos-app/astakos/im/templates/im/footer.html
2 2
 
3 3
<p class="termslink" style="float:right"><a href="{% url latest_terms %}">Terms of service</a></p>
4 4
{% if BRANDING_SHOW_COPYRIGHT%}
5
<p><a href="{{ BRANDING_COMPANY_URL }}" target="_blank" title="{{ BRANDING_COMPANY_NAME }}">{{  BRANDING_COPYRIGHT_MESSAGE }}</a> All rights reserved.</p>
5
	<p><a href="{{ BRANDING_COMPANY_URL }}" target="_blank" title="{{ BRANDING_COMPANY_NAME }}">{{  BRANDING_COPYRIGHT_MESSAGE }}</a> All rights reserved.</p>
6 6
{% endif %}
7 7

  
8
 <div class="software">Powered by <a href="http://www.synnefo.org/">synnefo</a> <span class="version">v{{ BRANDING_SYNNEFO_JS_LIB_VERSION }}</span></div>
8
 <div class="software">Powered by <a href="http://www.synnefo.org/">Synnefo</a> <span class="version">v{{ BRANDING_SYNNEFO_JS_LIB_VERSION }}</span></div>
9 9
 
10 10
{% endblock %}
11 11
 
b/snf-branding/conf/15-snf-branding-settings.conf
1
## Service and company names/urls
2
######################
3

  
4
#BRANDING_SERVICE_NAME = 'Synnefo'
5
#BRANDING_SERVICE_URL =	'http://www.synnefo.org/'
6
#BRANDING_COMPANY_NAME = 'GRNET'
7
#BRANDING_COMPANY_URL = 'https://www.grnet.gr/en/'
8

  
9
## Images
10
######################
11

  
12
# The default path to the folder that contains all branding images
13
#BRANDING_IMAGE_MEDIA_URL= MEDIA_URL + 'branding/images/'
14

  
15
# You can replace an image by providing either its absolute or its relative url.
16
# In the case of the relative url, you have the option to  just replace     
17
# <path_to_image_folder> with the correct path and keep the naming convention 
18
# for the image.
19

  
20
# The service favicon
21
#BRANDING_FAVICON_URL = '<path_to_image_folder>' + 'favicon.ico'
22

  
23
#Logo used in Dashboard pages (Astakos)
24
#BRANDING_DASHBOARD_LOGO_URL =  '<path_to_image_folder>' + 'dashboard_logo.png'
25

  
26
#Logo used in Compute pages (Cyclades)
27
#BRANDING_COMPUTE_LOGO_URL = '<path_to_image_folder>' + 'compute_logo.png'
28

  
29
#Logo used in Console page for VM (Cyclades)
30
#BRANDING_CONSOLE_LOGO_URL = '<path_to_image_folder>' + 'console_logo.png'
31

  
32
#Logo used in Storage pages (Pithos)
33
#BRANDING_STORAGE_LOGO_URL = '<path_to_image_folder>' + 'storage_logo.png'
34

  
35
## Copyright options
36
######################
37

  
38
# If True, Copyright message will appear at the footer of the Compute and 
39
# Dashboard UI 
40
#BRANDING_SHOW_COPYRIGHT = False
41

  
42
# Defaults to 'Copyright (c) 2011-<current_year> GRNET.'
43
#BRANDING_COPYRIGHT_MESSAGE = 'Copyright (c) 2011-<current_year> GRNET S.A.'
/dev/null
1
## Service and company names/urls
2
######################
3

  
4
#BRANDING_SERVICE_NAME = 'Synnefo'
5
#BRANDING_SERVICE_URL =	'http://www.synnefo.org/'
6
#BRANDING_COMPANY_NAME = 'GRNET'
7
#BRANDING_COMPANY_URL = 'https://www.grnet.gr/en/'
8

  
9
## Images
10
######################
11

  
12
# The default path to the folder that contains all branding images
13
#BRANDING_IMAGE_MEDIA_URL= MEDIA_URL + 'branding/images/'
14

  
15
# You can replace any image by providing its absolute path
16
# example: 'https://synnefo.org/uploads/images/my_image.png'
17
# The service favicon
18
#BRANDING_FAVICON_URL = '<path_to_image_folder>' + 'favicon.ico'
19

  
20
#Logo used in Dashboard pages (Astakos)
21
#BRANDING_DASHBOARD_LOGO_URL =  '<path_to_image_folder>' + 'dashboard_logo.png'
22

  
23
#Logo used in Compute pages (Cyclades)
24
#BRANDING_COMPUTE_LOGO_URL = '<path_to_image_folder>' + 'compute_logo.png'
25

  
26
#Logo used in Console page for VM (Cyclades)
27
#BRANDING_CONSOLE_LOGO_URL = '<path_to_image_folder>' + 'console_logo.png'
28

  
29
#Logo used in Storage pages (Pithos)
30
#BRANDING_STORAGE_LOGO_URL = '<path_to_image_folder>' + 'storage_logo.png'
31

  
32
## Copyright options
33
######################
34

  
35
# If True, Copyright message will appear at the footer of the Compute and 
36
# Dashboard UI 
37
#BRANDING_SHOW_COPYRIGHT = False 
38
#BRANDING_COPYRIGHT_PERIOD = '2011-<current_year>'
39

  
40
# Formal company name that appears in copyright message
41
#BRANDING_COMPANY_NAME_FORMAL = 'GRNET S.A.'
42
#BRANDING_COPYRIGHT_MESSAGE = 'Copyright (c) 2011-<current_year> GRNET S.A.'
43

  
44
## Footer links
45
######################
46

  
47
# If True, "about", "contact" and "support" links are displayed at the footer 
48
# of the Compute UI 
49
#BRANDING_SHOW_FOOTER_LINKS = False
50

  
51
#BRANDING_SERVICE_ABOUT_URL = 'https://synnefo.org/about'
52
#BRANDING_SERVICE_CONTACT_URL = 'https://synnefo.org/contact'
53
#BRANDING_SERVICE_SUPPORT_URL = 'https://synnefo.org/support'
54

  
55

  
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')
b/snf-cyclades-app/synnefo/ui/templates/footer.html
2 2
<div id="footer-container">
3 3
    <div id='footer'>
4 4
        <div id='footer-text'>
5
            {% if BRANDING_EXTRA_FOOTER_LINKS %}
6
            <a href="{{ BRANDING_SERVICE_ABOUT_URL }}">{% trans "About" %}</a>
7
                &nbsp;|&nbsp;
8
            <a href="{{ BRANDING_SERVICE_CONTACT_URL }}">{% trans "Contact" %}</a>
9
                &nbsp;|&nbsp;
10
            <a href="{{ BRANDING_SERVICE_SUPPORT_URL }}">{% trans "Support" %}</a>
11
            {% endif %}
12
            {% comment %}
13
                &nbsp;|&nbsp;
14
            <a href="#">{% trans "Terms" %}</a>
15
                &nbsp;|&nbsp;
16
            <a href="#">{% trans "Privacy" %}</a>
17
            {% endcomment %}
18
            <br/>
19 5
            {% if BRANDING_SHOW_COPYRIGHT %}
20 6
            <div class='grnet-sign'><a href="{{ BRANDING_COMPANY_URL }}" target="_blank" title="{{ BRANDING_COMPANY_NAME }}">{{  BRANDING_COPYRIGHT_MESSAGE }}</a></div>
21 7
            {% endif %}
22 8
        </div>
23 9
        <div id="footer-bg">
24 10
        </div>
25
        <div class="software">Powered by <a href="http://www.synnefo.org/">synnefo</a> <span class="version">v{{ synnefo_version }}</span></div>
11
        <div class="software">Powered by <a href="http://www.synnefo.org/">Synnefo</a> <span class="version">v{{ synnefo_version }}</span></div>
26 12
    </div>
27 13
</div>

Also available in: Unified diff