add label for history

This commit is contained in:
Mads Rasmussen
2018-12-12 14:29:20 +01:00
parent 4f6f959d7f
commit defa231c4b
3 changed files with 9 additions and 3 deletions

View File

@@ -51,7 +51,9 @@
"content_publishedPendingChanges",
"content_notCreated",
"prompt_unsavedChanges",
"prompt_doctypeChangeWarning"
"prompt_doctypeChangeWarning",
"general_history",
"auditTrails_historyIncludingVariants"
];
localizationService.localizeMany(keys)
@@ -63,7 +65,9 @@
labels.notCreated = data[4];
labels.unsavedChanges = data[5];
labels.doctypeChangeWarning = data[6];
scope.historyLabel = scope.node.variants && scope.node.variants.length === 1 ? data[7] : data[8];
setNodePublishStatus();
});

View File

@@ -41,7 +41,8 @@
<umb-box data-element="node-info-history">
<umb-box-header
title-key="general_history">
title="{{historyLabel}}">
<umb-button
type="button"
button-style="outline"

View File

@@ -171,6 +171,7 @@
<key alias="smallSendToPublish">Send To Publish</key>
<key alias="smallSendToPublishVariant">Send To Publish</key>
<key alias="smallSort">Sort</key>
<key alias="historyIncludingVariants">History (all variants)</key>
</area>
<area alias="changeDocType">
<key alias="changeDocTypeInstruction">To change the document type for the selected content, first select from the list of valid types for this location.</key>