Modified the existing 'recyclebin' dashboard view.
Added view for media 'recyclebin'
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @ngdoc controller
|
||||
* @name Umbraco.Dashboard.RecycleBinController
|
||||
* @function
|
||||
*
|
||||
* @description
|
||||
* Controls the recycle bin dashboards
|
||||
*
|
||||
*/
|
||||
|
||||
function RecycleBinController($scope, $routeParams) {
|
||||
$routeParams.id = "-20"; // media = "-21"
|
||||
$scope.model = { config: { entityType: "content" } };
|
||||
}
|
||||
|
||||
angular.module('umbraco').controller("Umbraco.Dashboard.RecycleBinController", RecycleBinController);
|
||||
@@ -1,9 +1,14 @@
|
||||
<umb-panel>
|
||||
<div class="umb-panel-header">
|
||||
<div class="row-fluid">
|
||||
<span class="span4 umb-panel-header-meta">
|
||||
<h1>Recycle bin</h1>
|
||||
</span>
|
||||
<umb-panel ng-controller="Umbraco.Dashboard.RecycleBinController">
|
||||
<umb-header>
|
||||
<div class="umb-headline-editor-wrapper span12">
|
||||
<h1><localize key="treeHeaders_contentRecycleBin">Recycle Bin</localize></h1>
|
||||
</div>
|
||||
</div>
|
||||
</umb-header>
|
||||
<umb-tab-view>
|
||||
<umb-tab id="tabRecycleBin" rel="RecycleBin">
|
||||
<umb-pane>
|
||||
<div ng-include="'views/propertyeditors/listview/listview.html'"></div>
|
||||
</umb-pane>
|
||||
</umb-tab>
|
||||
</umb-tab-view>
|
||||
</umb-panel>
|
||||
|
||||
14
src/Umbraco.Web.UI.Client/src/views/media/recyclebin.html
Normal file
14
src/Umbraco.Web.UI.Client/src/views/media/recyclebin.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<umb-panel ng-controller="Umbraco.Dashboard.RecycleBinController">
|
||||
<umb-header>
|
||||
<div class="umb-headline-editor-wrapper span12">
|
||||
<h1><localize key="treeHeaders_mediaRecycleBin">Recycle Bin</localize></h1>
|
||||
</div>
|
||||
</umb-header>
|
||||
<umb-tab-view>
|
||||
<umb-tab id="tabRecycleBin" rel="RecycleBin">
|
||||
<umb-pane>
|
||||
<div ng-include="'views/propertyeditors/listview/listview.html'"></div>
|
||||
</umb-pane>
|
||||
</umb-tab>
|
||||
</umb-tab-view>
|
||||
</umb-panel>
|
||||
Reference in New Issue
Block a user