summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Farkas <ifarkas@redhat.com>2013-07-29 11:59:57 +0200
committerTomas Sedovic <tomas@sedovic.cz>2013-08-01 16:18:57 +0200
commit6e4c816cf8fca61da0b885704b465d843d764551 (patch)
tree23781582025ccf4c95bfca8e35cf327cc4ffd388
parentce69072bd58d3bc7555e823f7b0f21fc07bcc4f1 (diff)
downloadtuskar-ui-6e4c816cf8fca61da0b885704b465d843d764551.tar.gz
Fix the modal line chart of the capacity bar charts
This regression was introduced in 4f8178dc977d29e28105e31361f6f46abf5a1dac Change-Id: Ifbddb4facc13dd3c858e50c564e498c35edd5907
-rw-r--r--openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/resource_classes/_detail_overview.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/resource_classes/_detail_overview.html b/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/resource_classes/_detail_overview.html
index bb3eb66f..2c061701 100644
--- a/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/resource_classes/_detail_overview.html
+++ b/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/resource_classes/_detail_overview.html
@@ -47,7 +47,7 @@
</div>
</td>
<td>
- <a href="#" class="modal_chart">{{ capacity.usage|default:_(" - ") }}/{{ capacity.value|default:_(" - ") }} {{ capacity.unit }}</a>
+ <a href="#" data-chart-type="modal_line_chart" data-url="/infrastructure/resource_management/racks/usage_data" data-series="{{ capacity.name }}">{{ capacity.usage|default:_(" - ") }}/{{ capacity.value|default:_(" - ") }} {{ capacity.unit }}</a>
</td>
</tr>
{% endfor %}