diff --git a/includes/controller/user_angeltypes_controller.php b/includes/controller/user_angeltypes_controller.php index d0ab2499..7b43d19f 100644 --- a/includes/controller/user_angeltypes_controller.php +++ b/includes/controller/user_angeltypes_controller.php @@ -37,7 +37,7 @@ function user_angeltypes_unconfirmed_hint() $unconfirmed_links = []; foreach ($unconfirmed_user_angeltypes as $user_angeltype) { - $unconfirmed_links[] = ' 'view', 'angeltype_id' => $user_angeltype->angel_type_id]) . '">' . $user_angeltype->angelType->name . ' (+' . $user_angeltype->count . ')' diff --git a/includes/controller/user_driver_licenses_controller.php b/includes/controller/user_driver_licenses_controller.php index 730bd665..fb1357cc 100644 --- a/includes/controller/user_driver_licenses_controller.php +++ b/includes/controller/user_driver_licenses_controller.php @@ -22,7 +22,7 @@ function user_driver_license_required_hint() if ($angeltype->requires_driver_license) { return sprintf( __('You joined an angeltype which requires a driving license. Please edit your driving license information here: %s.'), - '' . __('driving license information') . '' + '' . __('driving license information') . '' ); } } @@ -44,7 +44,7 @@ function user_ifsg_certificate_required_hint() if ($angeltype->requires_ifsg_certificate) { return sprintf( __('angeltype.ifsg.required.info.here'), - '' . __('ifsg.info') . '' + '' . __('ifsg.info') . '' ); } } diff --git a/includes/view/User_view.php b/includes/view/User_view.php index a1080e03..cdb4fa2d 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -958,7 +958,7 @@ function render_user_tshirt_hint() $goodie_tshirt = $goodie === GoodieType::Tshirt; if ($goodie_tshirt && !auth()->user()->personalData->shirt_size) { $text = __('You need to specify a tshirt size in your settings!'); - return render_profile_link($text, null, 'text-danger'); + return render_profile_link($text); } return null; @@ -972,7 +972,7 @@ function render_user_dect_hint() $user = auth()->user(); if ($user->state->arrived && config('enable_dect') && !$user->contact->dect) { $text = __('You need to specify a DECT phone number in your settings! If you don\'t have a DECT phone, just enter \'-\'.'); - return render_profile_link($text, null, 'text-danger'); + return render_profile_link($text); } return null;