diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsTardinessCard.vue b/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsTardinessCard.vue index 87aae21f6f25c8882d471c33b004d6d1c41e5566..5944e44e1c153ec018c9f38b3c54e135cb0b4682 100644 --- a/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsTardinessCard.vue +++ b/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsTardinessCard.vue @@ -8,9 +8,16 @@ <div class="text-subtitle-2"> {{ $tc("alsijil.personal_notes.tardiness_n", tardinessCount) }} </div> - <div class="text-subtitle-2"> + <div class="text-caption"> <!-- TODO: Show average tardiness instead of sum like mock-up? --> - {{ tardinessSum }} + <div> + <v-icon small>mdi-sigma</v-icon> + {{ $tc("time.minutes_n", tardinessSum) }} + </div> + <div> + <v-icon small>mdi-diameter-variant</v-icon> + {{ $tc("time.minutes_n", (tardinessSum / tardinessCount).toFixed(2)) }} + </div> </div> </v-card-text> </v-card>