From a7165813374895a9d6992b9bc93d0369d4b8cd68 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 28 Aug 2022 14:07:40 +0200 Subject: [PATCH] macros:media_element_buttons: Use icons replacing text --- server/templates/macros.htm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/templates/macros.htm b/server/templates/macros.htm index 846b8a0..327ba4b 100644 --- a/server/templates/macros.htm +++ b/server/templates/macros.htm @@ -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 %}