diff --git a/templates/manage_ipsearch.html b/templates/manage_ipsearch.html index 90e0720a..34852302 100644 --- a/templates/manage_ipsearch.html +++ b/templates/manage_ipsearch.html @@ -39,7 +39,7 @@ {{- if ne .Email ""}}{{end -}} {{- if ne .Tripcode ""}}!{{.Tripcode}}{{end}} {{formatTimestamp .Timestamp}} - No. {{.ID}}
+ No. {{.ID}}
{{- if eq .Filename "deleted" -}}
File removed
{{- else if ne .Filename "" -}} diff --git a/templates/post.html b/templates/post.html index 0ff929f0..eb99a10c 100644 --- a/templates/post.html +++ b/templates/post.html @@ -14,19 +14,19 @@ {{- end -}} {{- if ne .post.Email ""}}{{end}} {{- if ne .post.Tripcode ""}}!{{.post.Tripcode}}{{end}} {{formatTimestamp .post.Timestamp -}} -No. {{.post.ID}} +No. {{.post.ID}} {{if $.is_board_page}} [View] {{end}}
{{- end -}} -{{- if isOP $.post -}} +{{- if $.post.IsTopPost -}}
{{- else -}}
{{- end -}} -{{if not (isOP $.post)}}{{template "nameline" .}}{{end -}} +{{if not $.post.IsTopPost}}{{template "nameline" .}}{{end -}} {{- if eq $.post.Filename "deleted" -}}
File removed
@@ -34,7 +34,7 @@ {{- template "uploadinfo" . -}} {{$.global.webroot}}{{$.board.Dir}}/src/{{.post.Filename}} {{- end -}} -{{- if isOP $.post}}{{template "nameline" .}}{{end -}} +{{- if $.post.IsTopPost}}{{template "nameline" .}}{{end -}}
{{.post.MessageHTML}}
-
{{if not (isOP $.post)}} -{{if not (isOP $.post)}}
{{end}}{{end}} +
{{if not $.post.IsTopPost}} +{{if not $.post.IsTopPost}}{{end}}{{end}}