From 666b7b56443748d498d886c97e40503e75fbb412 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Tue, 18 Apr 2017 09:58:55 +0800 Subject: [PATCH] MDL-58574 templates: remove unnecessary imageurl check --- lib/templates/permissionmanager_role.mustache | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/templates/permissionmanager_role.mustache b/lib/templates/permissionmanager_role.mustache index d6314dfd160..d2a1652dc38 100644 --- a/lib/templates/permissionmanager_role.mustache +++ b/lib/templates/permissionmanager_role.mustache @@ -41,15 +41,12 @@ "action": "prevent", "spanclass": "allowed", "linkclass": "preventlink", - "adminurl" : "http://localhost/moodle/admin/", - "imageurl": "http://localhost/moodle/theme/image.php?theme=base&component=core&image=t%2Fdelete"} + "adminurl" : "http://localhost/moodle/admin/"} }}  {{rolename}}  - {{#imageurl}} - - {{#icon}} - {{#pix}}{{icon}}, 'core', {{iconalt}}{{/pix}} - {{/icon}} - - {{/imageurl}} + + {{#icon}} + {{#pix}}{{icon}}, core, {{iconalt}}{{/pix}} + {{/icon}} +