Update by natay on Sat Feb 10 13:24:29 EST 2018 from natay
@@ -429,7 +429,6 @@ def data_upload(request, uid):
def data_files_list(request, uid, path=''):
data = Data.objects.filter(uid=uid).first()
project = data.project
-
back_uid = None if path else project.uid
context = dict(activate='selection', data=data, project=project, project_uid=back_uid)
@@ -681,7 +680,6 @@ def job_delete(request, uid):
messages.success(request, mark_safe(f"Moved <b>{job.name}</b> to <a href={url}>Recycle Bin</a>."))
return redirect(reverse("job_list", kwargs=dict(uid=project.uid)))
-
@object_access(type=Job, access=Access.EDIT_ACCESS, owner_only=True)
def job_restore(request, uid):
"Change job state from Deleted to Queued."
