forked from umbraco/Umbraco-CMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request umbraco#11452 from umbraco/v9/feature/v8_merge_22_…
…10_2021 Merge v8 into v9 22/10/2021
- Loading branch information
Showing
32 changed files
with
3,902 additions
and
2,175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
235 changes: 159 additions & 76 deletions
235
src/Umbraco.Web.BackOffice/Controllers/ContentTypeControllerBase.cs
Large diffs are not rendered by default.
Oops, something went wrong.
753 changes: 429 additions & 324 deletions
753
src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/Umbraco.Web.UI.Client/src/views/components/overlays/umb-template-remove-confirm.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div> | ||
|
||
<div ng-if="model.layout" class="umb-alert umb-alert--warning mb2"> | ||
<localize key="contentTypeEditor_removeChildNode">You are removing the child node</localize> <strong>{{model.layout.name}}</strong>. | ||
</div> | ||
|
||
<p> | ||
<localize key="contentTypeEditor_removeChildNodeWarning"> | ||
Removing a child node will limit the editors options to create different content types beneath a node. | ||
</localize> | ||
</p> | ||
|
||
<localize key="defaultdialogs_confirmdelete">Are you sure you want to remove</localize>? | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
112 changes: 58 additions & 54 deletions
112
src/Umbraco.Web.UI.Client/src/views/dataTypes/create.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,70 @@ | ||
<div ng-controller="Umbraco.Editors.DataType.CreateController"> | ||
|
||
<div ng-show="!model.creatingFolder"> | ||
<div class="umbracoDialog umb-dialog-body with-footer" ng-cloak> | ||
<div class="umb-pane"> | ||
<h5><localize key="create_createUnder">Create an item under</localize> {{currentNode.name}}</h5> | ||
<div ng-show="!model.creatingFolder"> | ||
<div class="umbracoDialog umb-dialog-body with-footer" ng-cloak> | ||
<div class="umb-pane"> | ||
<h5> | ||
<localize key="create_createUnder">Create an item under</localize> | ||
{{currentNode.name}} | ||
</h5> | ||
|
||
<ul class="umb-actions umb-actions-child"> | ||
<li data-element="action-data-type" class="umb-action"> | ||
<button type="button" class="umb-action-link umb-outline btn-reset" ng-click="createDataType()" umb-auto-focus> | ||
<umb-icon icon="icon-autofill" class="icon large"></umb-icon> | ||
<span class="menu-label"> | ||
<ul class="umb-actions umb-actions-child"> | ||
<li class="umb-action" data-element="action-data-type"> | ||
<button class="umb-action-link umb-outline btn-reset" ng-click="createDataType()" type="button" | ||
umb-auto-focus> | ||
<umb-icon class="icon large" icon="icon-autofill"></umb-icon> | ||
<span class="menu-label"> | ||
<localize key="create_newDataType">New data type</localize> | ||
</span> | ||
</button> | ||
</li> | ||
<li data-element="action-folder" class="umb-action"> | ||
<button type="button" class="umb-action-link umb-outline btn-reset" ng-click="showCreateFolder()"> | ||
<umb-icon icon="icon-folder" class="icon large"></umb-icon> | ||
<span class="menu-label"> | ||
</button> | ||
</li> | ||
<li class="umb-action" data-element="action-folder"> | ||
<button class="umb-action-link umb-outline btn-reset" ng-click="showCreateFolder()" type="button"> | ||
<umb-icon class="icon large" icon="icon-folder"></umb-icon> | ||
<span class="menu-label"> | ||
<localize key="create_newFolder">New folder</localize>... | ||
</span> | ||
</button> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="umb-dialog-footer btn-toolbar umb-btn-toolbar"> | ||
<button type="button" class="btn btn-info" ng-click="close()"> | ||
<localize key="buttons_somethingElse">Do something else</localize> | ||
</button> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
</div> | ||
|
||
<div ng-show="model.creatingFolder"> | ||
<form novalidate name="createFolderForm" | ||
ng-submit="createContainer()" | ||
val-form-manager> | ||
<div class="umbracoDialog umb-dialog-body with-footer" ng-cloak> | ||
<div class="umb-pane" ng-show="model.creatingFolder"> | ||
<umb-control-group label="Enter a folder name" hide-label="false"> | ||
<input type="text" | ||
name="folderName" | ||
ng-model="model.folderName" | ||
class="umb-textstring textstring input-block-level" | ||
focus-when="{{model.creatingFolder}}" | ||
required /> | ||
</umb-control-group> | ||
</div> | ||
</div> | ||
<div class="umb-dialog-footer btn-toolbar umb-btn-toolbar"> | ||
<umb-button type="button" | ||
button-style="link" | ||
action="close()" | ||
label-key="general_close"> | ||
</umb-button> | ||
<umb-button type="submit" | ||
button-style="primary" | ||
label-key="general_create"> | ||
</umb-button> | ||
</div> | ||
</form> | ||
<div class="umb-dialog-footer btn-toolbar umb-btn-toolbar"> | ||
<button class="btn btn-info" ng-click="close()" type="button"> | ||
<localize key="buttons_somethingElse">Do something else</localize> | ||
</button> | ||
</div> | ||
</div> | ||
|
||
<div ng-show="model.creatingFolder"> | ||
<form name="createFolderForm" ng-submit="createContainer()" | ||
novalidate | ||
val-form-manager> | ||
<div class="umbracoDialog umb-dialog-body with-footer" ng-cloak> | ||
<div class="umb-pane" ng-show="model.creatingFolder"> | ||
<umb-control-group hide-label="false" label="Enter a folder name"> | ||
<input class="umb-textstring textstring input-block-level" | ||
focus-when="{{model.creatingFolder}}" | ||
name="folderName" | ||
ng-model="model.folderName" | ||
required | ||
type="text"/> | ||
</umb-control-group> | ||
</div> | ||
</div> | ||
<div class="umb-dialog-footer btn-toolbar umb-btn-toolbar"> | ||
<umb-button action="close()" | ||
button-style="link" | ||
label-key="general_close" | ||
type="button"> | ||
</umb-button> | ||
<umb-button button-style="primary" | ||
label-key="general_create" | ||
type="submit"> | ||
</umb-button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> |
Oops, something went wrong.