diff --git a/services/web/app/views/project/list.jade b/services/web/app/views/project/list.jade index ee08d17d5c..6afd49a4d7 100644 --- a/services/web/app/views/project/list.jade +++ b/services/web/app/views/project/list.jade @@ -27,16 +27,16 @@ block content ul.dropdown-menu.pull-right(role="menu") li a(href='/project/'+project_id+'/clone', data-csrf=csrfToken).cloneProject Clone Project + li + a(href='/project/'+project._id+'/download/zip').downloadZip Download Zip -if (project.accessLevel == "owner") - li - a(href='/project/'+project_id, data-name=project.name, data-id=project_id, data-csrf=csrfToken).deleteProject Delete Project li a(href='/project/'+project_id+'/rename', data-name=project.name, data-id=project_id, data-csrf=csrfToken).renameProject Rename Project + li + a(href='/project/'+project_id, data-name=project.name, data-id=project_id, data-csrf=csrfToken).deleteProject Delete Project -else li a(href='/project/'+project_id+'/leave', data-name=project.name, data-id=project_id, data-csrf=csrfToken).leaveProject Leave Project - li - a(href='/project/'+project._id+'/download/zip').downloadZip Download Zip a.projectName(href="/project/#{project._id}") #{project.name} .projectDetails span Last modified on