make unpublish button in overlay appear as button-style warning
This commit is contained in:
@@ -442,6 +442,7 @@
|
||||
variants: $scope.content.variants, //set a model property for the dialog
|
||||
skipFormValidation: true, //when submitting the overlay form, skip any client side validation
|
||||
submitButtonLabelKey: "content_unpublish",
|
||||
submitButtonSTYLE: "warning",
|
||||
submit: function (model) {
|
||||
|
||||
model.submitButtonState = "busy";
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
|
||||
<umb-button
|
||||
alias="overlaySubmit"
|
||||
button-style="success"
|
||||
button-style="{{model.submitButtonStyle || 'success'}}"
|
||||
label-key="{{model.submitButtonLabelKey}}"
|
||||
label="{{model.submitButtonLabel}}"
|
||||
ng-if="model.submit && model.hideSubmitButton !== true"
|
||||
|
||||
Reference in New Issue
Block a user