diff options
Diffstat (limited to 'openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/resource_classes/_detail_overview.html')
-rw-r--r-- | openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/resource_classes/_detail_overview.html | 18 |
1 files changed, 10 insertions, 8 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 0c8fbb2e..9921ace8 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 @@ -103,15 +103,17 @@ <div data-chart-type="line_chart" data-url="/infrastructure/resource_management/racks/usage_data" data-series="cpu,ram,storage,network"></div> </div> - <div class="span6"> - <h4>{% trans "Virtual Capacity" %}</h4> + <div class="span6 alerts"> + <h4>{% trans "Active Alerts" %}</h4> <hr class="header_rule"> - <dl> - {% for flavor_count in resource_class.list_flavors %} - <dt>{{ flavor_count.flavor.name }}</dt> - <dd>{{ flavor_count.max_vms }}</dd> - {% endfor %} - </dl> + <ul> + {% for rack in resource_class.aggregated_alerts %} + <li> + <i class="icon-warning-sign"></i> + Rack <a href="{% url 'horizon:infrastructure:resource_management:racks:detail' rack.id %}">{{ rack.name }}</a> has some problems + </li> + {% endfor %} + </ul> </div> </div> |