dmitri.shuralyov.com/app/changes/...

Work on displaying inline comments.
dmitshur committed 6 years ago commit c1ebdf401cf1e0870579f22c52b94dba85861170
Collapse all
_data/comment.html.tmpl
@@ -63,10 +63,24 @@
		</div>
	</div>
	{{if (not state.DisableReactions)}}
		{{render (reactionsBar .Reactions (reactableID .ID))}}
	{{end}}
	{{with .Comments}}
		<div style="margin-left: 80px;">
		{{range .}}
			<div class="list-entry list-entry-container list-entry-border">
				<header class="list-entry-header">
					{{.File}}:{{.Line}}
				</header>
				<div class="list-entry-body">
					<div class="markdown-body">{{.Body}}</div>
				</div>
			</div>
		{{end}}
		</div>
	{{end}}
</div>
{{end}}

{{/* Dot is changes.ReviewState. */}}
{{define "review-icon" }}