Skip to content

Commit

Permalink
Merge GT-1968-update-publishing-status into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
stage-branch-merger[bot] authored Jan 26, 2024
2 parents 5b985f5 + 53a4970 commit 357160b
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
<span
class="badge badge-secondary"
*ngIf="!translation.is_published && !translation.none"
*ngIf="
!translation.is_published &&
!translation.none &&
!translation['publishing-errors']
"
>{{ translation.version }} | Draft</span
>
<span class="badge badge-success" *ngIf="translation.is_published"
>{{ translation.version }} | Live</span
>
<span class="badge badge-danger" *ngIf="translation['publishing-errors']"
>1 | Error</span
>
<span class="badge badge-warning" *ngIf="translation.none">None</span>

0 comments on commit 357160b

Please sign in to comment.