add label for history
This commit is contained in:
@@ -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();
|
||||
|
||||
});
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user