Merge "show correct link to compute instances in stack resource overview tab"

This commit is contained in:
Jenkins 2014-10-07 08:47:08 +00:00 committed by Gerrit Code Review
commit 05b853dd21
2 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,8 @@ resource_urls = {
'link': 'horizon:project:networks:detail'},
"AWS::S3::Bucket": {
'link': 'horizon:project:containers:index'},
"OS::Nova::Server": {
'link': 'horizon:project:instances:detail'},
"OS::Quantum::Net": {
'link': 'horizon:project:networks:detail'},
"OS::Quantum::Port": {

View File

@ -12,9 +12,13 @@
<dl>
<dt>{% trans "Resource ID" %}</dt>
<dd>
{% if resource_url %}
<a href="{{ resource_url }}">
{{ resource.physical_resource_id }}
</a>
{% else %}
{{ resource.physical_resource_id }}
{% endif %}
</dd>
</dl>
<dl>