From 308784c6019032795ecdb6936f011400a154c92c Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Mon, 8 Jun 2020 21:56:40 +0200 Subject: [PATCH] Hide listen button if user has no read/listen permissions --- cps/templates/detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/templates/detail.html b/cps/templates/detail.html index 6edf1677..a87695eb 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -66,7 +66,7 @@ {% endif %} - {% if audioentries|length > 0 %} + {% if audioentries|length > 0 and g.user.role_viewer() %}