Skip to content
Browse files
prepare frontend for trash folder
  • Loading branch information
usmannasir committed Aug 4, 2020
1 parent 133eb86 commit 106dfa68aa38b819cea83ab5020f814cfd602cfa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
@@ -1007,7 +1007,8 @@ fileManager.controller('fileManagerCtrl', function ($scope, $http, FileUploader,
method: "deleteFolderOrFile",
fileAndFolders: allFilesAndFolders,
domainRandomSeed: domainRandomSeed,
domainName: domainName
domainName: domainName,
skipTrash: $scope.skipTrash

@@ -405,11 +405,18 @@ <h5 class="modal-title" >{% trans "Create new file!" %} <img ng-hide="htmlEditor
<div class="modal-content">
<div id="htmlEditorLable" class="modal-header">
<h5 class="modal-title" >{% trans "Confirm Deletion!" %} <img ng-hide="deleteLoading" src="{% static 'filemanager/images/loadingSmall.gif' %}"></h5>

<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
<div class="modal-body">
<form action="/">
<div class="form-group">
<input ng-model="skipTrash" type="checkbox" value=""> Skip Trash Folder
<small class="form-text text-muted">{% trans "Skip trash and permanently delete this file." %}</small>
<p>Are you sure?</p>
<div class="modal-footer">

0 comments on commit 106dfa6

Please sign in to comment.