{# 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 %} {% block page_actions %} <a class="btn btn-warning" href="/item/{{ item.id }}/edit">Edit</a> {% endblock %} {% block main %} <table class="table"> <tbody> <tr> <th> UUID </th> <td> {{ item.id }} </td> </tr> <tr> <th> Name </th> <td> {{ item.name }} </td> </tr> <tr> <th> Parent </th> <td> {% if let Some(parent) = item.parent %}{{ parent }}{% else %}-{% endif %} </td> </tr> </tbody> </table> {% endblock %}