+++ /dev/null
-Description: Adds static width for the #floating-ips td.actions
-Author: Jiang Yong <jiangyong.hn@gmail.com>
-Origin: upstream, https://review.openstack.org/#/c/17530/
-Bug-Ubuntu: https://launchpad.net/bugs/1081875
-
---- horizon-2012.2.1.orig/openstack_dashboard/static/dashboard/less/horizon.less
-+++ horizon-2012.2.1/openstack_dashboard/static/dashboard/less/horizon.less
-@@ -823,6 +823,9 @@ td.actions_column {
- min-width: 140px;
- min-height: 20px;
- }
-+#floating_ips td.actions_column {
-+ width: 180px;
-+}
-
- td.actions_column .row_actions a,
- td.actions_column .row_actions input,
+++ /dev/null
-Description: Fixes: Can not display usage data for Quota Summary.
-Author: Kylin CG <kylin7.sg@gmail.com>
-Origin: upstream, https://review.openstack.org/#/c/17030/
-Bug-Ubuntu: https://launchpad.net/bugs/1055929
-
---- horizon-2012.2.1.orig/horizon/templates/horizon/common/_quota_summary.html
-+++ horizon-2012.2.1/horizon/templates/horizon/common/_quota_summary.html
-@@ -2,12 +2,12 @@
-
- <div class="quota-dynamic">
- <h3>{% trans "Quota Summary" %}</h3>
-- <strong>{% trans "Used" %}<span> {{ usage.quota.instances.used|intcomma }} </span> {% trans "of" %} <span> {{ usage.quota.instances.quota|intcomma }} </span>{% trans "Available Instances" %} </strong>
-- {% horizon_progress_bar usage.quota.instances.used usage.quota.instances.quota %}
-+ <strong>{% trans "Used" %}<span> {{ usage.quotas.instances.used|intcomma }} </span> {% trans "of" %} <span> {{ usage.quotas.instances.quota|intcomma }} </span>{% trans "Available Instances" %} </strong>
-+ {% horizon_progress_bar usage.quotas.instances.used usage.quotas.instances.quota %}
-
-- <strong>{% trans "Used" %} <span> {{ usage.quota.cores.used|intcomma }} </span>{% trans "of" %}<span> {{ usage.quota.cores.quota|intcomma }} </span>{% trans "Available vCPUs" %} </strong>
-- {% horizon_progress_bar usage.quota.cores.used usage.quota.cores.quota %}
-+ <strong>{% trans "Used" %} <span> {{ usage.quotas.cores.used|intcomma }} </span>{% trans "of" %}<span> {{ usage.quotas.cores.quota|intcomma }} </span>{% trans "Available vCPUs" %} </strong>
-+ {% horizon_progress_bar usage.quotas.cores.used usage.quotas.cores.quota %}
-
-- <strong>{% trans "Used" %} <span> {{ usage.quota.ram.used|intcomma }} MB </span>{% trans "of" %}<span> {{ usage.quota.ram.quota|intcomma }} MB </span>{% trans "Available RAM" %} </strong>
-- {% horizon_progress_bar usage.quota.ram.used usage.quota.ram.quota %}
-+ <strong>{% trans "Used" %} <span> {{ usage.quotas.ram.used|intcomma }} MB </span>{% trans "of" %}<span> {{ usage.quotas.ram.quota|intcomma }} MB </span>{% trans "Available RAM" %} </strong>
-+ {% horizon_progress_bar usage.quotas.ram.used usage.quotas.ram.quota %}
- </div>
+++ /dev/null
-Description: Fixes some unit testings
-Author: Mehdi Abaakouk <sileht@sileht.net>
-Forwarded: not-needed
-
-Index: horizon-2012.2/run_tests.sh
-===================================================================
---- horizon-2012.2.orig/run_tests.sh 2012-08-23 18:52:34.891973319 -0700
-+++ horizon-2012.2/run_tests.sh 2012-08-23 18:53:15.879971813 -0700
-@@ -274,25 +274,25 @@
- if [ "$NOSE_WITH_HTML_OUTPUT" = '1' ]; then
- export NOSE_HTML_OUT_FILE='horizon_nose_results.html'
- fi
-- ${command_wrapper} coverage erase
-- ${command_wrapper} coverage run -p $root/manage.py test horizon --settings=horizon.tests.testsettings $testargs
-+ ${command_wrapper} python-coverage erase
-+ ${command_wrapper} python-coverage run -p $root/manage.py test horizon --settings=horizon.tests.testsettings $testargs
- # get results of the Horizon tests
- HORIZON_RESULT=$?
-
-- echo "Running openstack_dashboard tests"
-- export NOSE_XUNIT_FILE=openstack_dashboard/nosetests.xml
-- if [ "$NOSE_WITH_HTML_OUTPUT" = '1' ]; then
-- export NOSE_HTML_OUT_FILE='dashboard_nose_results.html'
-- fi
-- ${command_wrapper} coverage run -p $root/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings $testargs
-- # get results of the openstack_dashboard tests
-- DASHBOARD_RESULT=$?
-+# echo "Running openstack_dashboard tests"
-+# export NOSE_XUNIT_FILE=openstack_dashboard/nosetests.xml
-+# if [ "$NOSE_WITH_HTML_OUTPUT" = '1' ]; then
-+# export NOSE_HTML_OUT_FILE='dashboard_nose_results.html'
-+# fi
-+# ${command_wrapper} python-coverage run -p $root/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings $testargs
-+# # get results of the openstack_dashboard tests
-+# DASHBOARD_RESULT=$?
-
- if [ $with_coverage -eq 1 ]; then
- echo "Generating coverage reports"
-- ${command_wrapper} coverage combine
-- ${command_wrapper} coverage xml -i --omit='/usr*,setup.py,*egg*,.venv/*'
-- ${command_wrapper} coverage html -i --omit='/usr*,setup.py,*egg*,.venv/*' -d reports
-+ ${command_wrapper} python-coverage combine
-+ ${command_wrapper} python-coverage xml -i --omit='/usr*,setup.py,*egg*,.venv/*'
-+ ${command_wrapper} python-coverage html -i --omit='/usr*,setup.py,*egg*,.venv/*' -d reports
- fi
- # Remove the leftover coverage files from the -p flag earlier.
- rm -f .coverage.*
-Index: horizon-2012.2/horizon/tests/testsettings.py
-===================================================================
---- horizon-2012.2.orig/horizon/tests/testsettings.py 2012-08-23 18:52:34.647973328 -0700
-+++ horizon-2012.2/horizon/tests/testsettings.py 2012-08-23 18:54:36.615968847 -0700
-@@ -98,7 +98,6 @@
- TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
- NOSE_ARGS = ['--nocapture',
- '--nologcapture',
-- '--exclude-dir=horizon/conf/',
- '--cover-package=horizon',
- '--cover-inclusive']
-