collection_element.htm: Add UI for pinned property

master
Felix Stupp 3 years ago
parent 8100e2efce
commit 60ba3c8919
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -13,6 +13,11 @@
<h2>Properties</h2>
<ul>
{% set api_uri = "/api/collection/" + collection.id|string %}
<li>
Pinned:
{{ collection.pinned | tenary("Yes", "no") }}
{{ macros.post_form(api_uri, "pinned", collection.pinned | tenary("false", "true"), "toggle") }}
</li>
<li>
Watch In Order:
{{ collection.watch_in_order | tenary("Yes", "no") }}

Loading…
Cancel
Save