41 lines
1.5 KiB
HTML
41 lines
1.5 KiB
HTML
{% load i18n sizeformat %}
|
|
{% load url from future %}
|
|
|
|
<h3>{% trans "Security report" %}</h3>
|
|
|
|
<div class="status row-fluid detail">
|
|
<h4>{% trans "Overview" %}</h4>
|
|
<hr class="header_rule">
|
|
<dl>
|
|
<dt>{% trans "ID" %}</dt>
|
|
<dd>{{ security_report.id }}</dd>
|
|
<dt>{% trans "Title" %}</dt>
|
|
<dd>{{ security_report.title }}</dd>
|
|
<dt>{% trans "Description" %}</dt>
|
|
<dd>{{ security_report.description }}</dd>
|
|
<dt>{% trans "Component type" %}</dt>
|
|
<dd>{{ security_report.component_type }}</dd>
|
|
{% if security_report.component_type == 'instance' %}
|
|
{% url 'horizon:project:instances:detail' security_report.component_id as component_url %}
|
|
{% endif %}
|
|
<dt>{% trans "Component id" %}</dt>
|
|
<dd>
|
|
{% if security_report.component_type == 'instance' %}
|
|
<a href="{{ component_url }}">{{ security_report.component_id }}</a>
|
|
{% else %}
|
|
{{ security_report.component_id }}
|
|
{% endif %}
|
|
|
|
</dd>
|
|
<dt>{% trans "Security rating" %}</dt>
|
|
<dd>{{ security_report.security_rating }}</dd>
|
|
<dt>{% trans "Plugin" %}</dt>
|
|
<dd><a href="{% url 'horizon:security:plugins:details' security_report.plugin_id %}">
|
|
{{ security_report.plugin_id }}</a></dd>
|
|
<dt>{% trans "Associated ticket" %}</dt>
|
|
{% if security_report.ticket_id != None %}
|
|
<dd><a href="{% url 'horizon:helpdesk:tickets:details' security_report.ticket_id %}">
|
|
{{ security_report.ticket_id }}</a></dd>
|
|
{% endif %}
|
|
</dl>
|
|
</div> |