Merge "template to rely on the the "id" attribute" into stable/icehouse

This commit is contained in:
Jenkins 2014-09-27 19:49:15 +00:00 committed by Gerrit Code Review
commit dd4db98fe2
1 changed files with 2 additions and 2 deletions

View File

@ -119,11 +119,11 @@
{% for volume in instance.volumes %}
<dt>{% trans "Attached To" %}</dt>
<dd>
<a href="{% url 'horizon:project:volumes:volumes:detail' volume.volumeId %}">
<a href="{% url 'horizon:project:volumes:volumes:detail' volume.id %}">
{% if volume.name %}
{{ volume.name }}
{% else %}
{{ volume.volumeId }}
{{ volume.id }}
{% endif %}
</a>
<span> {% trans "on" %} {{ volume.device }}</span>