All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<h4>{{ action_help }}: {{ slug }}</h4>
|
|
{% include "inventory_filter.html" %}
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Owner</th>
|
|
<th>User</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in items %}
|
|
<tr>
|
|
<td>{{ item | format_name }} {{ item.comment }}</td>
|
|
<td>{% if item.inventory.owner %}<a href="/m/user/{{ item.inventory.owner.username }}">{{ item.inventory.owner.username | display_name }}</a>{% endif %}</td>
|
|
<td>{% if item.inventory.user %}<a href="/m/user/{{ item.inventory.user.username }}">{{ item.inventory.user.username | display_name }}</a>{% endif %}</td>
|
|
<td>
|
|
<form action="/m/inventory/{{item._id}}/{{action_path}}/{{slug}}" method="{{action_method}}">
|
|
<button class="waves-effect waves-light btn" type="submit">{{action_label}}</button>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endblock %}
|