diff --git a/views/partials/workout_details.html b/views/partials/workout_details.html index 9bc2c59a..19b9fd5c 100644 --- a/views/partials/workout_details.html +++ b/views/partials/workout_details.html @@ -18,7 +18,7 @@ {{ i18n "Type" }} - {{ .Type }} + {{ .Type.String }} diff --git a/views/partials/workout_item.html b/views/partials/workout_item.html index c99adf1f..de3fb1ab 100644 --- a/views/partials/workout_item.html +++ b/views/partials/workout_item.html @@ -5,7 +5,9 @@ >
- {{ .Name }}
diff --git a/views/user/user_show.html b/views/user/user_show.html index 2ecabccb..b3fa0bac 100644 --- a/views/user/user_show.html +++ b/views/user/user_show.html @@ -45,12 +45,12 @@

events: [ {{ range .workouts }} { - title: "{{ .Type }}", + title: "{{ .Type.String }}", start: "{{ .Date | LocalDate }}", url: "/workouts/{{ .ID }}", display: 'block', extendedProps: { - iconClass: "{{ IconFor .Type }}", + iconClass: "{{ IconFor .Type.String }}", }, }, {{ end }}