From 248e81407a0e72d181f2a59aa39e9df6bf0db103 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 7 Apr 2014 20:47:29 +0100 Subject: [PATCH] leaving project fades it out from the list fix --- services/web/app/views/project/list.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/project/list.jade b/services/web/app/views/project/list.jade index ad16640a03..b2abd2f2ca 100644 --- a/services/web/app/views/project/list.jade +++ b/services/web/app/views/project/list.jade @@ -29,10 +29,10 @@ block content a(href='/project/'+project_id+'/clone', data-csrf=csrfToken).cloneProject Clone Project -if (project.accessLevel == "owner") li - a(href='/project/'+project_id, data-name=project.name, data-id=project_id, data-csrf=csrfToken).deleteProject Delete Project + 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 + 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}