Files
the-example-app-nodejs/views/mixins/_entryState.pug

8 lines
288 B
Plaintext

mixin entryState(entry)
if entry.draft
.editorial-features__item
.pill.pill--draft #{translate('draftLabel', currentLocale.code)}
if entry.pendingChanges
.editorial-features__item
.pill.pill--pending-changes #{translate('pendingChangesLabel', currentLocale.code)}