{{define "layout"}}
{{with field $ "Desc"}}{{.}}{{end}} {{with field $ "Topics"}}{{range .}}{{.}} {{end}}{{end}}
{{end}} {{if or $.Repo.Settings.Website (field $ "Mirrors")}}{{end}} {{if $.Viewer}}Pinned shows on your dashboard. Watching sends every issue, request and build to your inbox. Bookmarked lists it under Bookmarks.
{{end}} {{end}}{{.OwnerName}}/{{.Name}}{{if eq .Visibility "private"}} Private{{end}}{{if .Archived}} Archived{{end}}
{{if .Desc}}{{.Desc}}
{{end}} {{if .Topics}}{{range .Topics}}{{.}} {{end}}
{{end}}{{end}} {{/* previewbtn is the Preview submit beside a markup form's own submit. It posts the form to its usual action, which renders the body and hands the page back instead of writing (#235). */}} {{define "previewbtn"}}{{end}} {{/* previewblock shows a draft as it will read. The argument is the rendered HTML; it sits above the textarea it came from. */}} {{define "previewblock"}}
Preview
Binary file not shown.
{{else}}| {{.Text}} | ||
| {{.Text}} | ||
| {{if .OldLine}}{{if eq .Class "del"}}{{template "cmtln" dict "N" .OldLine "Path" .Path "Side" "old" "Base" $base "Viewer" $viewer}}{{else}}{{.OldLine}}{{end}}{{end}} | {{if .NewLine}}{{template "cmtln" dict "N" .NewLine "Path" .Path "Side" "new" "Base" $base "Viewer" $viewer}}{{end}} | {{if .Code}}{{.Code}}{{else}}{{.Content}}{{end}} |
| {{template "thread" dict "T" . "Base" $base "Viewer" $viewer "Class" ""}} | ||
pending — only you can see this until you submit your review
{{end}} {{if or $t.Resolved (and .Class $t.Stale)}}{{if and .Class $t.Stale}}stale{{end}}{{if $t.Resolved}}{{if and .Class $t.Stale}} · {{end}}resolved by {{$t.Resolved}}{{end}}
{{end}} {{range $t.Comments}}{{.Author}} {{when .CreatedAt}}