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
88
88
project.show.state.completed =Erledigte Aufgaben
89
89
project.show.state.trash =Papierkorb
90
90
project.show.nothingToDo =Es gibt keine Aufgaben in diesem Projekt.
91
+ layout.menu.taskstate =Aufgaben
92
+ layout.menu.projects =Projekte
91
93
layout.page.newContent =Neuer Inhalt
92
94
layout.page.addProject =Neues Projekt
93
95
layout.page.addTask =Neue Aufgabe
@@ -273,4 +275,3 @@ user.loginForm.email.label=Email
273
275
user.loginForm.email.placeholder =Geben Sie Ihre Emailadresse ein
274
276
user.loginForm.password.label =Passwort
275
277
user.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
87
87
project.show.state.trash =Trash
88
88
project.show.nothingToDo =You have no Tasks in this project.
89
89
layout.menu.taskstate =Tasks
90
+ layout.menu.projects =Projects
90
91
layout.page.newContent =New Content
91
92
layout.page.addProject =Add a Project
92
93
layout.page.addTask =Add a Task
Original file line number Diff line number Diff line change 94
94
</ div >
95
95
</ li >
96
96
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 >
101
103
</ 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 >
102
111
</ li >
103
112
104
113
< li class ="nav-item ">
You can’t perform that action at this time.
0 commit comments