Do not show UUID in listing

This commit is contained in:
Simon Bruder 2024-07-08 20:42:56 +02:00
parent af2ce1e9b1
commit 88685bf54b
Signed by: simon
GPG key ID: 347FF8699CDA0776
2 changed files with 2 additions and 6 deletions

View file

@ -13,7 +13,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th>UUID</th>
<th>Name</th> <th>Name</th>
<th>Type</th> <th>Type</th>
</tr> </tr>
@ -21,8 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<tbody> <tbody>
{% for item_class in item_classes -%} {% for item_class in item_classes -%}
<tr> <tr>
<td><a href="/item-class/{{ item_class.id }}">{{ item_class.id }}</a></td> <td><a href="/item-class/{{ item_class.id }}">{{ item_class.name }}</a></td>
<td>{{ item_class.name }}</td>
<td>{{ item_class.type }}</td> <td>{{ item_class.type }}</td>
</tr> </tr>
{% endfor -%} {% endfor -%}

View file

@ -13,7 +13,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th>UUID</th>
<th>Name</th> <th>Name</th>
<th>Class</th> <th>Class</th>
</tr> </tr>
@ -22,8 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{% for item in items -%} {% for item in items -%}
{% let class = item_classes.get(item.class).unwrap() %} {% let class = item_classes.get(item.class).unwrap() %}
<tr> <tr>
<td><a href="/item/{{ item.id }}">{{ item.id }}</a></td> <td><a href="/item/{{ item.id }}">{{ item.name }}</a></td>
<td>{{ item.name }}</td>
<td><a href="/item-class/{{ class.id }}">{{ class.name }}</a></td> <td><a href="/item-class/{{ class.id }}">{{ class.name }}</a></td>
</tr> </tr>
{% endfor -%} {% endfor -%}