{{define "log-comic-page"}} {{range .ComicPages}}
| {{if .Diff}} {{if ne .Post.ID .Diff.Post.ID}} {{template "thumbnail" wrap2 "Post" "UserInfo" .Diff.Post $.UserInfo}} V {{end}} {{end}} {{template "thumbnail" wrap2 "Post" "UserInfo" .Post $.UserInfo}} | |
|---|---|
| {{.Action}} | |
| Page ID | {{.ID}} |
| Chapter ID | {{if and .Diff (ne .ChapterID .Diff.ChapterID) -}} {{.Diff.ChapterID}} -> {{.ChapterID}} {{else}} {{.ChapterID}} {{end}} |
| Page | {{if and .Diff (ne .Page .Diff.Page)}} {{.Diff.Page}} -> {{.Page}} {{else}} {{.Page}} {{end}} |