Skip to content

Commit 1bec015

Browse files
committed
work
1 parent 7118b0f commit 1bec015

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

src/main/resources/messages_de.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ layout.page.completed=Erledigt
105105
layout.page.trash=Papierkorb
106106
layout.page.deleted=Gelöscht
107107
layout.page.all=Alle Aufgaben
108+
layout.page.projects=Projekt
108109
searchRequest.resultlist.h1=Suchergebnis für
109110
searchRequest.resultlist.h2.noTasks=Keine Aufgaben gefunden
110111
searchRequest.resultlist.h2.tasks=Aufgaben

src/main/resources/messages_en.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ layout.page.completed=Completed Tasks
103103
layout.page.trash=Trash
104104
layout.page.deleted=Deleted
105105
layout.page.all=All Tasks
106+
layout.page.projects=Project
106107
searchRequest.resultlist.h1=Search Result for searchterm
107108
searchRequest.resultlist.h2.noTasks=No Tasks found
108109
searchRequest.resultlist.h2.tasks=Tasks

src/main/resources/templates/layout/taskstates.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,22 @@
133133
<span th:text="#{layout.page.trash}" class="link-light">Trash</span>
134134
</a>
135135
</li>
136+
<li class="nav-item" ondrop="drop2trash(event)" ondragover="allowDropOfTask(event)">
137+
<a id="taskstate_projects" class="nav-link active link-dark"
138+
th:href="@{/project/root}"
139+
th:if="${taskstateType == 'projects'}">
140+
<i class="fas fa-trash-alt link-dark"></i>
141+
<span th:text="#{layout.page.projects}" class="link-dark">Projects</span>
142+
</a>
143+
<a id="taskstate_projects" class="nav-link link-light"
144+
th:href="@{/project/root}"
145+
th:if="${taskstateType != 'projects'}">
146+
<i class="fas fa-trash-alt link-light"></i>
147+
<span th:text="#{layout.page.projects}" class="link-light">Projects</span>
148+
</a>
149+
</li>
136150
</ul>
137-
</div>
151+
</div>
138152
</section>
139153

140154
</html>

0 commit comments

Comments
 (0)