From 0bf001e1618878adae9dd99efda385fafc065aad Mon Sep 17 00:00:00 2001 From: Chad Roberts Date: Fri, 20 Mar 2015 14:45:15 -0400 Subject: [PATCH] Removing absolute URLs from data processing templates Absolute URLs appeared in 2 of the data processing templates. Both have been updated to use the proper django url. Change-Id: I52b2730f7eb06fd83ccd11a8676b63a434bf2631 Closes-Bug: #1434666 --- .../jobs/templates/data_processing.jobs/config_template.html | 2 +- .../wizard/templates/data_processing.wizard/wizard.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack_dashboard/dashboards/project/data_processing/jobs/templates/data_processing.jobs/config_template.html b/openstack_dashboard/dashboards/project/data_processing/jobs/templates/data_processing.jobs/config_template.html index 55aca636e2..56a9d53d6e 100644 --- a/openstack_dashboard/dashboards/project/data_processing/jobs/templates/data_processing.jobs/config_template.html +++ b/openstack_dashboard/dashboards/project/data_processing/jobs/templates/data_processing.jobs/config_template.html @@ -185,7 +185,7 @@ var job_type; $.ajax({ - url: "/project/data_processing/jobs/launch-job", + url: "{% url 'horizon:project:data_processing.jobs:launch-job' %}", data: {"job_id": $("#id_job").val(), "json": true }, success: function (data, textStatus, jqXHR) { diff --git a/openstack_dashboard/dashboards/project/data_processing/wizard/templates/data_processing.wizard/wizard.html b/openstack_dashboard/dashboards/project/data_processing/wizard/templates/data_processing.wizard/wizard.html index efab798863..07d848c349 100644 --- a/openstack_dashboard/dashboards/project/data_processing/wizard/templates/data_processing.wizard/wizard.html +++ b/openstack_dashboard/dashboards/project/data_processing/wizard/templates/data_processing.wizard/wizard.html @@ -49,7 +49,7 @@ + href="{% url 'horizon:project:data_processing.wizard:jobex_guide' %}"> {% trans "Job Execution Guide" %}