added grade delay to details and other small shit

This commit is contained in:
Kima
2024-09-27 23:07:18 +02:00
parent 92fe3b7dcd
commit 7919d0e284
7 changed files with 30 additions and 8 deletions

View File

@@ -56,6 +56,16 @@ class AccountView extends StatelessWidget {
Detail(
title: "parents".plural(user.student.parents.length),
description: user.student.parents.join(", ")),
if (user.student.gradeDelay > 0)
Detail(
title: "grade_delay".i18n,
description: "hrs".i18n.fill([user.student.gradeDelay]),
),
// if ((user.student.bankAccount ?? "").isNotEmpty)
// Detail(
// title: "bank_account".i18n,
// description: (user.student.bankAccount ?? "not_provided".i18n),
// ),
const SizedBox(
height: 10.0,
),