Merge "Allow Horizon Custom Branding"

This commit is contained in:
Jenkins 2015-11-27 19:37:44 +00:00 committed by Gerrit Code Review
commit 9150192722
2 changed files with 14 additions and 0 deletions

View File

@ -45,6 +45,16 @@
notify: Restart apache2 notify: Restart apache2
tags: tags:
- horizon-configs - horizon-configs
- horizon-branding
- name: Uploading horizon custom files
copy:
src: "{{ item.value.src }}"
dest: "{{ horizon_lib_dir }}/openstack_dashboard/static/dashboard/{{ item.value.dest }}"
with_dict: "{{ horizon_custom_uploads | default({}) }}"
when: horizon_custom_uploads is defined
tags:
- horizon-branding
- name: Create horizon links - name: Create horizon links
file: file:

View File

@ -710,3 +710,7 @@ REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES']
# For more information see: # For more information see:
# http://tinyurl.com/anticlickjack # http://tinyurl.com/anticlickjack
#DISALLOW_IFRAME_EMBED = True #DISALLOW_IFRAME_EMBED = True
{% if horizon_site_name is defined %}
SITE_BRANDING = '{{ horizon_site_name }}'
{% endif %}