File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ project.show.state.someday=Sp
8888project.show.state.completed =Erledigte Aufgaben
8989project.show.state.trash =Papierkorb
9090project.show.nothingToDo =Es gibt keine Aufgaben in diesem Projekt.
91+ layout.menu.taskstate =Aufgaben
92+ layout.menu.projects =Projekte
9193layout.page.newContent =Neuer Inhalt
9294layout.page.addProject =Neues Projekt
9395layout.page.addTask =Neue Aufgabe
@@ -273,4 +275,3 @@ user.loginForm.email.label=Email
273275user.loginForm.email.placeholder =Geben Sie Ihre Emailadresse ein
274276user.loginForm.password.label =Passwort
275277user.loginForm.password.placeholder =Geben Sie Ihr Passwort ein
276- layout.menu.taskstate =Aufgaben
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ project.show.state.completed=Completed Tasks
8787project.show.state.trash =Trash
8888project.show.nothingToDo =You have no Tasks in this project.
8989layout.menu.taskstate =Tasks
90+ layout.menu.projects =Projects
9091layout.page.newContent =New Content
9192layout.page.addProject =Add a Project
9293layout.page.addTask =Add a Task
Original file line number Diff line number Diff line change 9494 </ div >
9595 </ li >
9696
97- < li class ="nav-item ">
98- < a class ="nav-link " th:href ="@{/taskstate/all} ">
99- < i class ="fa-solid fa-database "> </ i >
100- < span th:text ="#{layout.page.all} "> ALL Tasks</ span >
97+ < li class ="nav-item dropdown " th:if ="${allProjects != null} ">
98+ < a class ="nav-link dropdown-toggle " id ="taskstateProjects " role ="button "
99+ data-bs-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false " href ="# ">
100+ < i class ="fa-solid fa-diagram-project "> </ i >
101+ < span th:text ="#{layout.menu.projects} "> "Projects</ span >
102+ < span class ="caret "> </ span >
101103 </ a >
104+ < div class ="dropdown-menu " aria-labelledby ="taskstateProjects ">
105+ < a class ="dropdown-item " th:each ="menuProject : ${allProjects} "
106+ th:href ="@{/project/{pid}(pid=${menuProject.id})} ">
107+ < i class ="fa-solid fa-diagram-project "> </ i >
108+ < span th:text ="${menuProject.name} "> menuProject.name</ span >
109+ </ a >
110+ </ div >
102111 </ li >
103112
104113 < li class ="nav-item ">
You can’t perform that action at this time.
0 commit comments