Skip to content
Snippets Groups Projects
Commit ea9e3fdb authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Refine person count on mobile lesson notes view

parent 1b90f55a
No related branches found
No related tags found
1 merge request!401Resolve "Follow-up from "Resolve "Add absence overview page"""
Pipeline #193514 failed
...@@ -70,7 +70,10 @@ import TextNoteCard from "../personal_notes/TextNoteCard.vue"; ...@@ -70,7 +70,10 @@ import TextNoteCard from "../personal_notes/TextNoteCard.vue";
</template> </template>
<span v-else> <span v-else>
{{ {{
`${participations.length} ${$t("alsijil.coursebook.notes.persons")}` $tc(
"alsijil.coursebook.notes.persons",
participations.length,
)
}} }}
</span> </span>
</span> </span>
...@@ -119,7 +122,7 @@ import TextNoteCard from "../personal_notes/TextNoteCard.vue"; ...@@ -119,7 +122,7 @@ import TextNoteCard from "../personal_notes/TextNoteCard.vue";
</template> </template>
<span v-else> <span v-else>
{{ {{
`${participations.length} ${$t("alsijil.coursebook.notes.persons")}` $tc("alsijil.coursebook.notes.persons", participations.length)
}} }}
</span> </span>
</span> </span>
...@@ -166,7 +169,10 @@ import TextNoteCard from "../personal_notes/TextNoteCard.vue"; ...@@ -166,7 +169,10 @@ import TextNoteCard from "../personal_notes/TextNoteCard.vue";
</template> </template>
<span v-else> <span v-else>
{{ {{
`${tardyParticipations.length} ${$t("alsijil.coursebook.notes.persons")}` $tc(
"alsijil.coursebook.notes.persons",
tardyParticipations.length,
)
}} }}
</span> </span>
</span> </span>
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
"notes": { "notes": {
"show_list": "List of participants", "show_list": "List of participants",
"future": "Lesson is in the future", "future": "Lesson is in the future",
"persons": "Persons" "persons": "One person | {count} persons"
}, },
"notices": { "notices": {
"future": "Editing this lesson isn't allowed as this lesson is in the future.", "future": "Editing this lesson isn't allowed as this lesson is in the future.",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment