Merge "show correct link to compute instances in stack resource overview tab"
This commit is contained in:
commit
05b853dd21
|
@ -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": {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue