File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
java/org/woehlke/simpleworklist/task
resources/templates/layout Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ public String getCode(){
4343 return "layout.page." +this .name ().toLowerCase ();
4444 }
4545
46+ public String getUrlPath (){
47+ return "/taskstate/" +this .name ().toLowerCase ();
48+ }
49+
4650 public String getUrl (){
4751 return "redirect:/taskstate/" +this .name ().toLowerCase ();
4852 }
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ <h5 class="modal-title" id="taskModalScrollableTitle">
228228 </ div >
229229 < div >
230230 < b th:utext ="#{tasks.focus.taskState} "> Task State</ b >
231- < a th:href ="@{{url}(url=${task.taskState.getUrl ()})} ">
231+ < a th:href ="@{{url}(url=${task.taskState.getUrlPath ()})} ">
232232 < i th:class ="${task.taskState.getIcon()} "> </ i >
233233 < span th:utext ="${#messages.msgOrNull(task.taskState.code)} "> Inbox</ span >
234234 </ a >
You can’t perform that action at this time.
0 commit comments