From 37e88c23cb9041fbe8fde5e4499236e58157cf5f Mon Sep 17 00:00:00 2001 From: jr-k Date: Mon, 3 Jun 2024 01:24:34 +0200 Subject: [PATCH] hide default node player group action buttons --- .../fleet/player-group/component/table.jinja.html | 14 ++++++++------ views/playlist/component/table.jinja.html | 12 ++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/views/fleet/player-group/component/table.jinja.html b/views/fleet/player-group/component/table.jinja.html index a3c2e7e..574e759 100644 --- a/views/fleet/player-group/component/table.jinja.html +++ b/views/fleet/player-group/component/table.jinja.html @@ -57,12 +57,14 @@ {% endif %} - - - - - - + {% if node_player_group.playlist_id and playlists[node_player_group.playlist_id] %} + + + + + + + {% endif %} {% endfor %} diff --git a/views/playlist/component/table.jinja.html b/views/playlist/component/table.jinja.html index 507d880..24b5b17 100644 --- a/views/playlist/component/table.jinja.html +++ b/views/playlist/component/table.jinja.html @@ -72,12 +72,12 @@ {% if playlist.id %} - - - - - - + + + + + + {% endif %}