File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/main/resources/templates/layout Expand file tree Collapse file tree 1 file changed +8
-0
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
16
ondrop ="drop2project(event) " ondragover ="allowDrop2Project(event) "
16
17
class ="m-2 btn btn-outline-dark btn-sm ">
17
18
< i class ="fas fa-folder-open "> </ i >
18
19
< span th:text ="#{right.nav.projects} "> Projects</ span >
19
20
</ a >
21
+ < a th:href ="@{/project/root} " id ="project_0 "
22
+ th:if ="${thisProject == null} "
23
+ ondrop ="drop2project(event) " ondragover ="allowDrop2Project(event) "
24
+ class ="m-2 btn btn-dark btn-sm ">
25
+ < i class ="fas fa-folder-open "> </ i >
26
+ < span th:text ="#{right.nav.projects} "> Projects</ span >
27
+ </ a >
20
28
</ span >
21
29
< span th:if ="${rootProjects != null and rootProjects.size() gt 0} ">
22
30
< ul
You can’t perform that action at this time.
0 commit comments