feat(entry-states): display entity state for editors

This commit is contained in:
Benedikt Rötsch
2017-10-24 15:12:26 +02:00
parent 63ff3e0426
commit fd52efd625
8 changed files with 77 additions and 4 deletions

View File

@@ -1,6 +1,11 @@
include _entryState
mixin editorialFeatures(entry)
if settings.editorialFeatures
.editorial-features
if currentApi.id === 'cpa' && (entry.draft || entry.pendingChanges)
.editorial-features__item
+entryState(entry)
.editorial-features__item
a.editorial-features__text(
href=`https://app.contentful.com/spaces/${settings.space}/entries/${entry.sys.id}`