File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/resources/templates Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 12
12
< li >
13
13
< span id ="tw-project-submenu-root ">
14
14
< a th:href ="@{/project/root} " id ="project_0 "
15
- th:if ="${thisProject != null} "
15
+ th:if ="${thisProject != null or taskstateType != null } "
16
16
ondrop ="drop2project(event) " ondragover ="allowDrop2Project(event) "
17
17
class ="m-2 btn btn-outline-dark btn-sm ">
18
18
< i class ="fas fa-folder-open "> </ i >
19
19
< span th:text ="#{right.nav.projects} "> Projects</ span >
20
20
</ a >
21
21
< a th:href ="@{/project/root} " id ="project_0 "
22
- th:if ="${thisProject == null} "
22
+ th:if ="${thisProject == null and taskstateType == null } "
23
23
ondrop ="drop2project(event) " ondragover ="allowDrop2Project(event) "
24
24
class ="m-2 btn btn-dark btn-sm ">
25
25
< i class ="fas fa-folder-open "> </ i >
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ <h1 class="col-md-12 mb-12">
34
34
</ div >
35
35
< div th:if ="${taskPage.getTotalElements() gt 0} " id ="mytwcontent-taskpage ">
36
36
< div
37
- th:replace ="layout/tasks :: tw-tasks-table(taskPage=${taskPage},myTaskState='INBOX', myUrlPath=@{/taskstate}) ">
37
+ th:replace ="layout/tasks :: tw-tasks-table(taskPage=${taskPage}, myTaskState='INBOX', myUrlPath=@{/taskstate}) ">
38
38
</ div >
39
39
</ div >
40
40
< div th:if ="${taskPage.getTotalElements() eq 0} " id ="mytwcontent-no-taskpage ">
You can’t perform that action at this time.
0 commit comments