2024-07-03 14:19:58 +02:00
|
|
|
|
{#
|
|
|
|
|
SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
|
|
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
#}
|
|
|
|
|
|
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
{% block title %}{% block page_title %}{{ item.name }}{% endblock %} – Item Details – {{ branding }}{% endblock %}
|
2024-07-03 18:47:29 +02:00
|
|
|
|
{% block page_actions %}
|
|
|
|
|
<a class="btn btn-warning" href="/item/{{ item.id }}/edit">Edit</a>
|
|
|
|
|
{% endblock %}
|
2024-07-03 14:19:58 +02:00
|
|
|
|
{% block main %}
|
|
|
|
|
<table class="table">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
UUID
|
|
|
|
|
</th>
|
2024-07-08 20:44:17 +02:00
|
|
|
|
<td>{{ item.id }}</td>
|
2024-07-03 14:19:58 +02:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
Name
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
{{ item.name }}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2024-07-07 13:48:31 +02:00
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
Class
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="/item-class/{{ item.class }}">{{ item_class.name }}</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2024-07-05 12:38:45 +02:00
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
Parent
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
{% if let Some(parent) = item.parent %}{{ parent }}{% else %}-{% endif %}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2024-07-03 14:19:58 +02:00
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
{% endblock %}
|