Add empty state if a node has no properties

This commit is contained in:
Mads Rasmussen
2018-09-11 14:43:07 +02:00
parent ad1f11f1da
commit e27a982bf6
2 changed files with 8 additions and 0 deletions

View File

@@ -14,5 +14,12 @@
</div>
</div>
<umb-empty-state
ng-if="content.tabs.length === 0"
position="center">
<localize key="content_noProperties"></localize>
</umb-empty-state>
</ng-form>
</div>

View File

@@ -222,6 +222,7 @@
<key alias="noDate">No date chosen</key>
<key alias="nodeName">Page title</key>
<key alias="noMediaLink">This media item has no link</key>
<key alias="noProperties">No content can be added for this item test</key>
<key alias="otherElements">Properties</key>
<key alias="parentNotPublished">This document is published but is not visible because the parent '%0%' is unpublished</key>
<key alias="parentCultureNotPublished">This culture is published but is not visible because it is unpublished on parent '%0%'</key>