li7y/templates/item_details.html

42 lines
813 B
HTML
Raw Normal View History

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>
<td>
{{ item.id }}
</td>
</tr>
<tr>
<th>
Name
</th>
<td>
{{ item.name }}
</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 %}