{{ "pamRotationJobDrawerTitle" | i18n }} {{ job.statusLabelKey | i18n }}
@if (job.startedAt) {
{{ "pamRotationAttemptStarted" | i18n }}
{{ job.startedAt | date: "long" }}
} @if (params.showCredential) {
{{ "pamRotationConfigColumnCredential" | i18n }}
{{ job.credentialName }}
}
{{ "pamRotationHistoryColumnSource" | i18n }}
{{ job.sourceLabelKey | i18n }}
@if (job.duration || job.running) {
{{ "pamRotationHistoryDurationLabel" | i18n }}
@if (job.duration) { } @else { {{ "pamRotationAttemptInProgress" | i18n }} }
}
@if (job.sessionTerminationLabelKey) {

{{ job.sessionTerminationLabelKey | i18n }}

} @if ( job.failed && (job.causeLabelKey || job.reportedReason || job.syncStateLabelKey || job.attemptsUniform) ) {

{{ "pamRotationHistoryFailureHeading" | i18n }}

@if (job.causeLabelKey) {

{{ job.causeLabelKey | i18n }}

} @else if (job.reportedReason) {

{{ job.reportedReason }}

} @if (job.syncStateLabelKey) {

{{ job.syncStateLabelKey | i18n }}

} @if (job.attemptsUniform) {

{{ "pamRotationHistoryAttemptsAllAlike" | i18n }}

} @if (job.causeLabelKey && job.reportedReason) {

{{ "pamRotationFailureReportedDetail" | i18n: job.reportedReason }}

}
} @if (job.attempts.length > 0) {

{{ "pamRotationHistoryColumnAttempts" | i18n }}

@for (attempt of job.attempts; track attempt.id) { }
{{ "pamRotationHistoryAttemptsCaption" | i18n }}
{{ "pamRotationHistoryColumnAttempt" | i18n }} {{ "pamRotationAttemptStarted" | i18n }} {{ "pamRotationHistoryDurationLabel" | i18n }} {{ "pamRotationHistoryColumnResult" | i18n }}
{{ attempt.ordinal }} {{ attempt.startedAt | date: "mediumTime" }} @if (attempt.duration) { } @else if (attempt.running) { {{ "pamRotationAttemptInProgress" | i18n }} } {{ attempt.statusLabelKey | i18n }} @if (attempt.divergentFailureReason; as reason) { {{ reason }} }
}