Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixes bug 897078 Change-Id: I20d8567ecac232b67f2f90f57edbad8d65eb493c
- Loading branch information
1 parent
8676439
commit eceeadb
Showing
6 changed files
with
102 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
horizon/dashboards/nova/templates/nova/images_and_snapshots/images/detail.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{% extends 'nova/base.html' %} | ||
{% load i18n sizeformat %} | ||
{% block title %}{% trans "Image Detail "%}{% endblock %} | ||
|
||
{% block page_header %} | ||
{% include "horizon/common/_page_header.html" with title="Image Detail: "|add:image.name %} | ||
{% endblock page_header %} | ||
|
||
{% block dash_main %} | ||
<ul class="item_detail dash_block"> | ||
<li class="status detail_section"> | ||
<h3>{% trans "Status" %}</h3> | ||
<ul> | ||
<li><label>{% trans "Image ID:" %}</label>{{ image.id|default:"None" }}</li> | ||
<li><label>{% trans "Image Status:" %}</label> {{ image.status|default:"None" }}</li> | ||
<li><label>{% trans "Image Name:" %}</label> {{ image.name|default:"None" }}</li> | ||
<li><label>{% trans "Public:" %}</label> {{ image.is_public }}</li> | ||
<li><label>{% trans "Checksum:" %}</label> {{ image.checksum|default:"None" }}</li> | ||
<li><label>{% trans "Created At:" %}</label> {{ image.created_at|default:"None" }}</li> | ||
<li><label>{% trans "Last Updated At:" %}</label> {{ image.updated_app|default:"None" }}</li> | ||
</ul> | ||
</li> | ||
<li class="specs detail_section"> | ||
<h3>{% trans "Specs" %}</h3> | ||
<ul> | ||
<li><label>{% trans "Size:" %}</label> {{ image.size|filesizeformat }}</li> | ||
<li><label>{% trans "Container Format:" %}</label> {{ image.container_format|default:"None" }}</li> | ||
<li><label>{% trans "Disk Format:" %}</label> {{ image.disk_format|default:"None" }}</li> | ||
</ul> | ||
</li> | ||
<li class="custom_properties detail_section"> | ||
<h3>{% trans "Custom Properties" %}</h3> | ||
<ul> | ||
{% if image.properties.architecture %} | ||
<li><label>{% trans "Architecture:" %}</label> {{ image.properties.architecture }}</li> | ||
{% endif %} | ||
{% if image.properties.kernel_id %} | ||
<li><label>{% trans "Kernel ID:" %}</label> {{ image.properties.kernel_id }}</li> | ||
{% endif %} | ||
{% if image.properties.ramdisk_id %} | ||
<li><label>{% trans "Ramdisk ID:" %}</label> {{ image.properties.ramdisk_id }}</li> | ||
{% endif %} | ||
{% if image.properties.image_state %} | ||
<li><label>{% trans "Euca2ools state:" %}</label> {{ image.properties.image_state }}</li> | ||
{% endif %} | ||
{% if image.properties.project_id %} | ||
<li><label>{% trans "Project ID:" %}</label> {{ image.properties.project_id }}</li> | ||
{% endif %} | ||
{% if image.properties.image_type %} | ||
<li><label>{% trans "Image Type:" %}</label> {{ image.properties.image_type }}</li> | ||
{% endif %} | ||
</ul> | ||
</li> | ||
</ul> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters