{{ tKey(quest, 'title') }}
-+
{{ tKey(quest, 'question') }}
@@ -137,7 +138,7 @@ const columns = leaderboardColumns.map((c) => >
{{ data.points }} Points
+{{ data.extraPoints }} Extra points
++ Extra: {{ tKey(data, 'extraText') }} +
+No answers yet
{{ data.points }} Points
-{{ data.extraPoints }} Extra points
-Extra: {{ tKey(data, 'extraText') }}
-No answers yet
diff --git a/app/pages/hunt/[huntSlug]/[questSlug]/index.vue b/app/pages/hunt/[huntSlug]/[questSlug]/index.vue index 535b6b9..cf27f05 100644 --- a/app/pages/hunt/[huntSlug]/[questSlug]/index.vue +++ b/app/pages/hunt/[huntSlug]/[questSlug]/index.vue @@ -105,187 +105,189 @@ const createImageURL = (file: File) => URL.createObjectURL(file); -{{ tKey(data, 'description') }}
-- {{ data.textRequired ? '❓' : '❔' }}: - {{ tKey(data, 'question') }} -
-- 🖋: {{ t(`enums.text_type.${data.textType}`) }} -
-- Extra points: - {{ tKey(data, 'extraText') }} -
-
- Score:
-
- {{ line }} -
-
- Last update:
- {{ d(data.answer.updatedAt, fullDate) }}
- by {{ data.answer.member.name }}
+
{{ tKey(data, 'description') }}
++ {{ data.textRequired ? '❓' : '❔' }}: + {{ tKey(data, 'question') }} +
++ 🖋: {{ t(`enums.text_type.${data.textType}`) }} +
++ Extra points: + {{ tKey(data, 'extraText') }} +
+
+ Score:
+
+ {{ line }} +
+- Your final answer has already been submitted! -
-+ Last update: + {{ d(data.answer.updatedAt, fullDate) }} + by {{ data.answer.member.name }} +
++ Your final answer has already been submitted! +
+- Last update: - {{ d(data.updatedAt, fullDate) }} -
-+ Last update: + {{ d(data.updatedAt, fullDate) }} +
+Total points: {{ data!!.totalScore }} - {{ line }} + +
+ {{ line }} +
++ Start: + {{ d(data.start, fullDate) }}
-- Start: - {{ d(data.start, fullDate) }} -
-- End: - {{ d(data.end, fullDate) }} -
-- {{ data._count.teams }} teams joined{{ - data.ownTeam !== null ? ', just like you' : ', unlike you' - }}! -
-
- Your team: {{ data.ownTeam.name }}
-
{{ tKey(quest, 'description') }}
- -{{ quest.answer?.text }}
-+ {{ data._count.teams }} teams joined{{ + data.ownTeam !== null ? ', just like you' : ', unlike you' + }}! +
+
+ Your team: {{ data.ownTeam.name }}
+
{{ tKey(quest, 'description') }}
-{{ quest.answer?.text }}
++
{{ tKey(quest, 'question') }}
@@ -137,7 +138,7 @@ const columns = leaderboardColumns.map((c) => >