From 44139e2ebb2640b0fd802f0a638b58e1210ef040 Mon Sep 17 00:00:00 2001 From: theBlade Date: Fri, 14 Nov 2014 09:33:44 -0500 Subject: [PATCH 1/2] Adds an extra button for global admins to edit board settings. --- templates/mod/dashboard.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html index fe6c6a3e..b292463b 100644 --- a/templates/mod/dashboard.html +++ b/templates/mod/dashboard.html @@ -128,6 +128,9 @@ {% if mod|hasPermission(config.mod.manageboards) %} [{% trans 'edit' %}] {% endif %} + {% if mod|hasPermission(config.mod.manageboards) %} + [{% trans 'settings' %}] + {% endif %} {% endif %} {% endfor %} From 6d939df2d67f0c20a8a6a1006ce1c79eb3811127 Mon Sep 17 00:00:00 2001 From: theBlade Date: Fri, 14 Nov 2014 09:49:35 -0500 Subject: [PATCH 2/2] Remove extra code --- templates/mod/dashboard.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html index b292463b..5481f49b 100644 --- a/templates/mod/dashboard.html +++ b/templates/mod/dashboard.html @@ -127,8 +127,6 @@ {% endif %} {% if mod|hasPermission(config.mod.manageboards) %} [{% trans 'edit' %}] - {% endif %} - {% if mod|hasPermission(config.mod.manageboards) %} [{% trans 'settings' %}] {% endif %}