mirror of https://gitgud.io/fatchan/jschan.git
merge-requests/208/head
parent
13c003a382
commit
de46064256
2 changed files with 8 additions and 4 deletions
@ -1,7 +1,11 @@ |
|||||||
mixin report(r) |
mixin report(r, globalmanage=false) |
||||||
.reports.post-container |
.reports.post-container |
||||||
input.post-check(type='checkbox', name='checkedreports' value=r.id) |
input.post-check(type='checkbox', name='checkedreports' value=r.id) |
||||||
| Date: |
| |
||||||
|
if globalmanage |
||||||
|
- ipHashSub = r.ip.slice(-10); |
||||||
|
a.bold(href=`?rip=${encodeURIComponent(ipHashSub)}`) #{ipHashSub} |
||||||
|
| |
||||||
- const reportDate = new Date(r.date); |
- const reportDate = new Date(r.date); |
||||||
time.reltime(datetime=reportDate.toISOString()) #{reportDate.toLocaleString(undefined, { hour12:false })} |
time.reltime(datetime=reportDate.toISOString()) #{reportDate.toLocaleString(undefined, { hour12:false })} |
||||||
| Reason: #{r.reason} |
| | Reason: #{r.reason} |
||||||
|
Loading…
Reference in new issue