File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/main/resources/templates/layout Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 39
39
< select th:field ="*{taskState} " class ="form-control form-control-lg is-invalid " aria-describedby ="basic-addon2 " required >
40
40
< option th:each ="taskStateItem : ${listTaskState} "
41
41
th:value ="${taskStateItem.value} "
42
- th:text ="${#messages.msgOrNull(taskStateItem.code )} ">
42
+ th:text ="${#messages.msgOrNull(taskStateItem.getMsgCode() )} ">
43
43
taskStateItem
44
44
</ option >
45
45
</ select >
Original file line number Diff line number Diff line change 32
32
< select th:field ="*{taskState} " class ="form-control form-control-lg is-invalid " required >
33
33
< option th:each ="taskStateItem : ${listTaskState} "
34
34
th:value ="${taskStateItem.value} "
35
- th:text ="${#messages.msgOrNull(taskStateItem.code )} ">
35
+ th:text ="${#messages.msgOrNull(taskStateItem.getMsgCode() )} ">
36
36
taskStateItem
37
37
</ option >
38
38
</ select >
Original file line number Diff line number Diff line change 115
115
class ="btn btn-outline-secondary btn-sm twtooltip "
116
116
th:alt-title ="#{task.col.twtooltip.taskstate} ">
117
117
< i th:class ="${task.taskState.getIcon()} "> </ i >
118
- < span th:utext ="${#messages.msgOrNull(task.taskState.code )} "> Inbox</ span >
118
+ < span th:utext ="${#messages.msgOrNull(task.taskState.getMsgCode() )} "> Inbox</ span >
119
119
</ a >
120
120
</ td >
121
121
< td th:id ="'task_' + ${task.id} + '_col_project' " class ="task_col task_col_project "
@@ -238,7 +238,7 @@ <h5 class="modal-title" id="taskModalScrollableTitle">
238
238
< b th:utext ="#{tasks.focus.taskState} " class ="me-2 "> Task State</ b >
239
239
< a th:href ="@{{url}(url=${task.taskState.getUrlPath()})} ">
240
240
< i th:class ="${task.taskState.getIcon()} "> </ i >
241
- < span th:utext ="${#messages.msgOrNull(task.taskState.code )} "> Inbox</ span >
241
+ < span th:utext ="${#messages.msgOrNull(task.taskState.getMsgCode() )} "> Inbox</ span >
242
242
</ a >
243
243
</ div >
244
244
< div th:if ="${myTaskState eq 'SCHEDULED' or myTaskState eq 'TODAY' or myTaskState eq 'PROJECT'} ">
You can’t perform that action at this time.
0 commit comments