Move delete docs into view in file-tree element

This commit is contained in:
James Allen 2016-03-22 11:15:52 +00:00
parent f182fbf396
commit 49bb4f07ea

View file

@ -70,23 +70,22 @@ aside#file-tree(ng-controller="FileTreeController", ng-class="{ 'multi-selected'
ng-repeat="entity in rootFolder.children | orderBy:[orderByFoldersFirst, 'name']" ng-repeat="entity in rootFolder.children | orderBy:[orderByFoldersFirst, 'name']"
) )
div(ng-show="deletedDocs.length > 0 && ui.view == 'track-changes'") li(ng-show="deletedDocs.length > 0 && ui.view == 'track-changes'")
h3 #{translate("deleted_files")} h3 #{translate("deleted_files")}
ul.list-unstyled.file-tree-list.deleted-docs li(
li( ng-class="{ 'selected': entity.selected }",
ng-class="{ 'selected': entity.selected }", ng-repeat="entity in deletedDocs | orderBy:'name'",
ng-repeat="entity in deletedDocs | orderBy:'name'", ng-controller="FileTreeEntityController"
ng-controller="FileTreeEntityController" )
) .entity
.entity .entity-name(
.entity-name( ng-click="select($event)"
ng-click="select($event)" )
) //- Just a spacer to align with folders
//- Just a spacer to align with folders i.fa.fa-fw.toggle
i.fa.fa-fw.toggle i.fa.fa-fw.fa-file
i.fa.fa-fw.fa-file
span {{ entity.name }} span {{ entity.name }}
script(type='text/ng-template', id='entityListItemTemplate') script(type='text/ng-template', id='entityListItemTemplate')
li( li(