Add message if prevent cleanup is globally disabled.
This commit is contained in:
@@ -102,6 +102,12 @@
|
||||
|
||||
<div class="sub-view-column-right">
|
||||
<umb-box-content>
|
||||
<p ></p>
|
||||
|
||||
<div class="umb-panel-group__details-status-text" ng-if="model.historyCleanup.globalEnableCleanup">
|
||||
<p class="umb-panel-group__details-status-action"><localize key="contentTypeEditor_historyCleanupGloballyDisabled"></localize></p>
|
||||
</div>
|
||||
|
||||
<umb-control-group label="@contentTypeEditor_historyCleanupPreventCleanup">
|
||||
<umb-toggle checked="model.historyCleanup.preventCleanup" on-click="vm.toggleHistoryCleanupPreventCleanup()"></umb-toggle>
|
||||
</umb-control-group>
|
||||
|
||||
@@ -1724,6 +1724,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
|
||||
<key alias="historyCleanupKeepAllVersionsNewerThanDays">Keep all versions newer than days</key>
|
||||
<key alias="historyCleanupKeepLatestVersionPerDayForDays">Keep latest version per day for days</key>
|
||||
<key alias="historyCleanupPreventCleanup">Prevent cleanup</key>
|
||||
<key alias="historyCleanupGloballyDisabled">NOTE! The cleanup of historically content versions are disabled globally. These settings will not take effect before it is enabled.</key>
|
||||
</area>
|
||||
<area alias="languages">
|
||||
<key alias="addLanguage">Add language</key>
|
||||
|
||||
@@ -1755,6 +1755,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
|
||||
<key alias="historyCleanupKeepAllVersionsNewerThanDays">Keep all versions newer than days</key>
|
||||
<key alias="historyCleanupKeepLatestVersionPerDayForDays">Keep latest version per day for days</key>
|
||||
<key alias="historyCleanupPreventCleanup">Prevent cleanup</key>
|
||||
<key alias="historyCleanupGloballyDisabled">NOTE! The cleanup of historically content versions are disabled globally. These settings will not take effect before it is enabled.</key>
|
||||
</area>
|
||||
<area alias="languages">
|
||||
<key alias="addLanguage">Add language</key>
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
[DataMember(Name = "globalKeepLatestVersionPerDayForDays")]
|
||||
public int? GlobalKeepLatestVersionPerDayForDays { get; set;}
|
||||
|
||||
[DataMember(Name = "GlobalEnableCleanup")]
|
||||
[DataMember(Name = "globalEnableCleanup")]
|
||||
public bool GlobalEnableCleanup { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user