Add location field
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-12-24 02:19:01 +02:00
parent 832febd4f2
commit efe1be9056
4 changed files with 14 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
<th>Public</th>
<th>Name</th>
<th>Type</th>
<th>Location</th>
<th>Owner</th>
<th>User</th>
{% if can_audit %}
@@ -40,6 +41,7 @@
<td>{% if item.inventory.public %}<i class="material-icons">check_circle</i>{% else %}&nbsp;{% endif %}</td>
<td><a href="/m/inventory/{{ item._id }}/view">{{ item | format_name }} {{ item.comment }}</a></td>
<td>{{ item.type }}</td>
<td>{{ item.location }}</td>
<td>{{ item | owner_link}}</td>
<td>{{ item | user_link}}</td>
{% if can_audit %}

View File

@@ -92,6 +92,11 @@
<td>{{ form.shortener.slug }}</td>
</tr>
<tr>
<td>Location</td>
<td>{{ form.location }}</td>
</tr>
</tbody>
</table>

View File

@@ -119,6 +119,11 @@
<td><a href="{{ item.external_link }}">External link</a></td>
</tr>
<tr>
<td>Location</td>
<td>{{ item.location }}</td>
</tr>
<tr>
<td class="tooltip" data-tooltip="Unauthenticated user can see this in public list">Public</td>
<td>{% if item.inventory.public %}<i class="material-icons">check_circle</i>{% endif %}</td>