summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod/templates
diff options
context:
space:
mode:
authorSimon Rettberg2018-03-28 14:30:22 +0200
committerSimon Rettberg2018-03-28 14:30:22 +0200
commitbf6d65f55eacde61e996b3b08994ddc6e66e0424 (patch)
tree24d24b4fd4daff94744d854cc6c1d9baee8c0a23 /modules-available/dozmod/templates
parent[dozmod] Hide expired image hint on main page if no permission (diff)
downloadslx-admin-bf6d65f55eacde61e996b3b08994ddc6e66e0424.tar.gz
slx-admin-bf6d65f55eacde61e996b3b08994ddc6e66e0424.tar.xz
slx-admin-bf6d65f55eacde61e996b3b08994ddc6e66e0424.zip
[dozmod] Simplify permissions, don't link user in userlist if actionlog is inaccessible
Closes #3332
Diffstat (limited to 'modules-available/dozmod/templates')
-rw-r--r--modules-available/dozmod/templates/actionlog-log.html6
-rw-r--r--modules-available/dozmod/templates/userlist.html6
2 files changed, 9 insertions, 3 deletions
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}}
<td style="min-width:140px">
{{#uuserid}}
- {{#allowedShowUser}}<a href="?do=dozmod&amp;section=actionlog&amp;action=showuser&amp;uuid={{uuserid}}">{{/allowedShowUser}} {{ulastname}}, {{ufirstname}}{{#allowedShowUser}}</a>{{/allowedShowUser}}
+ <a href="?do=dozmod&amp;section=actionlog&amp;action=showuser&amp;uuid={{uuserid}}">
+ {{ulastname}}, {{ufirstname}}
+ </a>
{{/uuserid}}
{{^uuserid}}
{{lang_system}}
@@ -28,7 +30,7 @@
{{#showTarget}}
<td style="word-wrap: break-word">
{{#targeturl}}
- {{#allowedShowTarget}}<a href="{{targeturl}}">{{/allowedShowTarget}}{{targetname}}{{#allowedShowTarget}}</a>{{/allowedShowTarget}}
+ <a href="{{targeturl}}">{{targetname}}</a>
{{/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 @@
<tbody>
{{#users}}
<tr>
- <td class="text-left text-nowrap"><a href="?do=dozmod&amp;section=actionlog&amp;action=showuser&amp;uuid={{userid}}">{{lastname}}, {{firstname}}</a></td>
+ <td class="text-left text-nowrap">
+ <{{nameTag}} href="?do=dozmod&amp;section=actionlog&amp;action=showuser&amp;uuid={{userid}}">
+ {{lastname}}, {{firstname}}
+ </{{nameTag}}>
+ </td>
<td class="text-left text-nowrap">{{orgname}}</td>
<td class="text-left text-nowrap">{{lastlogin}}</td>
<td class="text-left text-nowrap"><a href="mailto:{{email}}">{{email}}</a></td>