From bf6d65f55eacde61e996b3b08994ddc6e66e0424 Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Wed, 28 Mar 2018 14:30:22 +0200
Subject: [dozmod] Simplify permissions, don't link user in userlist if
actionlog is inaccessible
Closes #3332
---
modules-available/dozmod/templates/actionlog-log.html | 6 ++++--
modules-available/dozmod/templates/userlist.html | 6 +++++-
2 files changed, 9 insertions(+), 3 deletions(-)
(limited to 'modules-available/dozmod/templates')
diff --git a/modules-available/dozmod/templates/actionlog-log.html b/modules-available/dozmod/templates/actionlog-log.html
index 8aa57207..7caa3d34 100644
--- a/modules-available/dozmod/templates/actionlog-log.html
+++ b/modules-available/dozmod/templates/actionlog-log.html
@@ -18,7 +18,9 @@
{{#showActor}}
{{#uuserid}}
- {{#allowedShowUser}}{{/allowedShowUser}} {{ulastname}}, {{ufirstname}}{{#allowedShowUser}}{{/allowedShowUser}}
+
+ {{ulastname}}, {{ufirstname}}
+
{{/uuserid}}
{{^uuserid}}
{{lang_system}}
@@ -28,7 +30,7 @@
{{#showTarget}}
|
{{#targeturl}}
- {{#allowedShowTarget}}{{/allowedShowTarget}}{{targetname}}{{#allowedShowTarget}}{{/allowedShowTarget}}
+ {{targetname}}
{{/targeturl}}
{{^targeturl}}
{{targetname}}
diff --git a/modules-available/dozmod/templates/userlist.html b/modules-available/dozmod/templates/userlist.html
index b8080b44..3b919099 100644
--- a/modules-available/dozmod/templates/userlist.html
+++ b/modules-available/dozmod/templates/userlist.html
@@ -22,7 +22,11 @@
|
{{#users}}
- {{lastname}}, {{firstname}} |
+
+ <{{nameTag}} href="?do=dozmod§ion=actionlog&action=showuser&uuid={{userid}}">
+ {{lastname}}, {{firstname}}
+ {{nameTag}}>
+ |
{{orgname}} |
{{lastlogin}} |
{{email}} |
--
cgit v1.2.3-55-g7522