From 03d4de7aad5baa49f42d1e61c7f86409ad29881d Mon Sep 17 00:00:00 2001 From: Andrew Bramley Date: Mon, 14 Jul 2014 16:22:43 -0400 Subject: [PATCH] Improve display of flavor information for trove Trove database instances display size / flavor information in the details view different to how it is display for a nova instance. Rearranged the details view to have a 'Specs' section that contains Flavor, RAM and Volume Size information Change-Id: I45b5a78dc80902fa1ef6174ea534ebb06d5c01e3 Closes-Bug: #1340913 --- .../databases/templates/databases/_detail_overview.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/openstack_dashboard/dashboards/project/databases/templates/databases/_detail_overview.html b/openstack_dashboard/dashboards/project/databases/templates/databases/_detail_overview.html index 719e55be62..7cfa24ad65 100644 --- a/openstack_dashboard/dashboards/project/databases/templates/databases/_detail_overview.html +++ b/openstack_dashboard/dashboards/project/databases/templates/databases/_detail_overview.html @@ -12,6 +12,15 @@
{{ instance.id }}
{% trans "Status" %}
{{ instance.status|title }}
+ + + +
+

{% trans "Specs" %}

+
+
+
{% trans "Flavor" %}
+
{{ instance.full_flavor.name }}
{% trans "RAM" %}
{{ instance.full_flavor.ram|mbformat }}
{% if instance.volume %}