@if (loading() && request() == null && !notFound() && !loadError()) {
{{ "loading" | i18n }}
} @else if (request(); as r) {
@if (badge()?.badgeState; as state) {
} @else if (badge()?.statusBadge; as b) {
{{ b.labelKey | i18n }}
}
@if (extension(); as ext) {
{{
"pamExtendedBadge"
| i18n: (ext.addedSeconds | durationShort) : (ext.until | timestamp)
}}
}
{{ r.submittedAt | timestamp }}
@if (confirmingWithdraw()) {
@for (run of withdrawWarning(); track $index) {
{{ run.text }}
}
{{ "pamWithdrawReasonLabel" | i18n }}
{{ "pamWithdrawReasonHint" | i18n }}
} @else if (decisionSummary() || r.resolvedAt) {
{{ "pamAccessRequestDecisionHeading" | i18n }}
@if (decisionSummary(); as decision) {
{{ decision.who }}
@if (decision.email; as email) {
{{ email }}
}
@if (decision.comment; as comment) {
{{ comment }}
}
}
@if (r.resolvedAt; as resolvedAt) {
{{ resolvedAt | timestamp }}
}
}
} @else if (notFound()) {
{{ "pamAccessRequestNotFound" | i18n }}
{{ "pamAccessRequestNotFoundDescription" | i18n }}
} @else {
{{ "pamAccessRequestLoadError" | i18n }}
}