Bläddra i källkod

Can not see or modify files if the task is open and the user is not the owner

https
jakobsn 6 år sedan
förälder
incheckning
0b4409236c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      src/app/templates/project.html

+ 1
- 1
src/app/templates/project.html Visa fil

@@ -22,7 +22,7 @@ $def with (nav, project, tasks)
$for task in tasks:
<li id="$task[0]">$task
<br>
$if project[5] == "in progress":
$if project[5] != "open" or session.userid == project[2]:
$for filename in get_task_files(task[0]):
<a href="$filename[0]" download>$filename[0].split("/")[-1]</a>


Laddar…
Avbryt
Spara