make info+danger hint links readable again
This commit is contained in:
parent
4378fa2d7d
commit
c93c241dc9
|
@ -37,7 +37,7 @@ function user_angeltypes_unconfirmed_hint()
|
|||
|
||||
$unconfirmed_links = [];
|
||||
foreach ($unconfirmed_user_angeltypes as $user_angeltype) {
|
||||
$unconfirmed_links[] = '<a class="text-info" href="'
|
||||
$unconfirmed_links[] = '<a href="'
|
||||
. page_link_to('angeltypes', ['action' => 'view', 'angeltype_id' => $user_angeltype->angel_type_id])
|
||||
. '">' . $user_angeltype->angelType->name
|
||||
. ' (+' . $user_angeltype->count . ')'
|
||||
|
|
|
@ -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.'),
|
||||
'<a href="' . user_driver_license_edit_link() . '" class="text-info">' . __('driving license information') . '</a>'
|
||||
'<a href="' . user_driver_license_edit_link() . '">' . __('driving license information') . '</a>'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ function user_ifsg_certificate_required_hint()
|
|||
if ($angeltype->requires_ifsg_certificate) {
|
||||
return sprintf(
|
||||
__('angeltype.ifsg.required.info.here'),
|
||||
'<a href="' . url('/settings/certificates') . '" class="text-info">' . __('ifsg.info') . '</a>'
|
||||
'<a href="' . url('/settings/certificates') . '">' . __('ifsg.info') . '</a>'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue