81 lines
2.6 KiB
HTML
81 lines
2.6 KiB
HTML
{% extends 'generic/object.html' %}
|
|
{% load buttons %}
|
|
{% load static %}
|
|
{% load helpers %}
|
|
{% load plugins %}
|
|
|
|
{% block content %}
|
|
<div class="row my-3">
|
|
<div class="col col-md-6">
|
|
<div class="card">
|
|
<h5 class="card-header">
|
|
Software License
|
|
</h5>
|
|
<table class="table table-hover attr-table">
|
|
<tr>
|
|
<th scope="row">Name</th>
|
|
<td>{{ object.name }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Description</th>
|
|
<td>{{ object.description }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Type</th>
|
|
<td>{{ object.type }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">SPDX expression</th>
|
|
<td>{{ object.spdx_expression }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Software Product</th>
|
|
<td>{{ object.software_product|linkify }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Version</th>
|
|
<td>{{ object.version|linkify }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Installation</th>
|
|
<td>{{ object.installation|linkify }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Stored location</th>
|
|
{% if object.stored_location_url %}
|
|
<td><a href="{{ object.stored_location_url }}">{{ object.stored_location_txt }}</a></td>
|
|
{% else %}
|
|
<td>{{ object.stored_location_txt }}</td>
|
|
{% endif %}
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Start date</th>
|
|
<td>{{ object.start_date }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Expiration date</th>
|
|
<td>{{ object.expiration_date }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Support</th>
|
|
<td>{{ object.support }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">License amount</th>
|
|
<td>{{ object.license_amount }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
{% include 'inc/panels/custom_fields.html' %}
|
|
{% include 'inc/panels/tags.html' %}
|
|
{% include 'inc/panels/comments.html' %}
|
|
{% plugin_left_page object %}
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col col-md-12">
|
|
{% plugin_full_width_page object %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|