jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

41 lines
1.1 KiB

extends ../layout.pug
include ../mixins/boardheader.pug
include ../mixins/boardnav.pug
include ../mixins/postlink.pug
block head
title /#{board._id}/ - #{__('Logs for %s', startDate.toDateString())}
block content
+boardheader(__('Logs'))
br
include ../includes/stickynav.pug
.pages
+boardnav('logs', true, true)
hr(size=1)
.table-container.flex-center.mv-10.text-center
table
tr
th #{__('Date')}
th #{__('User')}
th #{__('Actions')}
th #{__('Posts')}
th #{__('Log Message')}
for log in logs
tr
- const logDate = new Date(log.date);
td: time.reltime(datetime=logDate.toISOString()) #{logDate.toLocaleString(pageLanguage, {hourCycle:'h23'})}
- const logUser = log.user || __('Unregistered User');
td(class=(!log.showUser ? 'em' : '')) #{log.showUser ? logUser : __('Hidden User')}
td #{log.actions.map(a => __(a))}
td
if log.showLinks
for postLink in log.postLinks
+postlink(log, postLink, false)
|
else
| #{log.postLinks.map(l => l.postId)}
td #{log.message || '-'}
hr(size=1)
.pages
+boardnav('logs', true, true)