-
Notifications
You must be signed in to change notification settings - Fork 18
/
oplog.html
34 lines (33 loc) · 911 Bytes
/
oplog.html
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
<template name="oplog">
<div class="row-fluid bb-puzzleround">
{{#if prevTimestamp}}
<p align="center">
<a href="{{prevTimestamp}}" class="oplogs-link">See earlier logs</a>
</p>
{{else if timestamp}}
<p align="center">Start of operation log.</p>
{{/if}}
{{#each oplogs}}
<div class="bb-oplog">
<span class="timestamp">{{pretty_ts this.timestamp}}</span>
{{body}} {{prettyType}}
{{link id}}
{{#if nick}} (<strong title="{{nickOrName nick}}">{{nick}}</strong>){{/if}}
</div>
{{else}}
<p align="center">
No operation logs{{#if timestamp}} before {{pretty_ts timestamp}}{{/if}}.
</p>
{{/each}}
<p align="center">
{{#if timestamp}}
{{#if nextTimestamp}}
<a href="{{nextTimestamp}}" class="oplogs-link">See next page of logs</a>;
{{/if}}
<a href="/oplogs/0" class="oplogs-link">See most recent logs</a>
{{else}}
End of log.
{{/if}}
</p>
</div>
</template>