From c270dbbf2b8110faee90d2c2ee311b4a584d02e1 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Aug 14 2017 17:27:23 +0000 Subject: Only show the widget config button in edit mode --- diff --git a/hubs/widgets/templates/panel.html b/hubs/widgets/templates/panel.html index 6120391..9374f19 100644 --- a/hubs/widgets/templates/panel.html +++ b/hubs/widgets/templates/panel.html @@ -7,7 +7,7 @@ - {% if widget_instance.hub.allows(g.user, "config") %} + {% if edit_mode and widget_instance.hub.allows(g.user, "config") %}