summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod/templates/actionlog-log.html
blob: 8aa572070d7510be72ce6162958280832fdbddd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<table style="table-layout: fixed; width: 100%" class="table table-striped table-bordered stupidtable">
	<thead>
		<tr>
			<th class="text-nowrap" data-sort="int">{{lang_when}}</th>
			{{#showActor}}
			<th class="text-nowrap" data-sort="string">{{lang_user}}</th>
			{{/showActor}}
			{{#showTarget}}
			<th class="text-nowrap" data-sort="string">{{lang_actionTarget}}</th>
			{{/showTarget}}
			<th class="text-nowrap" data-sort="string">{{lang_event}}</th>
		</tr>
	</thead>
	<tbody>
		{{#events}}
		<tr>
			<td class="text-nowrap" data-sort-value="{{dateline}}">{{dateline_s}}</td>
			{{#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}}
				{{/uuserid}}
				{{^uuserid}}
				{{lang_system}}
				{{/uuserid}}
			</td>
			{{/showActor}}
			{{#showTarget}}
			<td style="word-wrap: break-word">
				{{#targeturl}}
				{{#allowedShowTarget}}<a href="{{targeturl}}">{{/allowedShowTarget}}{{targetname}}{{#allowedShowTarget}}</a>{{/allowedShowTarget}}
				{{/targeturl}}
				{{^targeturl}}
				{{targetname}}
				{{^targetname}}
				<span class="small">{{targetid}}</span>
				{{/targetname}}
				{{/targeturl}}
			</td>
			{{/showTarget}}
			<td style="word-wrap: break-word">{{description}}</td>
		</tr>
		{{/events}}
	</tbody>
</table>