{{ctx.Locale.Tr "repo.issues.due_date"}}
{{svg "octicon-x" 16 "close icon"}} {{ctx.Locale.Tr "repo.issues.due_date_invalid"}}
{{if ne .Issue.DeadlineUnix 0}}

{{svg "octicon-calendar" 16 "tw-mr-2"}} {{DateTime "long" .Issue.DeadlineUnix.FormatDate}}
{{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}} {{svg "octicon-pencil" 16 "tw-mr-1"}} {{svg "octicon-trash"}} {{end}}

{{else}}

{{ctx.Locale.Tr "repo.issues.due_date_not_set"}}

{{end}} {{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}}
{{$.CsrfTokenHtml}}
{{end}}