{{$root := ctx.RootData -}} {{$replyReviewComment := $.ReplyReviewComment -}}{{/* can be nil */ -}} {{$canAddComment := and $root.SignedUserID (not $root.Repository.IsArchived) -}} {{if $canAddComment}}