Add unlisted visibility level
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Slug</th>
|
||||
<th>Public</th>
|
||||
<th>Visibility</th>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>Location</th>
|
||||
@@ -38,7 +38,7 @@
|
||||
<a href="http://k6.ee/{{ item.shortener.slug }}">{{ item.shortener.slug }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{% if item.inventory.public %}<i class="material-icons">check_circle</i>{% else %} {% endif %}</td>
|
||||
<td>{{ item.inventory.visibility }}</td>
|
||||
<td><a href="/m/inventory/{{ item._id }}/view">{{ item | format_name }} {{ item.comment }}</a></td>
|
||||
<td>{{ item.type }}</td>
|
||||
<td>{{ item.location }}</td>
|
||||
|
@@ -97,6 +97,11 @@
|
||||
<td>{{ form.location }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Visibility</td>
|
||||
<td>{{ form.inventory.visibility }}</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -107,13 +112,6 @@
|
||||
</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label>
|
||||
{{ form.inventory.public }}
|
||||
<span>Public, show this inventory item for unauthenticated users</span>
|
||||
</label>
|
||||
</p>
|
||||
|
||||
<h5>Tags</h5>
|
||||
<div class="placeholder-dark chips">
|
||||
<input style="width: auto !important;">
|
||||
|
@@ -125,8 +125,8 @@
|
||||
</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>
|
||||
<td class="tooltip" data-tooltip="Who can see the item">Visibility</td>
|
||||
<td>{{ item.inventory.visibility }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user