From d615bafd1f73b2b5ddbb4ed54037f7cc72f24990 Mon Sep 17 00:00:00 2001 From: Kamil Date: Wed, 11 Dec 2024 14:15:40 +0000 Subject: [PATCH] feat: add admin functionality to dynamically load and manage users for playlist addition --- templates/partials/_add_remove_button.html | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/templates/partials/_add_remove_button.html b/templates/partials/_add_remove_button.html index 056f4ea..463167e 100644 --- a/templates/partials/_add_remove_button.html +++ b/templates/partials/_add_remove_button.html @@ -1,9 +1,88 @@ {% if item.can_add %} + + +{% if session['is_admin'] %} + + + + + +{%else%} +{% endif %} + {% elif item.can_remove %}