52 lines
1,018 B
HTML
52 lines
1,018 B
HTML
|
{#
|
|||
|
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_class.name }}{% endblock %} – Item Class Details – {{ branding }}{% endblock %}
|
|||
|
{% block page_actions %}
|
|||
|
<a class="btn btn-warning" href="/item-class/{{ item_class.id }}/edit">Edit</a>
|
|||
|
{% endblock %}
|
|||
|
{% block main %}
|
|||
|
<table class="table">
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<th>
|
|||
|
UUID
|
|||
|
</th>
|
|||
|
<td>
|
|||
|
{{ item_class.id }}
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<th>
|
|||
|
Name
|
|||
|
</th>
|
|||
|
<td>
|
|||
|
{{ item_class.name }}
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<th>
|
|||
|
Type
|
|||
|
</th>
|
|||
|
<td>
|
|||
|
{{ item_class.type }}
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
{% if let Some(parent) = parent -%}
|
|||
|
<tr>
|
|||
|
<th>
|
|||
|
Parent
|
|||
|
</th>
|
|||
|
<td>
|
|||
|
<a href="/item-class/{{ parent.id }}">{{ parent.name }} ({{ parent.id }})</a>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
{%- endif %}
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
{% endblock %}
|