[python-django-horizon] Change body name to the one upstream uses.

Matthias Runge mrunge at fedoraproject.org
Thu Mar 27 10:28:42 UTC 2014


commit b79d140c4d56c7315ccba66c2acc3eab89e0c5c7
Author: Matthias Runge <mrunge at redhat.com>
Date:   Thu Mar 27 10:11:29 2014 +0100

    Change body name to the one upstream uses.
    
    Fixed angularjs issue.

 ...ix-theme-to-work-with-icehouse-3-snapshot.patch |   32 ++++++++++++++++++++
 python-django-horizon.spec                         |    1 +
 2 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/0010-Fix-theme-to-work-with-icehouse-3-snapshot.patch b/0010-Fix-theme-to-work-with-icehouse-3-snapshot.patch
new file mode 100644
index 0000000..fbc19b7
--- /dev/null
+++ b/0010-Fix-theme-to-work-with-icehouse-3-snapshot.patch
@@ -0,0 +1,32 @@
+From 9337c15f5cb195bc370600bac6282c02f8cbafc1 Mon Sep 17 00:00:00 2001
+From: Matthias Runge <mrunge at redhat.com>
+Date: Thu, 27 Mar 2014 10:10:48 +0100
+Subject: [PATCH] Fix theme to work with icehouse-3 snapshot
+
+---
+ openstack_dashboard/dashboards/theme/templates/base.html | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/openstack_dashboard/dashboards/theme/templates/base.html b/openstack_dashboard/dashboards/theme/templates/base.html
+index e64f916..f16e443 100644
+--- a/openstack_dashboard/dashboards/theme/templates/base.html
++++ b/openstack_dashboard/dashboards/theme/templates/base.html
+@@ -3,6 +3,7 @@
+ <html>
+   <head>
+     <meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
++    {% include "horizon/_custom_meta.html" %}
+     <title>{% block title %}{% endblock %} - {% site_branding %}</title>
+     {% comment %} Load CSS sheets before Javascript  {% endcomment %}
+     {% block css %}
+@@ -10,8 +11,9 @@
+     {% endblock %}
+     {% include "horizon/_conf.html" %}
+     {% include "horizon/client_side/_script_loader.html" %}
++    {% include "horizon/_custom_head_js.html" %}
+   </head>
+-  <body id="{% block body_id %}{% endblock %}" ng-app='horizonApp'>
++  <body id="{% block body_id %}{% endblock %}" ng-app='hz'>
+     {% block content %}
+       <div id="container">
+         {% block sidebar %}
diff --git a/python-django-horizon.spec b/python-django-horizon.spec
index 17c7677..ca62e7c 100644
--- a/python-django-horizon.spec
+++ b/python-django-horizon.spec
@@ -27,6 +27,7 @@ Patch0006: 0006-move-SECRET_KEY-secret_key_store-to-tmp.patch
 Patch0007: 0007-RCUE-navbar-and-login-screen.patch
 Patch0008: 0008-Fix-selenium-imports-on-tests.patch
 Patch0009: 0009-override-base-templates.patch
+Patch0010: 0010-Fix-theme-to-work-with-icehouse-3-snapshot.patch
 
 
 #


More information about the scm-commits mailing list