{{avatar .SignedUser 48 "commit-avatar"}}

{{- if .CanCommitToBranch.WillSign}} {{svg "octicon-lock" 24}} {{.i18n.Tr "repo.editor.commit_signed_changes"}} {{- else}} {{svg "octicon-unlock" 24}} {{.i18n.Tr "repo.editor.commit_changes"}} {{- end}}

{{$pullRequestEnabled := .Repository.UnitEnabled $.UnitTypePullRequests}} {{$prUnit := .Repository.MustGetUnit $.UnitTypePullRequests}}
{{if $pullRequestEnabled}} {{else}} {{end}}
{{svg "octicon-git-branch"}}
{{.i18n.Tr "repo.editor.cancel"}}