Resolve Bootstrap 5.3 deprecations

This commit is contained in:
Sebastian Serth
2023-07-02 18:49:05 +02:00
parent 53ff809430
commit aab3b95a1d
6 changed files with 8 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ h1 = @user.displayname
- if study_group_membership.study_group_id == current_user.current_study_group_id
span.text-success =< t('users.show.current_study_group')
- else
=< link_to(t('users.show.set_as_current_study_group'), set_as_current_study_group_path(study_group_membership.study_group), method: :post, class: 'text-muted')
=< link_to(t('users.show.set_as_current_study_group'), set_as_current_study_group_path(study_group_membership.study_group), method: :post, class: 'text-body-secondary')
- elsif @user == current_user && study_group_membership.role_teacher? && study_group_membership.study_group_id == current_user.current_study_group_id
| ,
span.text-success =< t('users.show.current_study_group')