macros:media_element_buttons: Use icons replacing text

master
Felix Stupp 2 years ago
parent 2053cda5e1
commit a716581337
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -124,12 +124,12 @@
{% set fragment = ("media_element_" + element.id|string) if show_fragment else None %}
{{ as_play_link(element) }}
{% if element.watched %}
{{ post_form(api_uri, "watched", "false", "Unmark as Watched", fragment) }}
{{ post_form(api_uri, "watched", "false", "Unmark ✅"|safe, fragment) }}
{% elif element.ignored %}
{{ post_form(api_uri, "ignored", "false", "Unmark as Ignored", fragment) }}
{{ post_form(api_uri, "ignored", "false", "Unmark ❎"|safe, fragment) }}
{% else %}
{{ post_form(api_uri, "watched", "true", "Watched", fragment) }}
{{ post_form(api_uri, "ignored", "true", "Ignore", fragment) }}
{{ post_form(api_uri, "watched", "true", "✅"|safe, fragment) }}
{{ post_form(api_uri, "ignored", "true", "❎"|safe, fragment) }}
{% endif %}
{% endmacro %}

Loading…
Cancel
Save