regroup change username

This commit is contained in:
Niklas Fiekas 2021-06-16 21:46:04 +02:00
parent 8befef746b
commit b036468e75

View file

@ -34,6 +34,9 @@ object layout {
a(activeCls("editProfile"), href := routes.Account.profile)(
trans.editProfile()
),
a(activeCls("username"), href := routes.Account.username)(
trans.changeUsername()
),
isGranted(_.Coach) option a(activeCls("coach"), href := routes.Coach.edit)(
trans.coach.lichessCoach()
),
@ -44,9 +47,6 @@ object layout {
a(activeCls("email"), href := routes.Account.email)(
trans.changeEmail()
),
a(activeCls("username"), href := routes.Account.username)(
trans.changeUsername()
),
a(activeCls("twofactor"), href := routes.Account.twoFactor)(
trans.tfa.twoFactorAuth()
),