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

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

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