Skip to content

Commit f7a8891

Browse files
committed
work in progres
1 parent 03537da commit f7a8891

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@
5656
draggable="true" ondragstart="dragTask(event)"
5757
ondrop="dropTask2Task(event)" ondragover="allowDropOfTask(event)">
5858
<td th:id="'task_' + ${task.id} + '_col_info_icons'" class="task_col task_col_info_icons">
59-
<a th:href="@{/task/{id}/complete(id=${task.id})}"
59+
<a th:href="@{/taskstate/task/{id}/complete(id=${task.id})}"
6060
th:if="${task.taskState.name() ne 'COMPLETED' and task.taskState.name() ne 'TRASHED'}"
6161
class="task_col_content task_col_content_finish twtooltip" data-placement="bottom"
6262
th:alt-title="#{task.col.twtooltip.infoicons.finish.task}">
6363
<i class="far fa-square"></i>
6464
</a>
65-
<a th:href="@{/task/{id}/incomplete(id=${task.id})}"
65+
<a th:href="@{/taskstate/task/{id}/incomplete(id=${task.id})}"
6666
th:if="${task.taskState.name() eq 'COMPLETED'}"
6767
class="task_col_content task_col_content_unfinish twtooltip" data-placement="bottom"
6868
th:alt-title="#{task.col.twtooltip.infoicons.unfinish.task}">
@@ -72,13 +72,13 @@
7272
th:if="${task.taskState.name() eq 'TRASHED'}"
7373
th:alt-title="#{task.col.twtooltip.infoicons.trash}"
7474
draggable="true" ondragstart="dragTask(event)" data-placement="bottom"></i>
75-
<a th:if="${task.focus}" th:href="@{/task/{id}/unsetfocus(id=${task.id})}"
75+
<a th:if="${task.focus}" th:href="@{/taskstate/task/{id}/unsetfocus(id=${task.id})}"
7676
class="task_col_content task_col_content_unsetfocus twtooltip" data-placement="bottom"
7777
th:alt-title="#{task.col.twtooltip.infoicons.unsetfocus}"
7878
th:id="'task_' + ${task.id} + '_col_unsetfocus'" draggable="true" ondragstart="dragTask(event)">
7979
<i class="fas fa-star"></i>
8080
</a>
81-
<a th:if="${not task.focus}" th:href="@{/task/{id}/setfocus(id=${task.id})}"
81+
<a th:if="${not task.focus}" th:href="@{/taskstate/task/{id}/setfocus(id=${task.id})}"
8282
class="task_col_content task_col_content_setfocus twtooltip"
8383
th:alt-title="#{task.col.twtooltip.infoicons.setfocus}"
8484
th:id="'task_' + ${task.id} + '_col_setfocus'" draggable="true" ondragstart="dragTask(event)">

0 commit comments

Comments
 (0)