summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaromir Coufal <jcoufal@redhat.com>2013-07-29 06:27:20 +0200
committerTomas Sedovic <tomas@sedovic.cz>2013-08-01 16:18:57 +0200
commitce69072bd58d3bc7555e823f7b0f21fc07bcc4f1 (patch)
tree28a5c7b837fd73a865851c8355ab2e7e4e6dbb67
parent6097ddc89871e44f74669a208c49d90a7e1bb7c3 (diff)
downloadtuskar-ui-ce69072bd58d3bc7555e823f7b0f21fc07bcc4f1.tar.gz
Fixed textual information in Rack detils, added links
Change-Id: I5e18cbbed49ae18f4804f9d3fa57bcca9f396564
-rw-r--r--openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/racks/_detail_overview.html18
1 files changed, 13 insertions, 5 deletions
diff --git a/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/racks/_detail_overview.html b/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/racks/_detail_overview.html
index 8133baed..914847dd 100644
--- a/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/racks/_detail_overview.html
+++ b/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/racks/_detail_overview.html
@@ -40,12 +40,20 @@
<h4>{% trans "Resource Assignment" %}</h4>
<hr class="header_rule">
<dl>
- <dt>{% trans "Region" %}</dt>
- <dd>{{ rack.region|default:_("None") }}</dd>
- <dt>{% trans "Class" %}</dt>
- <dd>{{ rack.resource_class.name|default:_("None") }}</dd>
<dt>{% trans "Nodes" %}</dt>
- <dd>{{ rack.nodes_count|default:_("None") }}</dd>
+ <dd>
+ <a href="{% url 'horizon:infrastructure:resource_management:racks:detail' rack.id %}?tab=rack_detail_tabs__nodes">
+ {{ rack.nodes_count|default:_("None") }}
+ </a>
+ </dd>
+ <dt>{% trans "Class" %}</dt>
+ <dd>
+ <a href="{% url 'horizon:infrastructure:resource_management:resource_classes:detail' rack.resource_class.id %}">
+ {{ rack.resource_class.name|default:_("None") }}
+ </a>
+ </dd>
+ <dt>{% trans "Class Image" %}</dt>
+ <dd>overcloud-compute</dd> {# FIXME It will eventually have to be not-hardcoded later #}
</dl>
</div>
<div class="span4">