From 08ec0a6c25147ee47455211006dfa7179eb91d99 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Thu, 27 May 2021 15:08:22 +0200 Subject: [PATCH] Update data-toggle to data-bs-toggle --- .../templates/careers/jobopening_apply.html | 2 +- .../templates/careers/jobopening_detail.html | 2 +- .../colleges/_potentialfellowship_card.html | 8 ++-- .../_potentialfellowship_voting_table.html | 2 +- .../templates/colleges/college_detail.html | 4 +- .../templates/colleges/fellowship_list.html | 4 +- .../colleges/potentialfellowship_list.html | 6 +-- .../comments/_comment_identifier.html | 2 +- .../templates/comments/comments_block.html | 2 +- .../finances/subsidyattachment_form.html | 2 +- .../forums/templates/forums/forum_detail.html | 4 +- .../forums/templates/forums/post_card.html | 8 ++-- .../templates/funders/funders_dashboard.html | 4 +- .../helpdesk/_ticket_for_object_link.html | 2 +- .../templates/helpdesk/_tickets_tablist.html | 8 ++-- .../templates/helpdesk/queue_badges.html | 8 ++-- .../templates/helpdesk/queue_detail.html | 2 +- .../templates/helpdesk/tickets_table.html | 8 ++-- .../_registrationinvitation_table.html | 2 +- .../journals/_publication_card_content.html | 2 +- .../journals/_publication_summary.html | 4 +- .../templates/journals/_references.html | 2 +- .../journals/journal_landing_page.html | 10 ++--- .../journals/manage_comment_metadata.html | 2 +- .../journals/manage_report_metadata.html | 2 +- .../journals/manage_update_metadata.html | 2 +- .../journals/templates/journals/metrics.html | 6 +-- .../journals/publication_detail.html | 2 +- .../news/templates/news/news_manage.html | 2 +- .../organizations/_organization_card.html | 18 ++++---- .../templates/organizations/dashboard.html | 8 ++-- .../organizations/organization_list.html | 4 +- scipost_django/organizations/views.py | 2 +- .../proceedings/proceedings_details.html | 2 +- .../production/_production_stream_card.html | 10 ++--- .../templates/production/production.html | 6 +-- .../templates/profiles/_profile_card.html | 4 +- .../templates/profiles/profile_list.html | 4 +- .../static/scipost/assets/css/_icons.scss | 2 +- .../static/scipost/assets/css/_tooltip.scss | 2 +- .../scipost/assets/css/_typography.scss | 2 +- .../static/scipost/assets/js/scripts.js | 4 +- .../scipost/button-toggle-modal-load.js | 2 +- .../templates/scipost/EdCol_by-laws.html | 8 ++-- .../EdCol_by-laws_Changes_2021-04.html | 8 ++-- .../scipost/templates/scipost/FAQ.html | 44 +++++++++---------- .../templates/scipost/_contributor_short.html | 2 +- .../scipost/_personal_page_refereeing.html | 2 +- .../templates/scipost/contributor_info.html | 12 ++--- .../templates/scipost/totpdevice_form.html | 2 +- .../security/_breaches_accordion.html | 2 +- .../templates/security/_pastes_accordion.html | 2 +- .../templates/series/series_detail.html | 2 +- .../submissions/_arxiv_queryresult.html | 2 +- ...s_recommendations_card_fellow_content.html | 2 +- .../submissions/_refereeing_status_as_tr.html | 4 +- .../_refinv_auto_reminders_tooltip.html | 2 +- .../templates/submissions/_remark_form.html | 2 +- .../_report_public_without_comments.html | 4 +- .../_submission_author_information.html | 2 +- .../_submission_editorial_information.html | 2 +- .../admin/_recommendation_tooltip.html | 2 +- .../recommendation_prepare_for_voting.html | 4 +- .../admin/submission_preassign_editors.html | 8 ++-- .../pool/_referee_invitations.html | 12 ++--- .../pool/_required_actions_tooltip.html | 2 +- .../_submission_comments_summary_table.html | 2 +- .../pool/_submission_info_table.html | 2 +- .../submissions/pool/_submission_li.html | 6 +-- .../submissions/pool/_submission_tooltip.html | 2 +- .../templates/submissions/pool/pool.html | 2 +- .../submissions/submission_detail.html | 2 +- .../submissions/submit_choose_journal.html | 2 +- .../templates/rest_framework/api.html | 8 ++-- 74 files changed, 171 insertions(+), 171 deletions(-) diff --git a/scipost_django/careers/templates/careers/jobopening_apply.html b/scipost_django/careers/templates/careers/jobopening_apply.html index 43a9196f7..79faa5ba9 100644 --- a/scipost_django/careers/templates/careers/jobopening_apply.html +++ b/scipost_django/careers/templates/careers/jobopening_apply.html @@ -24,7 +24,7 @@ <div class="row"> <div class="col-12"> - <button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#jobdetails" aria-expanded="false" aria-controls="jobdetails">Show/hide job details</button> + <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-target="#jobdetails" aria-expanded="false" aria-controls="jobdetails">Show/hide job details</button> <div class="collapse" id="jobdetails"> {% include 'careers/_jobopening_card.html' with jobopening=jobopening %} diff --git a/scipost_django/careers/templates/careers/jobopening_detail.html b/scipost_django/careers/templates/careers/jobopening_detail.html index be3ecf728..c161d9685 100644 --- a/scipost_django/careers/templates/careers/jobopening_detail.html +++ b/scipost_django/careers/templates/careers/jobopening_detail.html @@ -28,7 +28,7 @@ {% for jobapp in jobopening.jobapplication_set.all %} <div class="card"> <div class="card-header"> - <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapse{{ forloop.counter }}">{{ jobapp.last_name }}, {{ jobapp.get_title_display }} {{ jobapp.first_name }}</button> + <button class="btn btn-link" type="button" data-bs-toggle="collapse" data-target="#collapse{{ forloop.counter }}">{{ jobapp.last_name }}, {{ jobapp.get_title_display }} {{ jobapp.first_name }}</button> </div> <div class="collapse" id="collapse{{ forloop.counter }}"> <div class="card-body" data-parent="jobappAccordion"> diff --git a/scipost_django/colleges/templates/colleges/_potentialfellowship_card.html b/scipost_django/colleges/templates/colleges/_potentialfellowship_card.html index ba53f80dc..20c1f2c6b 100644 --- a/scipost_django/colleges/templates/colleges/_potentialfellowship_card.html +++ b/scipost_django/colleges/templates/colleges/_potentialfellowship_card.html @@ -15,7 +15,7 @@ <div class="card"> <div class="card-header" id="potfelProfile"> <h4 class="mb-0"> - <button class="btn btn-link" data-toggle="collapse" data-target="#collapseProfile" aria-expanded="true" aria-controls="collapseProfile"> + <button class="btn btn-link" data-bs-toggle="collapse" data-target="#collapseProfile" aria-expanded="true" aria-controls="collapseProfile"> View Profile </button> </h4> @@ -80,7 +80,7 @@ <tr> <td>{{ fellow }}</td> <td>{% for specialty in fellow.profile.specialties.all %} - <div class="single d-inline{% if specialty in potfel.profile.specialties.all %} px-1 bg-success{% endif %}" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code}}</div> + <div class="single d-inline{% if specialty in potfel.profile.specialties.all %} px-1 bg-success{% endif %}" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code}}</div> {% endfor %} </td> </tr> @@ -96,7 +96,7 @@ <tr> <td>{{ fellow }}</td> <td>{% for specialty in fellow.profile.specialties.all %} - <div class="single d-inline{% if specialty in potfel.profile.specialties.all %} px-1 bg-success{% endif %}" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> + <div class="single d-inline{% if specialty in potfel.profile.specialties.all %} px-1 bg-success{% endif %}" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> {% endfor %} </td> </tr> @@ -112,7 +112,7 @@ <tr> <td>{{ fellow }}</td> <td>{% for specialty in fellow.profile.specialties.all %} - <div class="single d-inline{% if specialty in potfel.profile.specialties.all %} px-1 bg-success{% endif %}" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> + <div class="single d-inline{% if specialty in potfel.profile.specialties.all %} px-1 bg-success{% endif %}" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> {% endfor %} </td> </tr> diff --git a/scipost_django/colleges/templates/colleges/_potentialfellowship_voting_table.html b/scipost_django/colleges/templates/colleges/_potentialfellowship_voting_table.html index 7e4ea99e1..a4cbf758b 100644 --- a/scipost_django/colleges/templates/colleges/_potentialfellowship_voting_table.html +++ b/scipost_django/colleges/templates/colleges/_potentialfellowship_voting_table.html @@ -9,7 +9,7 @@ <td>{{ potfel.profile.acad_field }}</td> <td> {% for specialty in potfel.profile.specialties.all %} - <div class="single d-inline" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code}}</div> + <div class="single d-inline" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code}}</div> {% endfor %} </td> <td> diff --git a/scipost_django/colleges/templates/colleges/college_detail.html b/scipost_django/colleges/templates/colleges/college_detail.html index 9cd770282..44aa921ec 100644 --- a/scipost_django/colleges/templates/colleges/college_detail.html +++ b/scipost_django/colleges/templates/colleges/college_detail.html @@ -32,8 +32,8 @@ <div class="row"> <div class="col-md-6"> - <button class="btn btn-primary" data-toggle="toggle-show" data-target="#specialties-{{ college.acad_field }}">Select by specialty</button> - <button class="btn btn-primary" style="display: none;" data-toggle="toggle-show" data-target="#specialties-{{ college.acad_field }}">Show full list of Fellows</button> + <button class="btn btn-primary" data-bs-toggle="toggle-show" data-target="#specialties-{{ college.acad_field }}">Select by specialty</button> + <button class="btn btn-primary" style="display: none;" data-bs-toggle="toggle-show" data-target="#specialties-{{ college.acad_field }}">Show full list of Fellows</button> <div id="specialties-{{ college.acad_field }}" class="card bg-white border-default all-specialties mt-2" style="display: none"> <div class="card-body"> <p><em class="text-muted mt-2">Hover to highlight or click to select</em></p> diff --git a/scipost_django/colleges/templates/colleges/fellowship_list.html b/scipost_django/colleges/templates/colleges/fellowship_list.html index 03e3aa5e6..9ddd3574f 100644 --- a/scipost_django/colleges/templates/colleges/fellowship_list.html +++ b/scipost_django/colleges/templates/colleges/fellowship_list.html @@ -47,7 +47,7 @@ {% for acad_field in branch.academic_fields.all %} <li class="list-inline-item m-1"> <div class="dropdown"> - <button class="btn btn-primary dropdown-toggle py-1 px-2" type="button" id="dropdownMenuButton{{ acad_field.slug }}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><small>{{ acad_field }}</small></button> + <button class="btn btn-primary dropdown-toggle py-1 px-2" type="button" id="dropdownMenuButton{{ acad_field.slug }}" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><small>{{ acad_field }}</small></button> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton{{ acad_field.slug }}"> <a class="dropdown-item" href="{% url 'colleges:fellowships' acad_field=acad_field.slug %}"><small>View all in {{ acad_field }}</small></a> {% for specialty in acad_field.specialties.all %} @@ -119,7 +119,7 @@ <td>{{ fellow.contributor.profile.acad_field }} <br/> {% for specialty in fellow.contributor.profile.specialties.all %} - <div class="single d-inline text-muted" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> + <div class="single d-inline text-muted" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> {% endfor %} </td> <td> diff --git a/scipost_django/colleges/templates/colleges/potentialfellowship_list.html b/scipost_django/colleges/templates/colleges/potentialfellowship_list.html index 031d68c33..7e41e1a7b 100644 --- a/scipost_django/colleges/templates/colleges/potentialfellowship_list.html +++ b/scipost_django/colleges/templates/colleges/potentialfellowship_list.html @@ -69,7 +69,7 @@ {% for acad_field in branch.academic_fields.all %} <li class="list-inline-item m-1"> <div class="dropdown"> - <button class="btn btn-primary dropdown-toggle py-1 px-2" type="button" id="dropdownMenuButton{{ acad_field.slug }}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><small>{{ acad_field }}</small></button> + <button class="btn btn-primary dropdown-toggle py-1 px-2" type="button" id="dropdownMenuButton{{ acad_field.slug }}" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><small>{{ acad_field }}</small></button> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton{{ acad_field.slug }}"> <a class="dropdown-item" href="{% url 'colleges:potential_fellowships' acad_field=acad_field.slug %}"><small>View all in {{ acad_field }}</small></a> {% for specialty in acad_field.specialties.all %} @@ -88,7 +88,7 @@ </table> <div class="dropdown"> - <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButtonStatus" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Filter by status</button> + <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButtonStatus" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Filter by status</button> <div class="dropdown-menu" aria-labelledby="dropdownMenuButtonStatus"> <a class="dropdown-item" href="">View all</a> {% for status in statuses %} @@ -142,7 +142,7 @@ <td>{{ potfel.profile.acad_field }} <br/> {% for specialty in potfel.profile.specialties.all %} - <div class="single d-inline text-muted" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> + <div class="single d-inline text-muted" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> {% endfor %} </td> <td>{{ potfel.college }}</td> diff --git a/scipost_django/comments/templates/comments/_comment_identifier.html b/scipost_django/comments/templates/comments/_comment_identifier.html index 47e8a1bb1..688493747 100644 --- a/scipost_django/comments/templates/comments/_comment_identifier.html +++ b/scipost_django/comments/templates/comments/_comment_identifier.html @@ -34,7 +34,7 @@ {% if comment.anonymous %} {% if request.user.contributor and request.user.contributor == comment.core_content_object.editor_in_charge or is_ed_admin %} <br> - <button class="btn btn-sm btn-danger text-white my-2" data-toggle="modal" data-target="#modalCommentAuthor{{ comment.id }}" aria-expanded="false" aria-controls="modalCommentAuthor"> + <button class="btn btn-sm btn-danger text-white my-2" data-bs-toggle="modal" data-target="#modalCommentAuthor{{ comment.id }}" aria-expanded="false" aria-controls="modalCommentAuthor"> Display Comment Author's Identity </button> <div class="modal" id="modalCommentAuthor{{ comment.id }}"> diff --git a/scipost_django/comments/templates/comments/comments_block.html b/scipost_django/comments/templates/comments/comments_block.html index e3dc216ac..d5b383e22 100644 --- a/scipost_django/comments/templates/comments/comments_block.html +++ b/scipost_django/comments/templates/comments/comments_block.html @@ -5,7 +5,7 @@ <div class="card bg-light"> <div class="card-body"> <h2 class="card-title mb-0">Comments{% if type_of_object %} on this {{type_of_object}}{% endif %}</h2> - <button type="button" class="btn btn-link p-0" data-toggle="toggle" data-target="#commentslist"><small>Toggle comments view</small></button> + <button type="button" class="btn btn-link p-0" data-bs-toggle="toggle" data-target="#commentslist"><small>Toggle comments view</small></button> </div> </div> </div> diff --git a/scipost_django/finances/templates/finances/subsidyattachment_form.html b/scipost_django/finances/templates/finances/subsidyattachment_form.html index a4485290a..1f222f269 100644 --- a/scipost_django/finances/templates/finances/subsidyattachment_form.html +++ b/scipost_django/finances/templates/finances/subsidyattachment_form.html @@ -49,7 +49,7 @@ {% for code in countrycodes %} {% get_country code as country_obj %} <li style="display: inline-block;"> - <i class="{{ country_obj.flag_css }}" aria-label="{{ country_obj.code }}" data-toggle="tooltip" title="{{ country_obj.name }}: {{ country_obj.code }}"></i> + <i class="{{ country_obj.flag_css }}" aria-label="{{ country_obj.code }}" data-bs-toggle="tooltip" title="{{ country_obj.name }}: {{ country_obj.code }}"></i> </li> {% endfor %} </ul> diff --git a/scipost_django/forums/templates/forums/forum_detail.html b/scipost_django/forums/templates/forums/forum_detail.html index 95fbbf234..53afb4f9f 100644 --- a/scipost_django/forums/templates/forums/forum_detail.html +++ b/scipost_django/forums/templates/forums/forum_detail.html @@ -64,7 +64,7 @@ <div class="card"> <div class="card-header"> Permissions on this {% if forum.meeting %}Meeting{% else %}Forum{% endif %} instance - <button class="btn btn-link small" data-toggle="collapse" data-target="#permissionsCard"> + <button class="btn btn-link small" data-bs-toggle="collapse" data-target="#permissionsCard"> View/manage</button> </div> <div class="card-body collapse" id="permissionsCard"> @@ -117,7 +117,7 @@ <div class="col"> <div class="card"> <div class="card-header"> - <button class="btn btn-primary btn-small" data-toggle="collapse" data-target="#recentPostsLinks"> + <button class="btn btn-primary btn-small" data-bs-toggle="collapse" data-target="#recentPostsLinks"> Quick links: posts and motions (click to toggle) </button> </div> diff --git a/scipost_django/forums/templates/forums/post_card.html b/scipost_django/forums/templates/forums/post_card.html index ae3ed8664..049c89f63 100644 --- a/scipost_django/forums/templates/forums/post_card.html +++ b/scipost_django/forums/templates/forums/post_card.html @@ -46,22 +46,22 @@ </div> <div> <form action="{% url 'forums:motion_vote' slug=forum.slug motion_id=post.motion.id vote='Y' %}" method="post">{% csrf_token %} - <input type="submit" class="btn btn-success" data-toggle="tooltip" data-placement="top" data-html="true" title="Agree{% if perms.forums.can_change_forum %}<ul>{% for f in post.motion.in_agreement.all %}<li>{{ f.last_name }}, {{ f.first_name }}</li>{% endfor %}</ul>{% endif %}" value="{{ post.motion.in_agreement.all|length }}"> + <input type="submit" class="btn btn-success" data-bs-toggle="tooltip" data-placement="top" data-html="true" title="Agree{% if perms.forums.can_change_forum %}<ul>{% for f in post.motion.in_agreement.all %}<li>{{ f.last_name }}, {{ f.first_name }}</li>{% endfor %}</ul>{% endif %}" value="{{ post.motion.in_agreement.all|length }}"> </form> </div> <div> <form action="{% url 'forums:motion_vote' slug=forum.slug motion_id=post.motion.id vote='M' %}" method="post">{% csrf_token %} - <input type="submit" class="btn btn-warning" data-toggle="tooltip" data-placement="top" data-html="true" title="Doubt{% if perms.forums.can_change_forum %}<ul>{% for f in post.motion.in_doubt.all %}<li>{{ f.last_name }}, {{ f.first_name }}</li>{% endfor %}</ul>{% endif %}" value="{{ post.motion.in_doubt.all|length }}"> + <input type="submit" class="btn btn-warning" data-bs-toggle="tooltip" data-placement="top" data-html="true" title="Doubt{% if perms.forums.can_change_forum %}<ul>{% for f in post.motion.in_doubt.all %}<li>{{ f.last_name }}, {{ f.first_name }}</li>{% endfor %}</ul>{% endif %}" value="{{ post.motion.in_doubt.all|length }}"> </form> </div> <div> <form action="{% url 'forums:motion_vote' slug=forum.slug motion_id=post.motion.id vote='N' %}" method="post">{% csrf_token %} - <input type="submit" class="btn btn-danger" data-toggle="tooltip" data-placement="top" data-html="true" title="Disagree{% if perms.forums.can_change_forum %}<ul>{% for f in post.motion.in_disagreement.all %}<li>{{ f.last_name }}, {{ f.first_name }}</li>{% endfor %}</ul>{% endif %}" value="{{ post.motion.in_disagreement.all|length }}"> + <input type="submit" class="btn btn-danger" data-bs-toggle="tooltip" data-placement="top" data-html="true" title="Disagree{% if perms.forums.can_change_forum %}<ul>{% for f in post.motion.in_disagreement.all %}<li>{{ f.last_name }}, {{ f.first_name }}</li>{% endfor %}</ul>{% endif %}" value="{{ post.motion.in_disagreement.all|length }}"> </form> </div> <div> <form action="{% url 'forums:motion_vote' slug=forum.slug motion_id=post.motion.id vote='A' %}" method="post">{% csrf_token %} - <input type="submit" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" data-html="true" title="Abstain{% if perms.forums.can_change_forum %}<ul>{% for f in post.motion.in_abstain.all %}<li>{{ f.last_name }}, {{ f.first_name }}</li>{% endfor %}</ul>{% endif %}" value="{{ post.motion.in_abstain.all|length }}"> + <input type="submit" class="btn btn-secondary" data-bs-toggle="tooltip" data-placement="top" data-html="true" title="Abstain{% if perms.forums.can_change_forum %}<ul>{% for f in post.motion.in_abstain.all %}<li>{{ f.last_name }}, {{ f.first_name }}</li>{% endfor %}</ul>{% endif %}" value="{{ post.motion.in_abstain.all|length }}"> </form> </div> <div class="align-self-center px-2"> diff --git a/scipost_django/funders/templates/funders/funders_dashboard.html b/scipost_django/funders/templates/funders/funders_dashboard.html index 68574b03e..ccf786e39 100644 --- a/scipost_django/funders/templates/funders/funders_dashboard.html +++ b/scipost_django/funders/templates/funders/funders_dashboard.html @@ -25,10 +25,10 @@ <!-- Nav tabs --> <ul class="nav btn-group personal-page-nav" role="tablist"> <li class="nav-item btn btn-outline-secondary"> - <a href="#funders" class="nav-link active" data-toggle="tab">Funders</a> + <a href="#funders" class="nav-link active" data-bs-toggle="tab">Funders</a> </li> <li class="nav-item btn btn-outline-secondary"> - <a href="#grants" class="nav-link" data-toggle="tab">Grants</a> + <a href="#grants" class="nav-link" data-bs-toggle="tab">Grants</a> </li> </ul> </div> diff --git a/scipost_django/helpdesk/templates/helpdesk/_ticket_for_object_link.html b/scipost_django/helpdesk/templates/helpdesk/_ticket_for_object_link.html index 6261e7b2a..30e2d3ae5 100644 --- a/scipost_django/helpdesk/templates/helpdesk/_ticket_for_object_link.html +++ b/scipost_django/helpdesk/templates/helpdesk/_ticket_for_object_link.html @@ -1 +1 @@ -<a href="{% url 'helpdesk:ticket_create' concerning_type_id=type_id concerning_object_id=id %}" target="_blank" class="float-right p-0"><span style="font-size: 90%;" data-toggle="tooltip" data-html="true" title="Notice something wrong?<br/>Open a support ticket on this {{ model }}">{% include 'bi/sticky-fill.html' %}</span></a> +<a href="{% url 'helpdesk:ticket_create' concerning_type_id=type_id concerning_object_id=id %}" target="_blank" class="float-right p-0"><span style="font-size: 90%;" data-bs-toggle="tooltip" data-html="true" title="Notice something wrong?<br/>Open a support ticket on this {{ model }}">{% include 'bi/sticky-fill.html' %}</span></a> diff --git a/scipost_django/helpdesk/templates/helpdesk/_tickets_tablist.html b/scipost_django/helpdesk/templates/helpdesk/_tickets_tablist.html index e135c93f9..3865a8643 100644 --- a/scipost_django/helpdesk/templates/helpdesk/_tickets_tablist.html +++ b/scipost_django/helpdesk/templates/helpdesk/_tickets_tablist.html @@ -2,17 +2,17 @@ <ul class="nav nav-tabs" id="ticketsTab{{ marker }}" role="tablist"> {% if unassigned|length > 0 %} <li class="nav-item"> - <a class="nav-link" id="ticketsUnassigned{{ marker }}-tab" data-toggle="tab" href="#ticketsUnassigned{{ marker }}" role="tab" aria-controls="ticketsUnassigned{{ marker }}" aria-selected="true">Unassigned <span class="badge badge-danger">{{ unassigned|length }}</span></a> + <a class="nav-link" id="ticketsUnassigned{{ marker }}-tab" data-bs-toggle="tab" href="#ticketsUnassigned{{ marker }}" role="tab" aria-controls="ticketsUnassigned{{ marker }}" aria-selected="true">Unassigned <span class="badge badge-danger">{{ unassigned|length }}</span></a> </li> {% endif %} <li class="nav-item"> - <a class="nav-link" id="ticketsAwaiting{{ marker }}-tab" data-toggle="tab" href="#ticketsAwaiting{{ marker }}" role="tab" aria-controls="ticketsAwaiting{{ marker }}" aria-selected="true">Awaiting handling <span class="badge badge-warning">{{ tickets.awaiting_handling|length }}</span></a> + <a class="nav-link" id="ticketsAwaiting{{ marker }}-tab" data-bs-toggle="tab" href="#ticketsAwaiting{{ marker }}" role="tab" aria-controls="ticketsAwaiting{{ marker }}" aria-selected="true">Awaiting handling <span class="badge badge-warning">{{ tickets.awaiting_handling|length }}</span></a> </li> <li class="nav-item"> - <a class="nav-link active" id="ticketsInHandling{{ marker }}-tab" data-toggle="tab" href="#ticketsInHandling{{ marker }}" role="tab" aria-controls="ticketsInHandling{{ marker }}" aria-selected="false">In handling <span class="badge badge-success">{{ tickets.in_handling|length }}</span></a> + <a class="nav-link active" id="ticketsInHandling{{ marker }}-tab" data-bs-toggle="tab" href="#ticketsInHandling{{ marker }}" role="tab" aria-controls="ticketsInHandling{{ marker }}" aria-selected="false">In handling <span class="badge badge-success">{{ tickets.in_handling|length }}</span></a> </li> <li class="nav-item"> - <a class="nav-link" id="ticketsHandled{{ marker }}-tab" data-toggle="tab" href="#ticketsHandled{{ marker }}" role="tab" aria-controls="ticketsHandled{{ marker }}" aria-selected="false">Handled <span class="badge badge-primary">{{ tickets.handled|length }}</span></a> + <a class="nav-link" id="ticketsHandled{{ marker }}-tab" data-bs-toggle="tab" href="#ticketsHandled{{ marker }}" role="tab" aria-controls="ticketsHandled{{ marker }}" aria-selected="false">Handled <span class="badge badge-primary">{{ tickets.handled|length }}</span></a> </li> </ul> <div class="tab-content" id="ticketsTabContent{{ marker }}"> diff --git a/scipost_django/helpdesk/templates/helpdesk/queue_badges.html b/scipost_django/helpdesk/templates/helpdesk/queue_badges.html index b64709704..03c619b1d 100644 --- a/scipost_django/helpdesk/templates/helpdesk/queue_badges.html +++ b/scipost_django/helpdesk/templates/helpdesk/queue_badges.html @@ -1,4 +1,4 @@ -<span class="badge badge-danger" data-toggle="tooltip" title="Unassigned Tickets">{{ queue.nr_unassigned }}</span> -<span class="badge badge-warning" data-toggle="tooltip" data-html="true" title="Assigned,<br/>awaiting handling">{{ queue.nr_awaiting_handling }}</span> -<span class="badge badge-success" data-toggle="tooltip" title="In handling">{{ queue.nr_in_handling }}</span> -<span class="badge badge-primary" data-toggle="tooltip" title="Handled Tickets">{{ queue.nr_handled }}</span> +<span class="badge badge-danger" data-bs-toggle="tooltip" title="Unassigned Tickets">{{ queue.nr_unassigned }}</span> +<span class="badge badge-warning" data-bs-toggle="tooltip" data-html="true" title="Assigned,<br/>awaiting handling">{{ queue.nr_awaiting_handling }}</span> +<span class="badge badge-success" data-bs-toggle="tooltip" title="In handling">{{ queue.nr_in_handling }}</span> +<span class="badge badge-primary" data-bs-toggle="tooltip" title="Handled Tickets">{{ queue.nr_handled }}</span> diff --git a/scipost_django/helpdesk/templates/helpdesk/queue_detail.html b/scipost_django/helpdesk/templates/helpdesk/queue_detail.html index 2304c7100..946fc84f2 100644 --- a/scipost_django/helpdesk/templates/helpdesk/queue_detail.html +++ b/scipost_django/helpdesk/templates/helpdesk/queue_detail.html @@ -45,7 +45,7 @@ <div class="card"> <div class="card-header"> Permissions on this Queue instance - <button class="btn btn-link small" data-toggle="collapse" data-target="#permissionsCard"> + <button class="btn btn-link small" data-bs-toggle="collapse" data-target="#permissionsCard"> View/manage</button> </div> <div class="card-body collapse" id="permissionsCard"> diff --git a/scipost_django/helpdesk/templates/helpdesk/tickets_table.html b/scipost_django/helpdesk/templates/helpdesk/tickets_table.html index 998b03e6c..9ee4dec69 100644 --- a/scipost_django/helpdesk/templates/helpdesk/tickets_table.html +++ b/scipost_django/helpdesk/templates/helpdesk/tickets_table.html @@ -22,7 +22,7 @@ {% endif %} </td> <td>{{ ticket.defined_on|date:"Y-m-d" }}</td> - <td data-toggle="tooltip" title="{{ ticket.priority }}"> + <td data-bs-toggle="tooltip" title="{{ ticket.priority }}"> {% for a in "x"|ljust:ticket.priority_level %} {% include 'bi/exclamation-square-fill.html' %} {% endfor %} @@ -35,9 +35,9 @@ {% endwith %} {% with level=ticket.progress_level %} <td> - <i class="fa fa{{ level.1 }}-square" data-toggle="tooltip" title="Assigned?"></i> - <i class="fa fa{{ level.2 }}-square" data-toggle="tooltip" title="In handling?"></i> - <i class="fa fa{{ level.3 }}-square" data-toggle="tooltip" title="Handled?"></i> + <i class="fa fa{{ level.1 }}-square" data-bs-toggle="tooltip" title="Assigned?"></i> + <i class="fa fa{{ level.2 }}-square" data-bs-toggle="tooltip" title="In handling?"></i> + <i class="fa fa{{ level.3 }}-square" data-bs-toggle="tooltip" title="Handled?"></i> </td> {% endwith %} <td>{% if ticket.assigned_to %}{{ ticket.assigned_to }}{% else %}-{% endif %}</td> diff --git a/scipost_django/invitations/templates/invitations/_registrationinvitation_table.html b/scipost_django/invitations/templates/invitations/_registrationinvitation_table.html index 7e85f2ad8..c3a7bcc34 100644 --- a/scipost_django/invitations/templates/invitations/_registrationinvitation_table.html +++ b/scipost_django/invitations/templates/invitations/_registrationinvitation_table.html @@ -17,7 +17,7 @@ {% for invitation in invitations %} <tr> <td> - <span data-toggle="tooltip" data-html="true" data-title="<ul style='margin-bottom:0; padding: 0 10px 0 20px; min-height: 20px;'>{% for cit in invitation.citation_notifications.all %}<li>{% if cit.submission %}{{ cit.submission.preprint.identifier_w_vn_nr }}{% endif %}{% if cit.publication %}{{ cit.publication.doi_label }}{% endif %}</li>{% endfor %}</ul>">{% include 'bi/paperclip.html' %}</span> + <span data-bs-toggle="tooltip" data-html="true" data-title="<ul style='margin-bottom:0; padding: 0 10px 0 20px; min-height: 20px;'>{% for cit in invitation.citation_notifications.all %}<li>{% if cit.submission %}{{ cit.submission.preprint.identifier_w_vn_nr }}{% endif %}{% if cit.publication %}{{ cit.publication.doi_label }}{% endif %}</li>{% endfor %}</ul>">{% include 'bi/paperclip.html' %}</span> {{ invitation.last_name }}, {{ invitation.first_name }} </td> <td>{{ invitation.email }}</td> diff --git a/scipost_django/journals/templates/journals/_publication_card_content.html b/scipost_django/journals/templates/journals/_publication_card_content.html index 661d1a412..e7fd94e2b 100644 --- a/scipost_django/journals/templates/journals/_publication_card_content.html +++ b/scipost_django/journals/templates/journals/_publication_card_content.html @@ -14,7 +14,7 @@ {% endif %} </span> <span class="mx-1">|</span> - <button type="button" class="btn btn-link border-0 m-0 p-0" style="line-height: 1rem;" data-toggle="toggle" data-target="#abstract-pub-{{ publication.id }}"><small class="border-0 m-0 p-0">Toggle abstract</small></button> + <button type="button" class="btn btn-link border-0 m-0 p-0" style="line-height: 1rem;" data-bs-toggle="toggle" data-target="#abstract-pub-{{ publication.id }}"><small class="border-0 m-0 p-0">Toggle abstract</small></button> · <a href="{{ publication.get_absolute_url }}/pdf" target="_blank">pdf</a> </p> <p class="abstract mb-0 mt-2 py-2" id="abstract-pub-{{ publication.id }}" style="display:none;">{{ publication.abstract }}</p> diff --git a/scipost_django/journals/templates/journals/_publication_summary.html b/scipost_django/journals/templates/journals/_publication_summary.html index 0bb029fc9..ff17daa73 100644 --- a/scipost_django/journals/templates/journals/_publication_summary.html +++ b/scipost_django/journals/templates/journals/_publication_summary.html @@ -27,8 +27,8 @@ <li class="publicationPDF"> <a href="{{ publication.get_absolute_url }}/pdf" target="_blank">pdf</a> </li> - <li><button type="button" class="btn btn-link p-0" data-toggle="modal" data-target="#bibtextmodal">BiBTeX</button></li> - <li><button type="button" class="btn btn-link p-0" data-toggle="modal" data-target="#rismodal">RIS</button></li> + <li><button type="button" class="btn btn-link p-0" data-bs-toggle="modal" data-target="#bibtextmodal">BiBTeX</button></li> + <li><button type="button" class="btn btn-link p-0" data-bs-toggle="modal" data-target="#rismodal">RIS</button></li> <li><a href="{% url 'submissions:submission' publication.accepted_submission.preprint.identifier_w_vn_nr %}">Submissions/Reports</a></li> <li> <!-- Start Crossmark Snippet v2.0 --> diff --git a/scipost_django/journals/templates/journals/_references.html b/scipost_django/journals/templates/journals/_references.html index a97d2457a..09e5f15fb 100644 --- a/scipost_django/journals/templates/journals/_references.html +++ b/scipost_django/journals/templates/journals/_references.html @@ -1,6 +1,6 @@ {% if publication.references.all %} <h3>References ({{ publication.references.all|length }})</h3> - <button type="button" class="btn btn-link p-0 mb-2 d-block" data-toggle="toggle" data-target="#reference_list"><small>Click to expand</small></button> + <button type="button" class="btn btn-link p-0 mb-2 d-block" data-bs-toggle="toggle" data-target="#reference_list"><small>Click to expand</small></button> <ul class="references" id="reference_list" style="display:none;"> {% for reference in publication.references.all %} <li class="mt-1"> diff --git a/scipost_django/journals/templates/journals/journal_landing_page.html b/scipost_django/journals/templates/journals/journal_landing_page.html index 9e42d6f27..143ed590f 100644 --- a/scipost_django/journals/templates/journals/journal_landing_page.html +++ b/scipost_django/journals/templates/journals/journal_landing_page.html @@ -15,22 +15,22 @@ <div class="col-12"> <ul class="nav nav-tabs" id="journals-about-tab" role="tablist"> <li class="nav-item"> - <a class="nav-link active" id="latest-tab" data-toggle="tab" href="#latest" role="tab" aria-controls="latest" aria-selected="true">Latest publications</a> + <a class="nav-link active" id="latest-tab" data-bs-toggle="tab" href="#latest" role="tab" aria-controls="latest" aria-selected="true">Latest publications</a> </li> <li class="nav-item"> - <a class="nav-link" id="accepted-tab" data-toggle="tab" href="#accepted" role="tab" aria-controls="accepted" aria-selected="true">Accepted Submissions</a> + <a class="nav-link" id="accepted-tab" data-bs-toggle="tab" href="#accepted" role="tab" aria-controls="accepted" aria-selected="true">Accepted Submissions</a> </li> {% if journal.series_set.all|length > 0 %} <li class="nav-item"> - <a class="nav-link" id="series-tab" data-toggle="tab" href="#series" role="tab" aria-controls="series" aria-selected="true">Series</a> + <a class="nav-link" id="series-tab" data-bs-toggle="tab" href="#series" role="tab" aria-controls="series" aria-selected="true">Series</a> </li> {% endif %} <li class="nav-item"> - <a class="nav-link" id="most-cited-tab" data-toggle="tab" href="#most-cited" role="tab" aria-controls="most-cited" aria-selected="true">Most cited</a> + <a class="nav-link" id="most-cited-tab" data-bs-toggle="tab" href="#most-cited" role="tab" aria-controls="most-cited" aria-selected="true">Most cited</a> </li> {% if journal.has_issues %} <li class="nav-item"> - <a class="nav-link" id="issues-tab" data-toggle="tab" href="#issues" role="tab" aria-controls="issues" aria-selected="true">Issues</a> + <a class="nav-link" id="issues-tab" data-bs-toggle="tab" href="#issues" role="tab" aria-controls="issues" aria-selected="true">Issues</a> </li> {% endif %} </ul> diff --git a/scipost_django/journals/templates/journals/manage_comment_metadata.html b/scipost_django/journals/templates/journals/manage_comment_metadata.html index 6bba121fc..b8b97a86c 100644 --- a/scipost_django/journals/templates/journals/manage_comment_metadata.html +++ b/scipost_django/journals/templates/journals/manage_comment_metadata.html @@ -38,7 +38,7 @@ <tbody id="accordion" role="tablist" aria-multiselectable="true"> {% for comment in comments %} - <tr data-toggle="collapse" data-parent="#accordion" href="#collapse{{ comment.id }}" aria-expanded="true" aria-controls="collapse{{ comment.id }}" style="cursor: pointer;"> + <tr data-bs-toggle="collapse" data-parent="#accordion" href="#collapse{{ comment.id }}" aria-expanded="true" aria-controls="collapse{{ comment.id }}" style="cursor: pointer;"> <td>{{ comment }}</td> <td>{{ comment.needs_doi }}</td> <td>{{ comment|latest_successful_crossref_deposit_comment }}</td> diff --git a/scipost_django/journals/templates/journals/manage_report_metadata.html b/scipost_django/journals/templates/journals/manage_report_metadata.html index fdfc5fe3d..7bc428e31 100644 --- a/scipost_django/journals/templates/journals/manage_report_metadata.html +++ b/scipost_django/journals/templates/journals/manage_report_metadata.html @@ -54,7 +54,7 @@ <tbody id="accordion" role="tablist" aria-multiselectable="true"> {% for report in reports %} - <tr data-toggle="collapse" data-parent="#accordion" href="#collapse{{ report.id }}" aria-expanded="true" aria-controls="collapse{{ report.id }}" style="cursor: pointer;"> + <tr data-bs-toggle="collapse" data-parent="#accordion" href="#collapse{{ report.id }}" aria-expanded="true" aria-controls="collapse{{ report.id }}" style="cursor: pointer;"> <td>{{ report.submission.preprint.identifier_w_vn_nr }}</td> <td>{{ report.associated_published_doi }}</td> <td>{{ report.report_nr }}</td> diff --git a/scipost_django/journals/templates/journals/manage_update_metadata.html b/scipost_django/journals/templates/journals/manage_update_metadata.html index 6d6fb3317..c23ec8821 100644 --- a/scipost_django/journals/templates/journals/manage_update_metadata.html +++ b/scipost_django/journals/templates/journals/manage_update_metadata.html @@ -40,7 +40,7 @@ <tbody id="accordion" role="tablist" aria-multiselectable="true"> {% for update in updates %} - <tr data-toggle="collapse" data-parent="#accordion" href="#collapse{{ update.id }}" aria-expanded="true" aria-controls="collapse{{ update.id }}" style="cursor: pointer;"> + <tr data-bs-toggle="collapse" data-parent="#accordion" href="#collapse{{ update.id }}" aria-expanded="true" aria-controls="collapse{{ update.id }}" style="cursor: pointer;"> <td>{{ update }}</td> <td>{{ update|latest_successful_crossref_generic_deposit }}</td> <td>{{ update.doideposit_needs_updating|yesno:'Yes,No,-' }}</td> diff --git a/scipost_django/journals/templates/journals/metrics.html b/scipost_django/journals/templates/journals/metrics.html index 850fc025c..3965d0a0a 100644 --- a/scipost_django/journals/templates/journals/metrics.html +++ b/scipost_django/journals/templates/journals/metrics.html @@ -4,7 +4,7 @@ <script src="https://cdn.plot.ly/plotly-latest.min.js"></script> {% endblock %} -{% load bootstrap %} +{% load bootstrap %} {% block meta_description %}{{ block.super }} {{ journal.name }} Metrics{% endblock meta_description %} {% block pagetitle %}{{block.super}}: {{ journal.name }} Metrics{% endblock pagetitle %} @@ -25,7 +25,7 @@ <h1 class="highlight"> <span class="px-2 py-1">Metrics for {{ journal.name }}{% if specialty %} <small><em>(specialized to {{ specialty }})</em></small>{% endif %}</span> - <button class="btn btn-secondary dropdown-toggle m-0 px-2 py-0 float-right" type="button" id="dropdownMenuSpecialty" data-toggle="dropdown"><small class="py-0">Filter by specialty</small></button> + <button class="btn btn-secondary dropdown-toggle m-0 px-2 py-0 float-right" type="button" id="dropdownMenuSpecialty" data-bs-toggle="dropdown"><small class="py-0">Filter by specialty</small></button> <div class="dropdown-menu" aria-labelledby="dropdownMenuSpecialty"> <a class="dropdown-item" href="{% url 'journal:metrics' doi_label=journal.doi_label %}">View all</a> {% for spec in journal.specialties.all %} @@ -118,7 +118,7 @@ </div> </div> </div> - + </div> </div> {% endblock %} diff --git a/scipost_django/journals/templates/journals/publication_detail.html b/scipost_django/journals/templates/journals/publication_detail.html index 1f238389f..7349de0b8 100644 --- a/scipost_django/journals/templates/journals/publication_detail.html +++ b/scipost_django/journals/templates/journals/publication_detail.html @@ -71,7 +71,7 @@ <div class="row"> <div class="col-6 col-md-2"> <h3 class="mb-2">Cited by {{ publication.citedby|length }}</h3> - <button type="button" class="btn btn-link" data-toggle="toggle" data-target="#citationslist">Toggle view</button> + <button type="button" class="btn btn-link" data-bs-toggle="toggle" data-target="#citationslist">Toggle view</button> </div> <div class="col-6 col-md-2"> <img src="{% static 'scipost/images/citedby.gif' %}" alt="Crossref Cited-by" width="64" /> diff --git a/scipost_django/news/templates/news/news_manage.html b/scipost_django/news/templates/news/news_manage.html index 8c268e903..2a2f5b104 100644 --- a/scipost_django/news/templates/news/news_manage.html +++ b/scipost_django/news/templates/news/news_manage.html @@ -20,7 +20,7 @@ <br/> {% for nl in newsletters %} <div class="card mb-2"> - <div class="card-header" data-toggle="collapse" href="#collapse{{ nl.id }}" aria-expanded="false" aria-controls="collapse{{ nl.id }}"> + <div class="card-header" data-bs-toggle="collapse" href="#collapse{{ nl.id }}" aria-expanded="false" aria-controls="collapse{{ nl.id }}"> {{ nl }} (status: {{ nl.published|yesno:'published,unpublished' }}) </div> diff --git a/scipost_django/organizations/templates/organizations/_organization_card.html b/scipost_django/organizations/templates/organizations/_organization_card.html index 52cc8894f..347fab151 100644 --- a/scipost_django/organizations/templates/organizations/_organization_card.html +++ b/scipost_django/organizations/templates/organizations/_organization_card.html @@ -14,28 +14,28 @@ <div class="col-12"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"> - <a class="nav-link" id="details-{{ org.id }}-tab" data-toggle="tab" href="#details-{{ org.id }}" role="tab" aria-controls="details-{{ org.id }}" aria-selected="true">Details</a> + <a class="nav-link" id="details-{{ org.id }}-tab" data-bs-toggle="tab" href="#details-{{ org.id }}" role="tab" aria-controls="details-{{ org.id }}" aria-selected="true">Details</a> </li> <li class="nav-item"> - <a class="nav-link active" id="publications-{{ org.id }}-tab" data-toggle="tab" href="#publications-{{ org.id }}" role="tab" aria-controls="publications-{{ org.id }}" aria-selected="true">Publications & PubFractions</a> + <a class="nav-link active" id="publications-{{ org.id }}-tab" data-bs-toggle="tab" href="#publications-{{ org.id }}" role="tab" aria-controls="publications-{{ org.id }}" aria-selected="true">Publications & PubFractions</a> </li> <li class="nav-item"> - <a class="nav-link" id="authors-{{ org.id }}-tab" data-toggle="tab" href="#authors-{{ org.id }}" role="tab" aria-controls="authors-{{ org.id }}" aria-selected="true">Associated Authors</a> + <a class="nav-link" id="authors-{{ org.id }}-tab" data-bs-toggle="tab" href="#authors-{{ org.id }}" role="tab" aria-controls="authors-{{ org.id }}" aria-selected="true">Associated Authors</a> </li> <li class="nav-item"> - <a class="nav-link" id="fellows-{{ org.id }}-tab" data-toggle="tab" href="#fellows-{{ org.id }}" role="tab" aria-controls="fellows-{{ org.id }}" aria-selected="true">Associated Fellows</a> + <a class="nav-link" id="fellows-{{ org.id }}-tab" data-bs-toggle="tab" href="#fellows-{{ org.id }}" role="tab" aria-controls="fellows-{{ org.id }}" aria-selected="true">Associated Fellows</a> </li> <li class="nav-item"> - <a class="nav-link" id="support-{{ org.id }}-tab" data-toggle="tab" href="#support-{{ org.id }}" role="tab" aria-controls="support-{{ org.id }}" aria-selected="true">Support history</a> + <a class="nav-link" id="support-{{ org.id }}-tab" data-bs-toggle="tab" href="#support-{{ org.id }}" role="tab" aria-controls="support-{{ org.id }}" aria-selected="true">Support history</a> </li> {% if perms.scipost.can_manage_organizations or perms.scipost.can_add_contactperson %} <li class="nav-item"> - <a class="nav-link" id="contacts-{{ org.id }}-tab" data-toggle="tab" href="#contacts-{{ org.id }}" role="tab" aria-controls="contacts-{{ org.id }}" aria-selected="true">Contacts</a> + <a class="nav-link" id="contacts-{{ org.id }}-tab" data-bs-toggle="tab" href="#contacts-{{ org.id }}" role="tab" aria-controls="contacts-{{ org.id }}" aria-selected="true">Contacts</a> </li> {% endif %} {% if perms.scipost.can_manage_organizations %} <li class="nav-item"> - <a class="nav-link" id="events-{{ org.id }}-tab" data-toggle="tab" href="#events-{{ org.id }}" role="tab" aria-controls="events-{{ org.id }}" aria-selected="true">Events</a> + <a class="nav-link" id="events-{{ org.id }}-tab" data-bs-toggle="tab" href="#events-{{ org.id }}" role="tab" aria-controls="events-{{ org.id }}" aria-selected="true">Events</a> </li> {% endif %} </ul> @@ -75,7 +75,7 @@ <div class="tab-pane show active pt-4" id="publications-{{ org.id }}" role="tabpanel" aria-labelledby="publications-{{ org.id }}-tab"> <h3>Publications associated to this Organization - <span class="text-muted small">(with PubFractions <span data-toggle="tooltip" data-html="true" title="" data-original-title="Fraction of a publication's funding/institutional support associated to a given Organization">{% include 'bi/info-circle-fill.html' %}</span>)</span>:</h3> + <span class="text-muted small">(with PubFractions <span data-bs-toggle="tooltip" data-html="true" title="" data-original-title="Fraction of a publication's funding/institutional support associated to a given Organization">{% include 'bi/info-circle-fill.html' %}</span>)</span>:</h3> {% for pubyear in pubyears %} <h4>{{ pubyear }} <span class="text-muted small">(PubFractions {{ org|pubfractions_in_year:pubyear }})</span></h4> <ul> @@ -272,7 +272,7 @@ {% for key, val in balance.items %} {% if year == key|add:"0" %} <tr> - <td><a class="mx-1 my-0 p-0" data-toggle="collapse" href="#details{{ year }}" role="button" aria-expanded="false" aria-controls="details{{ year }}">{{ key }}</a></td> + <td><a class="mx-1 my-0 p-0" data-bs-toggle="collapse" href="#details{{ year }}" role="button" aria-expanded="false" aria-controls="details{{ year }}">{{ key }}</a></td> <td class="text-right"> {{ val.expenditures.total }} </td> diff --git a/scipost_django/organizations/templates/organizations/dashboard.html b/scipost_django/organizations/templates/organizations/dashboard.html index efda3f2a5..79819fc7b 100644 --- a/scipost_django/organizations/templates/organizations/dashboard.html +++ b/scipost_django/organizations/templates/organizations/dashboard.html @@ -25,13 +25,13 @@ <ul class="nav btn-group personal-page-nav" role="tablist"> {% if request.user.org_contact %} <li class="nav-item btn btn-outline-secondary"> - <a href="#account" class="nav-link" data-toggle="tab">Account</a> + <a href="#account" class="nav-link" data-bs-toggle="tab">Account</a> </li> <li class="nav-item btn btn-outline-secondary"> - <a href="#own_roles" class="nav-link active" data-toggle="tab">Your roles</a> + <a href="#own_roles" class="nav-link active" data-bs-toggle="tab">Your roles</a> </li> <li class="nav-item btn btn-outline-secondary"> - <a href="#subsidies" class="nav-link" data-toggle="tab">Subsidies<br/><span class="small text-muted">[from your Orgs]</span></a> + <a href="#subsidies" class="nav-link" data-bs-toggle="tab">Subsidies<br/><span class="small text-muted">[from your Orgs]</span></a> </li> {% endif %} <li class="nav-item btn btn-outline-secondary"> @@ -41,7 +41,7 @@ <a href="{% url 'forums:forums' %}" class="nav-link" target="_blank">Forums<br/><span class="small text-muted">[discussion boards<br/>and meetings]</span></a> </li> <li class="nav-item btn btn-outline-secondary"> - <a href="#board" class="nav-link" data-toggle="tab">Registered<br>Contacts</a> + <a href="#board" class="nav-link" data-bs-toggle="tab">Registered<br>Contacts</a> </li> <li class="nav-item btn btn-outline-secondary"> <a href="{% url 'organizations:contactperson_list' %}" class="nav-link" target="_blank">Contact Persons<br/><span class="small text-muted">[unregistered contacts]</span></a> diff --git a/scipost_django/organizations/templates/organizations/organization_list.html b/scipost_django/organizations/templates/organizations/organization_list.html index 559f38710..2c9a4a8a8 100644 --- a/scipost_django/organizations/templates/organizations/organization_list.html +++ b/scipost_django/organizations/templates/organizations/organization_list.html @@ -92,7 +92,7 @@ {% for code in countrycodes %} {% get_country code as country_obj %} <li style="display: inline-block;"> - <a href="{% add_get_parameters country=code %}"><i class="{{ country_obj.flag_css }}" data-toggle="tooltip" title="{{ country_obj.name }}"></i></a> + <a href="{% add_get_parameters country=code %}"><i class="{{ country_obj.flag_css }}" data-bs-toggle="tooltip" title="{{ country_obj.name }}"></i></a> </li> {% endfor %} </ul> @@ -106,7 +106,7 @@ <tr> <th><a href="{% add_get_parameters order_by='country' %}">Country</a></th> <th><a href="{% add_get_parameters order_by='name' %}">Name</a> <small>[acronym]</small></th> - <th>NAP <span data-toggle="tooltip" data-html="true" title="" data-original-title="Number of associated publications<br/>For details, click on the Organization and consult the Associated Publications tab">{% include 'bi/info-circle-fill.html' %}</span> + <th>NAP <span data-bs-toggle="tooltip" data-html="true" title="" data-original-title="Number of associated publications<br/>For details, click on the Organization and consult the Associated Publications tab">{% include 'bi/info-circle-fill.html' %}</span> {% if request.GET.ordering != 'asc' %} <a href="{% add_get_parameters order_by='nap' ordering='asc' %}">{% include 'bi/sort-up.html' %}</a> {% else %} diff --git a/scipost_django/organizations/views.py b/scipost_django/organizations/views.py index 15391a2a4..d1b83fe6c 100644 --- a/scipost_django/organizations/views.py +++ b/scipost_django/organizations/views.py @@ -76,7 +76,7 @@ class OrganizationAutocompleteView(autocomplete.Select2QuerySetView): def get_result_label(self, item): return format_html( - '<span><i class="{}" data-toggle="tooltip" title="{}"></i> {}</span>', + '<span><i class="{}" data-bs-toggle="tooltip" title="{}"></i> {}</span>', item.country.flag_css, item.country.name, item.name) diff --git a/scipost_django/proceedings/templates/proceedings/proceedings_details.html b/scipost_django/proceedings/templates/proceedings/proceedings_details.html index c760f8a61..f4686556d 100644 --- a/scipost_django/proceedings/templates/proceedings/proceedings_details.html +++ b/scipost_django/proceedings/templates/proceedings/proceedings_details.html @@ -19,7 +19,7 @@ <h3>Table of contents</h3> <p> - View the table of contents in <a href="javascript:;" data-toggle="modal" data-target="#textocmodal">TeX format</a> + View the table of contents in <a href="javascript:;" data-bs-toggle="modal" data-target="#textocmodal">TeX format</a> </p> <h3 class="mt-3">All Guest Fellowships of this Proceedings</h3> diff --git a/scipost_django/production/templates/production/_production_stream_card.html b/scipost_django/production/templates/production/_production_stream_card.html index 973294e62..5f28f9b0d 100644 --- a/scipost_django/production/templates/production/_production_stream_card.html +++ b/scipost_django/production/templates/production/_production_stream_card.html @@ -22,7 +22,7 @@ {% if "can_work_for_stream" in sub_perms and work_log_form %} <ul> <li> - <button type="button" class="btn btn-link" data-toggle="toggle" data-target="#log_form">Add hours to the Stream</button> + <button type="button" class="btn btn-link" data-bs-toggle="toggle" data-target="#log_form">Add hours to the Stream</button> <form id="log_form" style="display: none;" action="{% url 'production:add_work_log' stream_id=stream.id %}" method="post" class="mb-2"> {% csrf_token %} {{ work_log_form|bootstrap }} @@ -45,7 +45,7 @@ {% if "can_perform_supervisory_actions" in sub_perms %} {% if perms.scipost.can_assign_production_supervisor and assign_supervisor_form %} <li> - <button type="button" class="btn btn-link" data-toggle="toggle" data-target="#add_supervisor_{{stream.id}}">Assign Production Supervisor to this stream</button> + <button type="button" class="btn btn-link" data-bs-toggle="toggle" data-target="#add_supervisor_{{stream.id}}">Assign Production Supervisor to this stream</button> <div id="add_supervisor_{{stream.id}}" style="display: none;"> <form class="my-3" action="{% url 'production:add_supervisor' stream_id=stream.id %}" method="post"> {% csrf_token %} @@ -58,7 +58,7 @@ {% if perms.scipost.can_assign_production_officer %} {% if assign_officer_form %} <li> - <button type="button" class="btn btn-link" data-toggle="toggle" data-target="#add_officer_{{stream.id}}">Assign Production Officer to this stream</button> + <button type="button" class="btn btn-link" data-bs-toggle="toggle" data-target="#add_officer_{{stream.id}}">Assign Production Officer to this stream</button> <div id="add_officer_{{stream.id}}" style="display: none;"> <form class="my-3" action="{% url 'production:add_officer' stream_id=stream.id %}" method="post"> {% csrf_token %} @@ -70,7 +70,7 @@ {% endif %} {% if assign_officer_form %} <li> - <button type="button" class="btn btn-link" data-toggle="toggle" data-target="#add_invs_officer_{{stream.id}}">Assign Invitations Officer to this stream</button> + <button type="button" class="btn btn-link" data-bs-toggle="toggle" data-target="#add_invs_officer_{{stream.id}}">Assign Invitations Officer to this stream</button> <div id="add_invs_officer_{{stream.id}}" style="display: none;"> <form class="my-3" action="{% url 'production:add_invitations_officer' stream_id=stream.id %}" method="post"> {% csrf_token %} @@ -86,7 +86,7 @@ {% if "can_work_for_stream" in sub_perms %} {% if perms.scipost.can_upload_proofs and upload_proofs_form %} <li> - <button type="button" class="btn btn-link" data-toggle="toggle" data-target="#upload_proofs">Upload Proofs</button> + <button type="button" class="btn btn-link" data-bs-toggle="toggle" data-target="#upload_proofs">Upload Proofs</button> <div id="upload_proofs" style="display: none;"> <form class="my-3" action="{% url 'production:upload_proofs' stream_id=stream.id %}" method="post" enctype="multipart/form-data"> {% csrf_token %} diff --git a/scipost_django/production/templates/production/production.html b/scipost_django/production/templates/production/production.html index 6869c06c6..ef01053d4 100644 --- a/scipost_django/production/templates/production/production.html +++ b/scipost_django/production/templates/production/production.html @@ -25,14 +25,14 @@ <div class="tab-nav-inner"> <ul class="nav btn-group personal-page-nav" role="tablist"> <li class="nav-item btn btn-outline-secondary"> - <a href="#summary" class="nav-link active" data-toggle="tab">Production streams</a> + <a href="#summary" class="nav-link active" data-bs-toggle="tab">Production streams</a> </li> <li class="nav-item btn btn-outline-secondary"> - <a href="#mytimesheet" class="nav-link" data-toggle="tab">My Timesheet</a> + <a href="#mytimesheet" class="nav-link" data-bs-toggle="tab">My Timesheet</a> </li> {% if perms.scipost.can_promote_user_to_production_officer %} <li class="nav-item btn btn-outline-secondary"> - <a href="#officers" class="nav-link" data-toggle="tab">Production Team</a> + <a href="#officers" class="nav-link" data-bs-toggle="tab">Production Team</a> </li> {% endif %} </ul> diff --git a/scipost_django/profiles/templates/profiles/_profile_card.html b/scipost_django/profiles/templates/profiles/_profile_card.html index d61ef4175..079e49e9a 100644 --- a/scipost_django/profiles/templates/profiles/_profile_card.html +++ b/scipost_django/profiles/templates/profiles/_profile_card.html @@ -46,7 +46,7 @@ <td class="d-flex"> <form method="post" action="{% url 'profiles:toggle_email_status' profile_mail.id %}">{% csrf_token %}<button type="submit" class="btn btn-link py-0">{{ profile_mail.still_valid|yesno:'Deprecate,Mark valid' }}</button></form> <form method="post" action="{% url 'profiles:email_make_primary' profile_mail.id %}">{% csrf_token %}<button type="submit" class="btn btn-link py-0">Make primary</button></form> - <a type="button" class="btn py-0" data-toggle="modal" data-target="#confirmDeleteEmailModal"><span class="text-danger">{% include 'bi/trash-fill.html' %}</span></a> + <a type="button" class="btn py-0" data-bs-toggle="modal" data-target="#confirmDeleteEmailModal"><span class="text-danger">{% include 'bi/trash-fill.html' %}</span></a> <div class="modal" id="confirmDeleteEmailModal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> @@ -79,7 +79,7 @@ <td>Specialties</td> <td> {% for specialty in profile.specialties.all %} - <div class="single d-inline" data-specialty="{{ specialty }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> + <div class="single d-inline" data-specialty="{{ specialty }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> {% endfor %} </td> </tr> diff --git a/scipost_django/profiles/templates/profiles/profile_list.html b/scipost_django/profiles/templates/profiles/profile_list.html index 73f554315..689a1eb88 100644 --- a/scipost_django/profiles/templates/profiles/profile_list.html +++ b/scipost_django/profiles/templates/profiles/profile_list.html @@ -83,7 +83,7 @@ <li class="list-inline-item"> {% if acad_field.profiles.all|length > 0 %} <div class="dropdown"> - <button class="btn btn-sm btn-primary dropdown-toggle" type="button" id="dropdownMenuButton{{ acad_field.slug }}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><small>{{ acad_field }}</small></button> + <button class="btn btn-sm btn-primary dropdown-toggle" type="button" id="dropdownMenuButton{{ acad_field.slug }}" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><small>{{ acad_field }}</small></button> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton{{ acad_field.slug }}"> <a class="dropdown-item" href="{% add_get_parameters field=acad_field.slug specialty='' %}">View all in {{ acad_field }}</a> {% for specialty in acad_field.specialties.all %} @@ -157,7 +157,7 @@ <td>{{ profile.acad_field }}</td> <td> {% for specialty in profile.specialties.all %} - <div class="single d-inline" data-specialty="{{ specialty.code }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> + <div class="single d-inline" data-specialty="{{ specialty.code }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> {% endfor %} </td> <td>{% if profile.has_active_contributor %}<span class="text-success">{% include 'bi/check-circle-fill.html' %}</span>{% else %}<span class="text-danger">{% include 'bi/x-circle-fill.html' %}</span>{% endif %}</td> diff --git a/scipost_django/scipost/static/scipost/assets/css/_icons.scss b/scipost_django/scipost/static/scipost/assets/css/_icons.scss index 15f34d802..bb348726d 100644 --- a/scipost_django/scipost/static/scipost/assets/css/_icons.scss +++ b/scipost_django/scipost/static/scipost/assets/css/_icons.scss @@ -1,4 +1,4 @@ -[data-toggle="collapse"] { +[data-bs-toggle="collapse"] { > h3:after { background: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBkPSJNNy40MSA3Ljg0TDEyIDEyLjQybDQuNTktNC41OEwxOCA5LjI1bC02IDYtNi02eiIvPgogICAgPHBhdGggZD0iTTAtLjc1aDI0djI0SDB6IiBmaWxsPSJub25lIi8+Cjwvc3ZnPg=="); diff --git a/scipost_django/scipost/static/scipost/assets/css/_tooltip.scss b/scipost_django/scipost/static/scipost/assets/css/_tooltip.scss index 87c7fa9a0..1f238c96c 100644 --- a/scipost_django/scipost/static/scipost/assets/css/_tooltip.scss +++ b/scipost_django/scipost/static/scipost/assets/css/_tooltip.scss @@ -1,4 +1,4 @@ -[data-toggle="tooltip"] { +[data-bs-toggle="tooltip"] { cursor: pointer; &:hover { diff --git a/scipost_django/scipost/static/scipost/assets/css/_typography.scss b/scipost_django/scipost/static/scipost/assets/css/_typography.scss index 987e8efd7..1ce6ae6f9 100644 --- a/scipost_django/scipost/static/scipost/assets/css/_typography.scss +++ b/scipost_django/scipost/static/scipost/assets/css/_typography.scss @@ -157,7 +157,7 @@ hr { min-width: 10px; display: inline-block; } -.fa[data-toggle="tooltip"] { +.fa[data-bs-toggle="tooltip"] { font-size: 1.5em; } diff --git a/scipost_django/scipost/static/scipost/assets/js/scripts.js b/scipost_django/scipost/static/scipost/assets/js/scripts.js index c1fe8b8ea..5ecbe8b3e 100644 --- a/scipost_django/scipost/static/scipost/assets/js/scripts.js +++ b/scipost_django/scipost/static/scipost/assets/js/scripts.js @@ -6,7 +6,7 @@ function hide_all_alerts() { } var activate_tooltip = function() { - jQuery('[data-toggle="tooltip"]').tooltip({ + jQuery('[data-bs-toggle="tooltip"]').tooltip({ animation: false, fallbackPlacement: 'clockwise', placement: 'auto' @@ -53,7 +53,7 @@ function init_page() { // Show right tab if url contains `tab` GET request var tab = getUrlParameter('tab') if (tab) { - $('a[href="#' + tab + '"][data-toggle="tab"]').tab('show'); + $('a[href="#' + tab + '"][data-bs-toggle="tab"]').tab('show'); } // Auto-submit hook for general form elements diff --git a/scipost_django/scipost/static/scipost/button-toggle-modal-load.js b/scipost_django/scipost/static/scipost/button-toggle-modal-load.js index 7b39e1311..03ba21799 100644 --- a/scipost_django/scipost/static/scipost/button-toggle-modal-load.js +++ b/scipost_django/scipost/static/scipost/button-toggle-modal-load.js @@ -1,5 +1,5 @@ $(document).ready(function(){ - $('button[data-toggle="modal"]').on('click',function(){ + $('button[data-bs-toggle="modal"]').on('click',function(){ var dataURL = $(this).attr('data-href'); target_body = $(this).attr('data-target-body'); $(target_body).load(dataURL); diff --git a/scipost_django/scipost/templates/scipost/EdCol_by-laws.html b/scipost_django/scipost/templates/scipost/EdCol_by-laws.html index f15b4103a..192983053 100644 --- a/scipost_django/scipost/templates/scipost/EdCol_by-laws.html +++ b/scipost_django/scipost/templates/scipost/EdCol_by-laws.html @@ -34,7 +34,7 @@ <hr> <ol> - <li><strong>Editorial Colleges and their Composition</strong><button type="button" class="btn btn-default" data-toggle="toggle" data-target="#Composition">view/hide</button> + <li><strong>Editorial Colleges and their Composition</strong><button type="button" class="btn btn-default" data-bs-toggle="toggle" data-target="#Composition">view/hide</button> <div id="Composition" class="py-2" style="display: none;"> <ol> <li><strong>The Colleges</strong> @@ -186,7 +186,7 @@ </li> <hr> - <li><strong>Meetings</strong> <button type="button" class="btn btn-default" data-toggle="toggle" data-target="#Meetings">view/hide</button> + <li><strong>Meetings</strong> <button type="button" class="btn btn-default" data-bs-toggle="toggle" data-target="#Meetings">view/hide</button> <div id="Meetings" class="py-2" style="display: none;"> <p> Editorial Colleges, consisting of internationally-distributed scientists with a broad @@ -228,7 +228,7 @@ </li> <hr> - <li><strong>Submissions processing</strong> <button type="button" class="btn btn-default" data-toggle="toggle" data-target="#SubmissionsProcessing">view/hide</button> + <li><strong>Submissions processing</strong> <button type="button" class="btn btn-default" data-bs-toggle="toggle" data-target="#SubmissionsProcessing">view/hide</button> <div id="SubmissionsProcessing" class="py-2" style="display: none;"> <p>The primary responsibility of the Editorial Colleges is to run the editorial process for submissions to SciPost Journals. @@ -607,7 +607,7 @@ </li> <hr> - <li><strong>Amendments</strong> <button type="button" class="btn btn-default" data-toggle="toggle" data-target="#Amendments">view/hide</button> + <li><strong>Amendments</strong> <button type="button" class="btn btn-default" data-bs-toggle="toggle" data-target="#Amendments">view/hide</button> <div id="Amendments" class="py-2" style="display: none;"> <p>The present By-laws can be amended by:</p> <ul> diff --git a/scipost_django/scipost/templates/scipost/EdCol_by-laws_Changes_2021-04.html b/scipost_django/scipost/templates/scipost/EdCol_by-laws_Changes_2021-04.html index 754b310d7..fef52d531 100644 --- a/scipost_django/scipost/templates/scipost/EdCol_by-laws_Changes_2021-04.html +++ b/scipost_django/scipost/templates/scipost/EdCol_by-laws_Changes_2021-04.html @@ -39,7 +39,7 @@ <ol> <hr> - <li><strong>Editorial Colleges and their Composition</strong><button type="button" class="btn btn-default" data-toggle="toggle" data-target="#Composition">view/hide</button> + <li><strong>Editorial Colleges and their Composition</strong><button type="button" class="btn btn-default" data-bs-toggle="toggle" data-target="#Composition">view/hide</button> <div id="Composition" class="py-2" style="display: none;"> <ol> <li><strong>The Colleges</strong> @@ -225,7 +225,7 @@ </li> <hr> - <li><strong>Meetings</strong> <button type="button" class="btn btn-default" data-toggle="toggle" data-target="#Meetings">view/hide</button> + <li><strong>Meetings</strong> <button type="button" class="btn btn-default" data-bs-toggle="toggle" data-target="#Meetings">view/hide</button> <div id="Meetings" class="py-2" style="display: none;"> <p> Editorial Colleges, consisting of internationally-distributed scientists with a broad @@ -267,7 +267,7 @@ </li> <hr> - <li><strong>Submissions processing</strong> <button type="button" class="btn btn-default" data-toggle="toggle" data-target="#SubmissionsProcessing">view/hide</button> + <li><strong>Submissions processing</strong> <button type="button" class="btn btn-default" data-bs-toggle="toggle" data-target="#SubmissionsProcessing">view/hide</button> <div id="SubmissionsProcessing" class="py-2" style="display: none;"> <p>The primary responsibility of the Editorial Colleges is to run the editorial process for submissions to SciPost Journals. @@ -671,7 +671,7 @@ </li> <hr> - <li><strong>Amendments</strong> <button type="button" class="btn btn-default" data-toggle="toggle" data-target="#Amendments">view/hide</button> + <li><strong>Amendments</strong> <button type="button" class="btn btn-default" data-bs-toggle="toggle" data-target="#Amendments">view/hide</button> <div id="Amendments" class="py-2" style="display: none;"> <p>The present By-laws can be amended by: <ul> diff --git a/scipost_django/scipost/templates/scipost/FAQ.html b/scipost_django/scipost/templates/scipost/FAQ.html index ef792a3e0..d9c058673 100644 --- a/scipost_django/scipost/templates/scipost/FAQ.html +++ b/scipost_django/scipost/templates/scipost/FAQ.html @@ -32,7 +32,7 @@ <h2 class="highlight">SciPost Journals</h2> <div id="journals" data-children=".item"> <div class="item"> - <a data-toggle="collapse" data-parent="#journals" href="#journals_journals" aria-expanded="true" aria-controls="journals_journals"> + <a data-bs-toggle="collapse" data-parent="#journals" href="#journals_journals" aria-expanded="true" aria-controls="journals_journals"> <h3>Which Journals does SciPost publish?</h3> </a> <div id="journals_journals" class="collapse" role="tabpanel"> @@ -47,7 +47,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#journals" href="#journals_distinguish" aria-expanded="true" aria-controls="journals_distinguish"> + <a data-bs-toggle="collapse" data-parent="#journals" href="#journals_distinguish" aria-expanded="true" aria-controls="journals_distinguish"> <h3>What are the distinguishing features of SciPost Journals?</h3> </a> <div id="journals_distinguish" class="collapse" role="tabpanel"> @@ -57,7 +57,7 @@ </div> </div> <div class="item"> - <a data-toggle="collapse" data-parent="#journals" href="#journals_why_submit" aria-expanded="true" aria-controls="journals_why_submit"> + <a data-bs-toggle="collapse" data-parent="#journals" href="#journals_why_submit" aria-expanded="true" aria-controls="journals_why_submit"> <h3>Why should I submit my manuscripts to SciPost?</h3> </a> <div id="journals_why_submit" class="collapse" role="tabpanel"> @@ -75,7 +75,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#journals" href="#journals_how_submit" aria-expanded="true" aria-controls="journals_how_submit"> + <a data-bs-toggle="collapse" data-parent="#journals" href="#journals_how_submit" aria-expanded="true" aria-controls="journals_how_submit"> <h3>How do I submit my manuscript to SciPost?</h3> </a> <div id="journals_how_submit" class="collapse" role="tabpanel"> @@ -84,7 +84,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#journals" href="#journals_refereeing" aria-expanded="true" aria-controls="journals_refereeing"> + <a data-bs-toggle="collapse" data-parent="#journals" href="#journals_refereeing" aria-expanded="true" aria-controls="journals_refereeing"> <h3 id="pwr">How does peer-witnessed refereeing work?</h3> </a> <div id="journals_refereeing" class="collapse" role="journals_refereeing"> @@ -101,7 +101,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#journals" href="#journals_citable" aria-expanded="true" aria-controls="journals_citable"> + <a data-bs-toggle="collapse" data-parent="#journals" href="#journals_citable" aria-expanded="true" aria-controls="journals_citable"> <h3>Will my SciPost publications be citable?</h3> </a> <div id="journals_citable" class="collapse" role="journals_citable"> @@ -111,7 +111,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#journals" href="#journals_cite_db" aria-expanded="true" aria-controls="journals_cite_db"> + <a data-bs-toggle="collapse" data-parent="#journals" href="#journals_cite_db" aria-expanded="true" aria-controls="journals_cite_db"> <h3>Will SciPost papers be listed in citation databases?</h3> </a> <div id="journals_cite_db" class="collapse" role="journals_cite_db"> @@ -122,7 +122,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#journals" href="#journals_else" aria-expanded="true" aria-controls="journals_else"> + <a data-bs-toggle="collapse" data-parent="#journals" href="#journals_else" aria-expanded="true" aria-controls="journals_else"> <h3>Can I also submit my papers somewhere else?</h3> </a> <div id="journals_else" class="collapse" role="journals_else"> @@ -131,7 +131,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#journals" href="#journals_license" aria-expanded="true" aria-controls="journals_license"> + <a data-bs-toggle="collapse" data-parent="#journals" href="#journals_license" aria-expanded="true" aria-controls="journals_license"> <h3>Under what license do SciPost Journals publish articles?</h3> </a> <div id="journals_license" class="collapse" role="journals_license"> @@ -140,7 +140,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#journals" href="#journals_availability" aria-expanded="true" aria-controls="journals_availability"> + <a data-bs-toggle="collapse" data-parent="#journals" href="#journals_availability" aria-expanded="true" aria-controls="journals_availability"> <h3>Will my papers always be available?</h3> </a> <div id="journals_availability" class="collapse" role="journals_availability"> @@ -154,7 +154,7 @@ <div id="commentaries" data-children=".item"> <div class="item"> - <a data-toggle="collapse" data-parent="#commentaries" href="#commentaries_commentaries" aria-expanded="true" aria-controls="commentaries_commentaries"> + <a data-bs-toggle="collapse" data-parent="#commentaries" href="#commentaries_commentaries" aria-expanded="true" aria-controls="commentaries_commentaries"> <h3>What are Commentaries?</h3> </a> <div id="commentaries_commentaries" class="collapse" role="tabpanel"> @@ -163,7 +163,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#commentaries" href="#commentaries_activation" aria-expanded="true" aria-controls="commentaries_activation"> + <a data-bs-toggle="collapse" data-parent="#commentaries" href="#commentaries_activation" aria-expanded="true" aria-controls="commentaries_activation"> <h3>How are Commentary Pages activated?</h3> </a> <div id="commentaries_activation" class="collapse" role="tabpanel"> @@ -176,7 +176,7 @@ <div id="theses" data-children=".item"> <div class="item"> - <a data-toggle="collapse" data-parent="#theses" href="#theses_theses" aria-expanded="true" aria-controls="theses_theses"> + <a data-bs-toggle="collapse" data-parent="#theses" href="#theses_theses" aria-expanded="true" aria-controls="theses_theses"> <h3>What are Theses?</h3> </a> <div id="theses_theses" class="collapse" role="tabpanel"> @@ -185,7 +185,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#theses" href="#theses_activation" aria-expanded="true" aria-controls="theses_activation"> + <a data-bs-toggle="collapse" data-parent="#theses" href="#theses_activation" aria-expanded="true" aria-controls="theses_activation"> <h3>How are Thesis Link pages activated?</h3> </a> <div id="theses_activation" class="collapse" role="tabpanel"> @@ -210,7 +210,7 @@ <div id="comments" data-children=".item"> <div class="item"> - <a data-toggle="collapse" data-parent="#comments" href="#comments_comments" aria-expanded="true" aria-controls="comments_comments"> + <a data-bs-toggle="collapse" data-parent="#comments" href="#comments_comments" aria-expanded="true" aria-controls="comments_comments"> <h3>What can be commented on?</h3> </a> <div id="comments_comments" class="collapse" role="tabpanel"> @@ -219,7 +219,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#comments" href="#commentaries_who" aria-expanded="true" aria-controls="commentaries_who"> + <a data-bs-toggle="collapse" data-parent="#comments" href="#commentaries_who" aria-expanded="true" aria-controls="commentaries_who"> <h3>Who can submit Comments?</h3> </a> <div id="commentaries_who" class="collapse" role="tabpanel"> @@ -228,7 +228,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#comments" href="#commentaries_privacy" aria-expanded="true" aria-controls="commentaries_privacy"> + <a data-bs-toggle="collapse" data-parent="#comments" href="#commentaries_privacy" aria-expanded="true" aria-controls="commentaries_privacy"> <h3>What about privacy?</h3> </a> <div id="commentaries_privacy" class="collapse" role="tabpanel"> @@ -243,7 +243,7 @@ <div id="scipost" data-children=".item"> <div class="item"> - <a data-toggle="collapse" data-parent="#scipost" href="#scipost_who" aria-expanded="true" aria-controls="scipost_who"> + <a data-bs-toggle="collapse" data-parent="#scipost" href="#scipost_who" aria-expanded="true" aria-controls="scipost_who"> <h3>Who is behind SciPost?</h3> </a> <div id="scipost_who" class="collapse" role="tabpanel"> @@ -255,7 +255,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#scipost" href="#scipost_why" aria-expanded="true" aria-controls="scipost_why"> + <a data-bs-toggle="collapse" data-parent="#scipost" href="#scipost_why" aria-expanded="true" aria-controls="scipost_why"> <h3>Why was SciPost started?</h3> </a> <div id="scipost_why" class="collapse" role="tabpanel"> @@ -264,7 +264,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#scipost" href="#scipost_fields" aria-expanded="true" aria-controls="scipost_fields"> + <a data-bs-toggle="collapse" data-parent="#scipost" href="#scipost_fields" aria-expanded="true" aria-controls="scipost_fields"> <h3>Which fields of science does SciPost cater to?</h3> </a> <div id="scipost_fields" class="collapse" role="tabpanel"> @@ -274,7 +274,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#scipost" href="#scipost_moderation" aria-expanded="true" aria-controls="scipost_moderation"> + <a data-bs-toggle="collapse" data-parent="#scipost" href="#scipost_moderation" aria-expanded="true" aria-controls="scipost_moderation"> <h3>Is SciPost moderated?</h3> </a> <div id="scipost_moderation" class="collapse" role="tabpanel"> @@ -283,7 +283,7 @@ </div> <div class="item"> - <a data-toggle="collapse" data-parent="#scipost" href="#scipost_funded" aria-expanded="true" aria-controls="scipost_funded"> + <a data-bs-toggle="collapse" data-parent="#scipost" href="#scipost_funded" aria-expanded="true" aria-controls="scipost_funded"> <h3>How is SciPost funded?</h3> </a> <div id="scipost_funded" class="collapse" role="tabpanel"> diff --git a/scipost_django/scipost/templates/scipost/_contributor_short.html b/scipost_django/scipost/templates/scipost/_contributor_short.html index be8fba4bd..e3d85709d 100644 --- a/scipost_django/scipost/templates/scipost/_contributor_short.html +++ b/scipost_django/scipost/templates/scipost/_contributor_short.html @@ -20,6 +20,6 @@ {% endif %} <div> {% for specialty in fellowship.contributor.profile.specialties.all %} - <div class="single d-inline" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> + <div class="single d-inline" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> {% endfor %} </div> diff --git a/scipost_django/scipost/templates/scipost/_personal_page_refereeing.html b/scipost_django/scipost/templates/scipost/_personal_page_refereeing.html index cf80ea030..82a6311d5 100644 --- a/scipost_django/scipost/templates/scipost/_personal_page_refereeing.html +++ b/scipost_django/scipost/templates/scipost/_personal_page_refereeing.html @@ -70,7 +70,7 @@ {% endif %} <br> - <h3><button type="button" class="btn btn-link p-0" data-toggle="toggle" data-target="#all-invitations"><small>+ See all Refereeing Invitations ({{ contributor.referee_invitations.all|length }})</small></button></h3> + <h3><button type="button" class="btn btn-link p-0" data-bs-toggle="toggle" data-target="#all-invitations"><small>+ See all Refereeing Invitations ({{ contributor.referee_invitations.all|length }})</small></button></h3> <ul class="list-group list-group-flush ml-md-4" id="all-invitations" style="display: none;"> {% for invitation in contributor.referee_invitations.all %} <li class="list-group-item py-2"> diff --git a/scipost_django/scipost/templates/scipost/contributor_info.html b/scipost_django/scipost/templates/scipost/contributor_info.html index 48d4c2511..987c9bd7c 100644 --- a/scipost_django/scipost/templates/scipost/contributor_info.html +++ b/scipost_django/scipost/templates/scipost/contributor_info.html @@ -21,7 +21,7 @@ <div class="row"> <div class="col-12"> - <h2 class="highlight">Publications <small><button type="button" class="btn btn-link p-0 ml-2" data-toggle="toggle" data-target="#mypublicationslist">View/hide publications</button></small></h2> + <h2 class="highlight">Publications <small><button type="button" class="btn btn-link p-0 ml-2" data-bs-toggle="toggle" data-target="#mypublicationslist">View/hide publications</button></small></h2> </div> <div class="col-12" id="mypublicationslist"> <h3 class="mb-2">Publications for which this Contributor is identified as an author:</h3> @@ -38,7 +38,7 @@ {% if contributor_submissions %} <div class="row"> <div class="col-12"> - <h2 class="highlight">Submissions <small><button type="button" class="btn btn-link p-0 ml-2" data-toggle="toggle" data-target="#mysubmissionslist">View/hide submissions</button></small></h2> + <h2 class="highlight">Submissions <small><button type="button" class="btn btn-link p-0 ml-2" data-bs-toggle="toggle" data-target="#mysubmissionslist">View/hide submissions</button></small></h2> </div> <div class="col-12" id="mysubmissionslist"> <h3>Submissions for which this Contributor is identified as an author:</h3> @@ -61,7 +61,7 @@ {# <hr>#} <div class="row"> <div class="col-12"> - <h2 class="highlight">Commentaries <small><button type="button" class="btn btn-link p-0 ml-2" data-toggle="toggle" data-target="#mycommentarieslist">View/hide commentaries</button></small></h2> + <h2 class="highlight">Commentaries <small><button type="button" class="btn btn-link p-0 ml-2" data-bs-toggle="toggle" data-target="#mycommentarieslist">View/hide commentaries</button></small></h2> </div> <div class="col-12" id="mycommentarieslist"> @@ -83,7 +83,7 @@ {# <hr>#} <div class="row"> <div class="col-12"> - <h2 class="highlight">Theses <small><button type="button" class="btn btn-link p-0 ml-2" data-toggle="toggle" data-target="#mytheseslist">View/hide theses</button></small></h2> + <h2 class="highlight">Theses <small><button type="button" class="btn btn-link p-0 ml-2" data-bs-toggle="toggle" data-target="#mytheseslist">View/hide theses</button></small></h2> </div> <div class="col-12" id="mytheseslist"> <h3>Theses for which this Contributor is identified as an author:</h3> @@ -104,7 +104,7 @@ {# <hr>#} <div class="row"> <div class="col-12"> - <h2 class="highlight">Comments <small><button type="button" class="btn btn-link p-0 ml-2" data-toggle="toggle" data-target="#mycommentslist">View/hide comments</button></small></h2> + <h2 class="highlight">Comments <small><button type="button" class="btn btn-link p-0 ml-2" data-bs-toggle="toggle" data-target="#mycommentslist">View/hide comments</button></small></h2> </div> <div class="col-12" id="mycommentslist"> <ul class="list-group list-group-flush"> @@ -122,7 +122,7 @@ {# <hr>#} <div class="row"> <div class="col-12"> - <h2 class="highlight">Author Replies <small><button type="button" class="btn btn-link p-0 ml-2" data-toggle="toggle" data-target="#myauthorreplieslist">View/hide author replies</button></small></h2> + <h2 class="highlight">Author Replies <small><button type="button" class="btn btn-link p-0 ml-2" data-bs-toggle="toggle" data-target="#myauthorreplieslist">View/hide author replies</button></small></h2> </div> <div class="col-12" id="myauthorreplieslist"> <ul class="list-group list-group-flush"> diff --git a/scipost_django/scipost/templates/scipost/totpdevice_form.html b/scipost_django/scipost/templates/scipost/totpdevice_form.html index b3017a621..363339bb9 100644 --- a/scipost_django/scipost/templates/scipost/totpdevice_form.html +++ b/scipost_django/scipost/templates/scipost/totpdevice_form.html @@ -35,7 +35,7 @@ <ul> <li>Go to mobile authentication app on your device, and activate the function to add a new time-based token.</li> <li> - Use your device's camera to scan the barcode below, or <button type="button" class="btn btn-link p-0 border-0" style="line-height: 1rem;" data-toggle="toggle" data-target="#secret-key"><small>enter your secret key manually</small></button>. + Use your device's camera to scan the barcode below, or <button type="button" class="btn btn-link p-0 border-0" style="line-height: 1rem;" data-bs-toggle="toggle" data-target="#secret-key"><small>enter your secret key manually</small></button>. <br/> Your mobile device's authenticator app will then generate a security code. <br/> diff --git a/scipost_django/security/templates/security/_breaches_accordion.html b/scipost_django/security/templates/security/_breaches_accordion.html index b487d31f8..b42cb5306 100644 --- a/scipost_django/security/templates/security/_breaches_accordion.html +++ b/scipost_django/security/templates/security/_breaches_accordion.html @@ -4,7 +4,7 @@ <div class="card-header"> <h4 class="mb-0"> {{ breach.Name }} ({{ breach.BreachDate }}) - <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#breachCollapse{{ forloop.counter }}" aria-expanded="false" aria-controls="collapse{{ forloop.counter }}"> + <button class="btn btn-link" type="button" data-bs-toggle="collapse" data-target="#breachCollapse{{ forloop.counter }}" aria-expanded="false" aria-controls="collapse{{ forloop.counter }}"> (toggle details) </button> </h4> diff --git a/scipost_django/security/templates/security/_pastes_accordion.html b/scipost_django/security/templates/security/_pastes_accordion.html index bba40d397..1177207b7 100644 --- a/scipost_django/security/templates/security/_pastes_accordion.html +++ b/scipost_django/security/templates/security/_pastes_accordion.html @@ -4,7 +4,7 @@ <div class="card-header"> <h4 class="mb-0"> {{ paste.Source }} ({{ paste.Date }}) - <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#pasteCollapse{{ forloop.counter }}" aria-expanded="false" aria-controls="collapse{{ forloop.counter }}"> + <button class="btn btn-link" type="button" data-bs-toggle="collapse" data-target="#pasteCollapse{{ forloop.counter }}" aria-expanded="false" aria-controls="collapse{{ forloop.counter }}"> (toggle details) </button> </h4> diff --git a/scipost_django/series/templates/series/series_detail.html b/scipost_django/series/templates/series/series_detail.html index 8650f39c5..fecb8ce8b 100644 --- a/scipost_django/series/templates/series/series_detail.html +++ b/scipost_django/series/templates/series/series_detail.html @@ -65,7 +65,7 @@ <div class="col-12"> <h3 class="highlight" id="information"> Detailed information - <a data-toggle="collapse" href="#series-information" aria-expanded="false" aria-controls="series-information">(show/hide)</a> + <a data-bs-toggle="collapse" href="#series-information" aria-expanded="false" aria-controls="series-information">(show/hide)</a> </h3> <div id="series-information" class="p-2 collapse"> {{ series.information|automarkup }} diff --git a/scipost_django/submissions/templates/submissions/_arxiv_queryresult.html b/scipost_django/submissions/templates/submissions/_arxiv_queryresult.html index e5398c3a1..9357a2c11 100644 --- a/scipost_django/submissions/templates/submissions/_arxiv_queryresult.html +++ b/scipost_django/submissions/templates/submissions/_arxiv_queryresult.html @@ -1,7 +1,7 @@ <div class="card-body"> <h3 class="card-title">{{ item.title }}</h3> <div class="card-text"> - <button type="button" class="btn btn-link p-0" data-toggle="toggle" data-target="#arxiv_authors_{{ id }}_{{ id2 }}"><small>Toggle authors</small></button> · <a href="{{ item.link }}" target="_blank">{{ item.id }}</a> + <button type="button" class="btn btn-link p-0" data-bs-toggle="toggle" data-target="#arxiv_authors_{{ id }}_{{ id2 }}"><small>Toggle authors</small></button> · <a href="{{ item.link }}" target="_blank">{{ item.id }}</a> <div class="authors mt-2" id="arxiv_authors_{{ id }}_{{ id2 }}" style="display: none;"> {% for author in item.authors %} {{ author.name }}{% if not forloop.last %},{% endif %} diff --git a/scipost_django/submissions/templates/submissions/_previous_recommendations_card_fellow_content.html b/scipost_django/submissions/templates/submissions/_previous_recommendations_card_fellow_content.html index 6edad6488..bd2073e53 100644 --- a/scipost_django/submissions/templates/submissions/_previous_recommendations_card_fellow_content.html +++ b/scipost_django/submissions/templates/submissions/_previous_recommendations_card_fellow_content.html @@ -10,7 +10,7 @@ <div class="card{% if not old_rec.active %} text-secondary{% endif %}"> <div class="card-header" id="recCard{{ old_rec.version }}"> <h2 class="mb=0"> - <button class="btn btn-warning collapsed" type="button" data-toggle="collapse" data-target="#collapserecCard{{ old_rec.version }}" aria-expanded="false" aria-controls="collapserecCard{{ old_rec.version }}">Show/hide Editorial Recommendation {{ old_rec.version }} (status: {{ old_rec.get_status_display }}) ↓</button> + <button class="btn btn-warning collapsed" type="button" data-bs-toggle="collapse" data-target="#collapserecCard{{ old_rec.version }}" aria-expanded="false" aria-controls="collapserecCard{{ old_rec.version }}">Show/hide Editorial Recommendation {{ old_rec.version }} (status: {{ old_rec.get_status_display }}) ↓</button> </h2> </div> <div id="collapserecCard{{ old_rec.version }}" class="collapse" aria-labelledby="collapserecCard{{ old_rec.version }}" data-parent="#previousRecAccordion"> diff --git a/scipost_django/submissions/templates/submissions/_refereeing_status_as_tr.html b/scipost_django/submissions/templates/submissions/_refereeing_status_as_tr.html index 0d1bf8702..2c3c59536 100644 --- a/scipost_django/submissions/templates/submissions/_refereeing_status_as_tr.html +++ b/scipost_django/submissions/templates/submissions/_refereeing_status_as_tr.html @@ -1,12 +1,12 @@ {% if submission.refereeing_cycle != 'direct_rec' %} <tr> <td>Referees invited</td> - <td>{{ submission.referee_invitations.count }} <small><span data-placement='bottom' data-toggle="tooltip" data-html="true" title="{{ submission.referee_invitations.accepted.count }} accepted<br>{{ submission.referee_invitations.declined.count }} declined<br>{{ submission.referee_invitations.pending.count }} response pending">{% include 'bi/info-circle-fill.html' %}</span></small> + <td>{{ submission.referee_invitations.count }} <small><span data-placement='bottom' data-bs-toggle="tooltip" data-html="true" title="{{ submission.referee_invitations.accepted.count }} accepted<br>{{ submission.referee_invitations.declined.count }} declined<br>{{ submission.referee_invitations.pending.count }} response pending">{% include 'bi/info-circle-fill.html' %}</span></small> </td> </tr> <tr> <td>Reports obtained</td> - <td>{{ submission.reports.accepted.count }} <small><span data-placement='bottom' data-toggle="tooltip" data-html="true" title="{{ submission.reports.accepted.invited.count }} invited<br>{{ submission.reports.accepted.contributed.count }} contributed<hr>{{ submission.reports.awaiting_vetting.count }} awaiting vetting<br>{{ submission.reports.rejected.count }} rejected">{% include 'bi/info-circle-fill.html' %}</span></small> + <td>{{ submission.reports.accepted.count }} <small><span data-placement='bottom' data-bs-toggle="tooltip" data-html="true" title="{{ submission.reports.accepted.invited.count }} invited<br>{{ submission.reports.accepted.contributed.count }} contributed<hr>{{ submission.reports.awaiting_vetting.count }} awaiting vetting<br>{{ submission.reports.rejected.count }} rejected">{% include 'bi/info-circle-fill.html' %}</span></small> </td> </tr> {% endif %} diff --git a/scipost_django/submissions/templates/submissions/_refinv_auto_reminders_tooltip.html b/scipost_django/submissions/templates/submissions/_refinv_auto_reminders_tooltip.html index 38fe8d790..8b7a7b5ca 100644 --- a/scipost_django/submissions/templates/submissions/_refinv_auto_reminders_tooltip.html +++ b/scipost_django/submissions/templates/submissions/_refinv_auto_reminders_tooltip.html @@ -1,3 +1,3 @@ -<button type="button" class="btn btn-link p-0" data-toggle="tooltip" data-html="true" title="In case of no response to initial invitation, reminders will be sent automatically after 2, then 4 weekdays (with cc to EIC).<br>If there is no response after a week, you (as EIC) will be notified.<br>If accepted, a reminder will be sent to the referee 1 week before deadline."> +<button type="button" class="btn btn-link p-0" data-bs-toggle="tooltip" data-html="true" title="In case of no response to initial invitation, reminders will be sent automatically after 2, then 4 weekdays (with cc to EIC).<br>If there is no response after a week, you (as EIC) will be notified.<br>If accepted, a reminder will be sent to the referee 1 week before deadline."> {% include 'bi/info-circle-fill.html' %} </button> diff --git a/scipost_django/submissions/templates/submissions/_remark_form.html b/scipost_django/submissions/templates/submissions/_remark_form.html index 1e8d0a7c5..a6fda9e6c 100644 --- a/scipost_django/submissions/templates/submissions/_remark_form.html +++ b/scipost_django/submissions/templates/submissions/_remark_form.html @@ -7,7 +7,7 @@ <input class="btn btn-outline-secondary" type="submit" value="Submit" /> </form> {% else %} - <button class="btn btn-outline-secondary mb-2" data-toggle="toggle" data-target="#remarkForm{{ submission.id }}" id="remarkButton{{ submission.id }}">Add a remark on this Submission</button> + <button class="btn btn-outline-secondary mb-2" data-bs-toggle="toggle" data-target="#remarkForm{{ submission.id }}" id="remarkButton{{ submission.id }}">Add a remark on this Submission</button> <div class="submitRemarkForm pb-2" id="remarkForm{{ submission.id }}" style="display:none;"> <form action="{% url 'submissions:add_remark' submission.preprint.identifier_w_vn_nr %}" method="post"> {% csrf_token %} diff --git a/scipost_django/submissions/templates/submissions/_report_public_without_comments.html b/scipost_django/submissions/templates/submissions/_report_public_without_comments.html index b5754dea5..0015216fd 100644 --- a/scipost_django/submissions/templates/submissions/_report_public_without_comments.html +++ b/scipost_django/submissions/templates/submissions/_report_public_without_comments.html @@ -14,7 +14,7 @@ on {{ report.date_submitted|date:'Y-n-j' }} {% if report.report_type == 'report_post_edrec' %} - <small><label class="label label-outline-primary ml-2">Post-Editorial Recommendation Report</label> <span class="text-primary" data-toggle="tooltip" data-placement="auto" data-html="true" title="Post-Editorial Reports are submitted after the Editorial Recommendation has been formulated.<br>Hence, they have not been part of the College's decision to Publish the Submission." aria-hidden="true">{% include 'bi/question-circle-fill.html' %}</span></small> + <small><label class="label label-outline-primary ml-2">Post-Editorial Recommendation Report</label> <span class="text-primary" data-bs-toggle="tooltip" data-placement="auto" data-html="true" title="Post-Editorial Reports are submitted after the Editorial Recommendation has been formulated.<br>Hence, they have not been part of the College's decision to Publish the Submission." aria-hidden="true">{% include 'bi/question-circle-fill.html' %}</span></small> {% endif %} {% if report.invited %} @@ -32,7 +32,7 @@ </h3> {% if report.anonymous %} {% if user.contributor == submission.editor_in_charge or user|is_in_group:'Editorial Administrators' and not user|is_possible_author_of_submission:submission %} - <button class="btn btn-sm btn-danger text-white my-2" data-toggle="modal" data-target="#modalReportAuthor{{ report.id }}" aria-expanded="false" aria-controls="modalReportAuthor"> + <button class="btn btn-sm btn-danger text-white my-2" data-bs-toggle="modal" data-target="#modalReportAuthor{{ report.id }}" aria-expanded="false" aria-controls="modalReportAuthor"> Display Referee's Identity </button> {% if report.flagged %} diff --git a/scipost_django/submissions/templates/submissions/_submission_author_information.html b/scipost_django/submissions/templates/submissions/_submission_author_information.html index d6525e7c7..a44838c72 100644 --- a/scipost_django/submissions/templates/submissions/_submission_author_information.html +++ b/scipost_django/submissions/templates/submissions/_submission_author_information.html @@ -3,7 +3,7 @@ <h3 class="highlight"> Author information - <button type="button" class="btn btn-link p-0 text-muted" data-toggle="tooltip" data-title="You see this information because you are a verified author of this Submission.">{% include 'bi/question-circle-fill.html' %}</button> + <button type="button" class="btn btn-link p-0 text-muted" data-bs-toggle="tooltip" data-title="You see this information because you are a verified author of this Submission.">{% include 'bi/question-circle-fill.html' %}</button> </h3> <div id="authorinformation" class="mt-2"> diff --git a/scipost_django/submissions/templates/submissions/_submission_editorial_information.html b/scipost_django/submissions/templates/submissions/_submission_editorial_information.html index 28b3fadce..e16083770 100644 --- a/scipost_django/submissions/templates/submissions/_submission_editorial_information.html +++ b/scipost_django/submissions/templates/submissions/_submission_editorial_information.html @@ -5,7 +5,7 @@ {% is_ed_admin request.user as is_ed_admin %} <h3 class="highlight"> - Editorial information  <button type="button" class="btn btn-primary px-1 py-0" data-toggle="toggle" data-target="#editorialinformation"><small>Show/hide</small></button> + Editorial information  <button type="button" class="btn btn-primary px-1 py-0" data-bs-toggle="toggle" data-target="#editorialinformation"><small>Show/hide</small></button> </h3> <div id="editorialinformation" class="mt-2" style="display:none;"> diff --git a/scipost_django/submissions/templates/submissions/admin/_recommendation_tooltip.html b/scipost_django/submissions/templates/submissions/admin/_recommendation_tooltip.html index c9a403312..30314cb53 100644 --- a/scipost_django/submissions/templates/submissions/admin/_recommendation_tooltip.html +++ b/scipost_django/submissions/templates/submissions/admin/_recommendation_tooltip.html @@ -1 +1 @@ -<span data-toggle="tooltip" data-html="true" title="Eligible to vote ({{ recommendation.eligible_to_vote.count }})<hr>Agreed ({{ recommendation.voted_for.count }})<br>Disagreed ({{ recommendation.voted_against.count }})<br>Abstained ({{ recommendation.voted_abstain.count }})">{% include 'bi/info-circle-fill.html' %}</span> +<span data-bs-toggle="tooltip" data-html="true" title="Eligible to vote ({{ recommendation.eligible_to_vote.count }})<hr>Agreed ({{ recommendation.voted_for.count }})<br>Disagreed ({{ recommendation.voted_against.count }})<br>Abstained ({{ recommendation.voted_abstain.count }})">{% include 'bi/info-circle-fill.html' %}</span> diff --git a/scipost_django/submissions/templates/submissions/admin/recommendation_prepare_for_voting.html b/scipost_django/submissions/templates/submissions/admin/recommendation_prepare_for_voting.html index 4445f28a0..5c9108342 100644 --- a/scipost_django/submissions/templates/submissions/admin/recommendation_prepare_for_voting.html +++ b/scipost_django/submissions/templates/submissions/admin/recommendation_prepare_for_voting.html @@ -38,7 +38,7 @@ {{ fellow.contributor.user.first_name }} {{ fellow.contributor.user.last_name }} <br> {% for specialty in fellow.contributor.profile.specialties.all %} - <div class="single d-inline" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> + <div class="single d-inline" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> {% endfor %} </li> {% endfor %} @@ -53,7 +53,7 @@ {{ voter.user.first_name }} {{ voter.user.last_name }} <br> {% for specialty in voter.profile.specialties.all %} - <div class="single d-inline" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> + <div class="single d-inline" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code }}</div> {% endfor %} </li> {% endfor %} diff --git a/scipost_django/submissions/templates/submissions/admin/submission_preassign_editors.html b/scipost_django/submissions/templates/submissions/admin/submission_preassign_editors.html index 4458c6155..0b80cb43b 100644 --- a/scipost_django/submissions/templates/submissions/admin/submission_preassign_editors.html +++ b/scipost_django/submissions/templates/submissions/admin/submission_preassign_editors.html @@ -70,7 +70,7 @@ <td>{{ submission.get_status_display }}</td> </tr> <tr> - <td>Number of <u data-toggle="tooltip" data-title="Red-label declines are declines with reason: 'Not interested enough' or 'SciPost should not even consider this paper'.">red-label declines</u>:</td> + <td>Number of <u data-bs-toggle="tooltip" data-title="Red-label declines are declines with reason: 'Not interested enough' or 'SciPost should not even consider this paper'.">red-label declines</u>:</td> <td> {% if submission.editorial_assignments.declined_red.count >= 3 %} <span class="text-danger">{% include 'bi/exclamation-circle-fill.html' %} {{ submission.editorial_assignments.declined_red.count }}</span> @@ -113,7 +113,7 @@ <strong>{{ assignment.to }}</strong> <br> {% for specialty in assignment.to.profile.specialties.all %} - <div class="single d-inline specialty" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code}}</div> + <div class="single d-inline specialty" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code}}</div> {% endfor %} </td> <td> @@ -174,12 +174,12 @@ <strong> {{ form.get_fellow }} {% if form.instance.status != 'preassigned' %} - <span data-toggle="tooltip" data-title="This fellow has already been invited. Therefore, this invitation will not be removed."><span class="text-danger" aria-hidden="true">{% include 'bi/exclamation-circle-fill.html' %}</span></span> + <span data-bs-toggle="tooltip" data-title="This fellow has already been invited. Therefore, this invitation will not be removed."><span class="text-danger" aria-hidden="true">{% include 'bi/exclamation-circle-fill.html' %}</span></span> {% endif %} </strong> <br> {% for specialty in form.get_fellow.profile.specialties.all %} - <div class="single d-inline specialty" data-specialty="{{ specialty.slug }}" data-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code}}</div> + <div class="single d-inline specialty" data-specialty="{{ specialty.slug }}" data-bs-toggle="tooltip" data-placement="bottom" title="{{ specialty }}">{{ specialty.code}}</div> {% endfor %} </td> <td> diff --git a/scipost_django/submissions/templates/submissions/pool/_referee_invitations.html b/scipost_django/submissions/templates/submissions/pool/_referee_invitations.html index 2bc0eedde..38faf2dc9 100644 --- a/scipost_django/submissions/templates/submissions/pool/_referee_invitations.html +++ b/scipost_django/submissions/templates/submissions/pool/_referee_invitations.html @@ -16,17 +16,17 @@ <tr{% if invitation.needs_attention %} class="table-warning"{% endif %}> <td> {% if invitation.needs_sending %} - <div class="text-center" data-toggle="tooltip" data-title="The invitation email has not been sent.<br>Please click on the Resend button." data-html="true"> + <div class="text-center" data-bs-toggle="tooltip" data-title="The invitation email has not been sent.<br>Please click on the Resend button." data-html="true"> {% include 'bi/info-circle-fill.html' %} {% include 'bi/arrow-right.html' %} </div> {% elif invitation.needs_response %} - <div class="text-center" data-toggle="tooltip" data-title="This referee has not responded in over three days.<br>Consider sending a reminder or cancelling the invitation." data-html="true"> + <div class="text-center" data-bs-toggle="tooltip" data-title="This referee has not responded in over three days.<br>Consider sending a reminder or cancelling the invitation." data-html="true"> {% include 'bi/info-circle-fill.html' %} {% include 'bi/arrow-right.html' %} </div> {% elif invitation.needs_fulfillment_reminder %} - <div class="text-center" data-toggle="tooltip" data-title="This referee has accepted to send a Report, but not yet delivered it.<br>Consider sending a reminder." data-html="true"> + <div class="text-center" data-bs-toggle="tooltip" data-title="This referee has accepted to send a Report, but not yet delivered it.<br>Consider sending a reminder." data-html="true"> {% include 'bi/info-circle-fill.html' %} {% include 'bi/arrow-right.html' %} </div> @@ -94,7 +94,7 @@ <a href="{% url 'submissions:communication' identifier_w_vn_nr=submission.preprint.identifier_w_vn_nr comtype='EtoR' referee_id=invitation.referee.id %}">Write a communication</a> {% if invitation.referee.editorial_communications|filter_for_submission:submission %} <br> - <button type="button" class="btn btn-link p-0" data-toggle="toggle" data-target="#comm-row-{{ invitation.id }}"> + <button type="button" class="btn btn-link p-0" data-bs-toggle="toggle" data-target="#comm-row-{{ invitation.id }}"> <small>Show communication ({{ invitation.referee.editorial_communications|filter_for_submission:submission|length }})</small> </button> {% endif %} @@ -111,7 +111,7 @@ <td colspan="3"></td> <td colspan="2"> {% if invitation.referee %} - <button type="button" class="btn btn-link p-0" data-toggle="toggle" data-target="#comm-row-{{ invitation.id }}"> + <button type="button" class="btn btn-link p-0" data-bs-toggle="toggle" data-target="#comm-row-{{ invitation.id }}"> <small>Show communication ({{ invitation.referee.editorial_communications|filter_for_submission:submission|length }})</small> </button> {% endif %} @@ -123,7 +123,7 @@ <td></td> <td colspan="8"> {% include 'submissions/_communication_thread.html' with communication=invitation.referee.editorial_communications|filter_for_submission:submission css_class='wide' %} - <button type="button" class="btn btn-link p-0 d-inline-block mb-2" data-toggle="toggle" data-target="#comm-row-{{ invitation.id }}"><small>Hide communication</small></button> + <button type="button" class="btn btn-link p-0 d-inline-block mb-2" data-bs-toggle="toggle" data-target="#comm-row-{{ invitation.id }}"><small>Hide communication</small></button> </td> </tr> {% endif %} diff --git a/scipost_django/submissions/templates/submissions/pool/_required_actions_tooltip.html b/scipost_django/submissions/templates/submissions/pool/_required_actions_tooltip.html index 047acdf69..f3f19346b 100644 --- a/scipost_django/submissions/templates/submissions/pool/_required_actions_tooltip.html +++ b/scipost_django/submissions/templates/submissions/pool/_required_actions_tooltip.html @@ -1,5 +1,5 @@ {% if submission.cycle.has_required_actions %} - <span class="{{ classes }}" data-toggle="tooltip" data-html="true" title=" + <span class="{{ classes }}" data-bs-toggle="tooltip" data-html="true" title=" Required Actions: <ul class='mb-0 pl-3 text-left'> {% for code, action in submission.cycle.required_actions.items %} diff --git a/scipost_django/submissions/templates/submissions/pool/_submission_comments_summary_table.html b/scipost_django/submissions/templates/submissions/pool/_submission_comments_summary_table.html index c55924b9f..626e08074 100644 --- a/scipost_django/submissions/templates/submissions/pool/_submission_comments_summary_table.html +++ b/scipost_django/submissions/templates/submissions/pool/_submission_comments_summary_table.html @@ -14,7 +14,7 @@ <tr{% if comment.is_unvetted %} class="table-warning"{% endif %}> <td class="text-center"> {% if comment.is_unvetted %} - <div class="text-center" data-toggle="tooltip" data-title="This Comment has not yet been vetted." data-html="true"> + <div class="text-center" data-bs-toggle="tooltip" data-title="This Comment has not yet been vetted." data-html="true"> {% include 'bi/info-circle-fill.html' %} {% include 'bi/arrow-right.html' %} </div> diff --git a/scipost_django/submissions/templates/submissions/pool/_submission_info_table.html b/scipost_django/submissions/templates/submissions/pool/_submission_info_table.html index 5577052b7..f10476c0b 100644 --- a/scipost_django/submissions/templates/submissions/pool/_submission_info_table.html +++ b/scipost_django/submissions/templates/submissions/pool/_submission_info_table.html @@ -68,7 +68,7 @@ <td>Comments</td> <td> {{ submission.comments.vetted.count }} - <small><span data-toggle="tooltip" data-placement='bottom' data-html="true" title="{{ submission.comments.regular_comments.vetted.count }} comments<br>{{ submission.comments.author_replies.vetted.count }} author replies<hr>{{ submission.comments.awaiting_vetting.count }} awaiting vetting">{% include 'bi/info-circle-fill.html' %}</span></small> + <small><span data-bs-toggle="tooltip" data-placement='bottom' data-html="true" title="{{ submission.comments.regular_comments.vetted.count }} comments<br>{{ submission.comments.author_replies.vetted.count }} author replies<hr>{{ submission.comments.awaiting_vetting.count }} awaiting vetting">{% include 'bi/info-circle-fill.html' %}</span></small> </td> </tr> diff --git a/scipost_django/submissions/templates/submissions/pool/_submission_li.html b/scipost_django/submissions/templates/submissions/pool/_submission_li.html index 4da57fadf..ea5d8f148 100644 --- a/scipost_django/submissions/templates/submissions/pool/_submission_li.html +++ b/scipost_django/submissions/templates/submissions/pool/_submission_li.html @@ -7,7 +7,7 @@ {% include 'submissions/pool/_submission_tooltip.html' with submission=submission %} {% if submission.status == 'unassigned' %} - <span class="mt-1 px-1 text-danger" data-toggle="tooltip" data-html="true" title="You can volunteer to become Editor-in-charge">{% include 'bi/exclamation-circle-fill.html' %}</span> + <span class="mt-1 px-1 text-danger" data-bs-toggle="tooltip" data-html="true" title="You can volunteer to become Editor-in-charge">{% include 'bi/exclamation-circle-fill.html' %}</span> {% endif %} </div> <div class="pool-item"> @@ -47,7 +47,7 @@ <div class="col-md-2"> <small class="text-muted">Actions</small> <br> - <button type="button" class="btn btn-primary px-1 py-0" data-href="{% url 'submissions:pool' submission.preprint.identifier_w_vn_nr %}" data-toggle="modal" data-target="#modal_{{ submission.id }}" data-target-body="#modal_{{ submission.id }}_body"><small>View details</small></button><br> + <button type="button" class="btn btn-primary px-1 py-0" data-href="{% url 'submissions:pool' submission.preprint.identifier_w_vn_nr %}" data-bs-toggle="modal" data-target="#modal_{{ submission.id }}" data-target-body="#modal_{{ submission.id }}_body"><small>View details</small></button><br> </div> <div class="col-md-2"> <small class="text-muted">Original submission date</small> @@ -87,7 +87,7 @@ {% endif %} {% if submission.cycle.has_required_actions %} <div class="card-text bg-danger text-white mt-1 py-1 px-2"> - <button type="button" class="btn btn-link p-0" data-href="{% url 'submissions:pool' submission.preprint.identifier_w_vn_nr %}" data-toggle="modal" data-target="#modal_{{ submission.id }}" data-target-body="#modal_{{ submission.id }}_body"><small class="text-white">This Submission contains required actions, click here to see details.</small></button> + <button type="button" class="btn btn-link p-0" data-href="{% url 'submissions:pool' submission.preprint.identifier_w_vn_nr %}" data-bs-toggle="modal" data-target="#modal_{{ submission.id }}" data-target-body="#modal_{{ submission.id }}_body"><small class="text-white">This Submission contains required actions, click here to see details.</small></button> {% if is_ed_admin %}{% include 'submissions/pool/_required_actions_tooltip.html' with submission=submission classes='text-white' %}{% endif %} </div> {% endif %} diff --git a/scipost_django/submissions/templates/submissions/pool/_submission_tooltip.html b/scipost_django/submissions/templates/submissions/pool/_submission_tooltip.html index e16bb8a94..5e6545316 100644 --- a/scipost_django/submissions/templates/submissions/pool/_submission_tooltip.html +++ b/scipost_django/submissions/templates/submissions/pool/_submission_tooltip.html @@ -1,2 +1,2 @@ -<span data-toggle="tooltip" data-html="true" +<span data-bs-toggle="tooltip" data-html="true" title="{{ submission.preprint.identifier_w_vn_nr }}<hr>Status: {{ submission.get_status_display }}<br>Latest activity: {{ submission.latest_activity }}">{% include 'bi/info-circle-fill.html' %}</span> diff --git a/scipost_django/submissions/templates/submissions/pool/pool.html b/scipost_django/submissions/templates/submissions/pool/pool.html index 4d862efa7..04a90e7fb 100644 --- a/scipost_django/submissions/templates/submissions/pool/pool.html +++ b/scipost_django/submissions/templates/submissions/pool/pool.html @@ -83,7 +83,7 @@ </ul> {% endif %} {% if latest_submission_events %} - <button type="button" class="btn btn-link" data-toggle="toggle" data-target="#lastest_events_list">{% include 'bi/chat-right-text-fill.html' %} View/hide latest events ({{ latest_submission_events|length }}) in the last 24 hours</button> + <button type="button" class="btn btn-link" data-bs-toggle="toggle" data-target="#lastest_events_list">{% include 'bi/chat-right-text-fill.html' %} View/hide latest events ({{ latest_submission_events|length }}) in the last 24 hours</button> <div id="lastest_events_list" style="display: none;"> {% include 'submissions/_submission_events_explicit.html' with events=latest_submission_events %} </div> diff --git a/scipost_django/submissions/templates/submissions/submission_detail.html b/scipost_django/submissions/templates/submissions/submission_detail.html index d58532ed8..f924ee2d3 100644 --- a/scipost_django/submissions/templates/submissions/submission_detail.html +++ b/scipost_django/submissions/templates/submissions/submission_detail.html @@ -162,7 +162,7 @@ <div class="col-12"> <div class="mb-3"> <h2 class="highlight">Reports on this Submission</h2> - <button type="button" class="btn btn-link p-0" data-toggle="toggle" data-target="#reports"><small>Show/hide Reports view</small></button> + <button type="button" class="btn btn-link p-0" data-bs-toggle="toggle" data-target="#reports"><small>Show/hide Reports view</small></button> </div> </div> </div> diff --git a/scipost_django/submissions/templates/submissions/submit_choose_journal.html b/scipost_django/submissions/templates/submissions/submit_choose_journal.html index 2094a53bf..9550530fe 100644 --- a/scipost_django/submissions/templates/submissions/submit_choose_journal.html +++ b/scipost_django/submissions/templates/submissions/submit_choose_journal.html @@ -43,7 +43,7 @@ <div class="card-header {{ journal.doi_label }}"> <h3 class="m-2"><a href="{{ journal.get_absolute_url }}">{{ journal.name }}</a> {% if journal.has_DOAJ_Seal %} - <a href="https://doaj.org" class="float-right" data-toggle="tooltip" title="{{ journal.name }} has received the Directory of Open Access Journals Seal"><img src="{% static 'scipost/images/DOAJ_Seal_logo_big.png' %}" alt="DOAJ Seal" width="20em"></a> + <a href="https://doaj.org" class="float-right" data-bs-toggle="tooltip" title="{{ journal.name }} has received the Directory of Open Access Journals Seal"><img src="{% static 'scipost/images/DOAJ_Seal_logo_big.png' %}" alt="DOAJ Seal" width="20em"></a> {% endif %} </h3> </div> diff --git a/scipost_django/templates/rest_framework/api.html b/scipost_django/templates/rest_framework/api.html index 5ac33bd14..67c292a1b 100644 --- a/scipost_django/templates/rest_framework/api.html +++ b/scipost_django/templates/rest_framework/api.html @@ -89,7 +89,7 @@ <div class="btn-group format-selection"> <a class="btn btn-primary js-tooltip" href="{{ request.get_full_path }}" rel="nofollow" title="Make a GET request on the {{ name }} resource">GET</a> - <button class="btn btn-primary dropdown-toggle js-tooltip" data-toggle="dropdown" title="Specify a format for the GET request"> + <button class="btn btn-primary dropdown-toggle js-tooltip" data-bs-toggle="dropdown" title="Specify a format for the GET request"> <span class="caret"></span> </button> <ul class="dropdown-menu"> @@ -114,7 +114,7 @@ {% endif %} {% if delete_form %} - <button class="btn btn-danger button-form js-tooltip" title="Make a DELETE request on the {{ name }} resource" data-toggle="modal" data-target="#deleteModal">DELETE</button> + <button class="btn btn-danger button-form js-tooltip" title="Make a DELETE request on the {{ name }} resource" data-bs-toggle="modal" data-target="#deleteModal">DELETE</button> <!-- Delete Modal --> <div class="modal fade" id="deleteModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> @@ -136,7 +136,7 @@ {% if extra_actions %} <div class="dropdown" style="float: right; margin-right: 10px"> - <button class="btn btn-default" id="extra-actions-menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> + <button class="btn btn-default" id="extra-actions-menu" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> {% trans "Extra Actions" %} <span class="caret"></span> </button> @@ -149,7 +149,7 @@ {% endif %} {% if filter_form %} - <button style="float: right; margin-right: 10px" data-toggle="modal" data-target="#filtersModal" class="btn btn-default"> + <button style="float: right; margin-right: 10px" data-bs-toggle="modal" data-target="#filtersModal" class="btn btn-default"> <span class="glyphicon glyphicon-wrench" aria-hidden="true"></span> {% trans "Filters" %} </button> -- GitLab