Files
jiang13-forum/templates/post/revision_detail.tmpl
freefire f10ba99012 feat: SSR 帖子修订历史列表与快照
作者与管理员可查看编辑前版本,帖详情增加修订入口。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 22:28:04 +08:00

20 lines
679 B
Cheetah

{{define "post/revision_detail"}}
{{template "base/head" .}}
{{template "base/navbar" .}}
<main class="j13-main j13-main--solo">
<p class="j13-muted">
<a href="/post/{{.PostID}}/revisions">← 修订列表</a>
· <a href="/post/{{.PostID}}">当前帖子</a>
</p>
<h1>修订 #{{.RevID}}</h1>
<p class="j13-muted">{{.EditorName}} · {{.CreatedLabel}}</p>
{{template "base/alert" .}}
<article class="j13-post j13-rev-snapshot">
<h2 class="j13-post__title">{{.Title}}</h2>
{{if .Tags}}<p class="j13-muted">标签:{{.Tags}}</p>{{end}}
<div class="j13-post__body">{{safeHTML .BodyHTML}}</div>
</article>
</main>
{{template "base/footer" .}}
{{end}}