leaving project fades it out from the list fix

This commit is contained in:
Henry Oswald 2014-04-07 20:47:29 +01:00
parent 430cf5cea8
commit 248e81407a

View file

@ -29,10 +29,10 @@ block content
a(href='/project/'+project_id+'/clone', data-csrf=csrfToken).cloneProject Clone Project a(href='/project/'+project_id+'/clone', data-csrf=csrfToken).cloneProject Clone Project
-if (project.accessLevel == "owner") -if (project.accessLevel == "owner")
li 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 -else
li 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 li
a(href='/project/'+project._id+'/download/zip').downloadZip Download Zip a(href='/project/'+project._id+'/download/zip').downloadZip Download Zip
a.projectName(href="/project/#{project._id}") #{project.name} a.projectName(href="/project/#{project._id}") #{project.name}