|
6 | 6 |
|
7 | 7 | <section th:fragment="navigation-projects(rootProjects,thisProject)">
|
8 | 8 | <div class="border-top shadow-lg" id="projectNavigationWell" sec:authorize="isAuthenticated()">
|
9 |
| - <div class="row col" id="tw-project-submenu-col"> |
10 |
| - <nav> |
11 |
| - <ul id="rootProject" style="list-style: none;"> |
12 |
| - <li id="tw-project-submenu-root"> |
13 |
| - <span id="project_0" |
14 |
| - ondrop="drop2project(event)" ondragover="allowDrop2Project(event)"> |
15 |
| - <a th:href="@{/project/root}" |
16 |
| - th:if="${thisProject != null or taskstateType != null}" |
17 |
| - class="m-2 btn btn-outline-dark btn-sm" id="project_0_a"> |
18 |
| - <i class="fas fa-folder-open" id="project_0_a_i"></i> |
19 |
| - <span th:text="#{right.nav.projects}" id="project_0_a_span">Projects</span> |
20 |
| - </a> |
21 |
| - <a th:if="${thisProject == null and taskstateType == null}" |
22 |
| - th:href="@{/project/root}" class="m-2 btn btn-dark btn-sm" id="project_0_aa"> |
23 |
| - <i class="fas fa-folder-open" id="project_0_aa_i"></i> |
24 |
| - <span th:text="#{right.nav.projects}" id="project_0_aa_span">Projects</span> |
25 |
| - </a> |
26 |
| - </span> |
27 |
| - <span th:if="${rootProjects != null and rootProjects.size() gt 0}"> |
28 |
| - <ul |
29 |
| - th:include="this :: tw-project-submenu(projectList=${rootProjects},thisProject=${thisProject})" |
30 |
| - style="list-style: none;"> |
31 |
| - </ul> |
32 |
| - </span> |
33 |
| - </li> |
34 |
| - </ul> |
35 |
| - </nav> |
| 9 | + <div class="row col" id="tw-project-submenu-col"> |
| 10 | + <nav> |
| 11 | + <ul id="rootProject" style="list-style: none;"> |
| 12 | + <li id="tw-project-submenu-root"> |
| 13 | + <span id="project_0" |
| 14 | + ondrop="drop2project(event)" ondragover="allowDrop2Project(event)"> |
| 15 | + <a th:href="@{/project/root}" |
| 16 | + th:if="${thisProject != null or taskstateType != null}" |
| 17 | + class="m-2 btn btn-outline-dark btn-sm" id="project_0_a"> |
| 18 | + <i class="fas fa-folder-open" id="project_0_a_i"></i> |
| 19 | + <span th:text="#{right.nav.projects}" id="project_0_a_span">Projects</span> |
| 20 | + </a> |
| 21 | + <a th:if="${thisProject == null and taskstateType == null}" |
| 22 | + th:href="@{/project/root}" class="m-2 btn btn-dark btn-sm" id="project_0_aa"> |
| 23 | + <i class="fas fa-folder-open" id="project_0_aa_i"></i> |
| 24 | + <span th:text="#{right.nav.projects}" id="project_0_aa_span">Projects</span> |
| 25 | + </a> |
| 26 | + </span> |
| 27 | + <span th:if="${rootProjects != null and rootProjects.size() gt 0}"> |
| 28 | + <ul |
| 29 | + th:include="this :: tw-project-submenu(projectList=${rootProjects},thisProject=${thisProject})" |
| 30 | + style="list-style: none;"> |
| 31 | + </ul> |
| 32 | + </span> |
| 33 | + </li> |
| 34 | + </ul> |
| 35 | + </nav> |
36 | 36 | </div>
|
37 | 37 | </div>
|
38 | 38 | </section>
|
|
0 commit comments