Files
solum-dashboard/solumdashboard/templates/applications/_log.html
zhurong dece07dd3c Using horizon time filters to format the time in detail page
Change-Id: Idbeaa0d0a4966388cd7b7f053ba669c0799c8520
2017-02-06 11:15:51 +08:00

38 lines
1.0 KiB
HTML

{% load i18n %}
<h3>{% trans "Application" %}</h3>
<div class="status detail">
<dl class="dl-horizontal">
<h4>{% trans "Log details for " %}: {{ application.name }}</h4>
{% for log in loglist %}
<dl class="well">
<dt>{% trans "Resource UUID" %}</dt>
<dd>{{ log.resource_uuid }}</dd>
<dt>{% trans "Created at" %}</dt>
<dd>{{ log.created_at|parse_isotime }}</dd>
{% if log.local_storage %}
<dt>{% trans "Local Storage" %}</dt>
<dd>{{ log.local_storage }}</dd>
{% elif log.swift_container %}
<dt>{% trans "Swift Container" %}</dt>
<dd>{{ log.swift_container }}</dd>
<dt>{% trans "Swift Path" %}</dt>
<dd>{{ log.swift_path }}</dd>
{% else %}
<dt>{% trans "Location" %}</dt>
<dd>{{ log.location }}</dd>
{% endif %}
</dl>
{% empty %}
<dd>None</dd>
{% endfor %}
</dl>
</div>