Skip to content

Commit

Permalink
feat: replace .font-weight-* and font-italic classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
hellodeloo committed Oct 4, 2024
1 parent 4001074 commit cc53d57
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 17 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lacommunaute/templates/forum/category_forum_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2 class="mt-3">
{% endif %}
<div class="card-body pb-0">
<p class="h3 lh-base">
<i class="ri-newspaper-line font-weight-normal"></i> {{ forum.name }}
<i class="ri-newspaper-line fw-normal"></i> {{ forum.name }}
</p>
{% if forum.short_description %}<div>{{ forum.short_description }}</div>{% endif %}
</div>
Expand Down
6 changes: 3 additions & 3 deletions lacommunaute/templates/forum/partials/rating.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ <h3 class="h3">Merci d'avoir noté cette fiche !</h3>
{% for star in "12345" %}
<div class="btn btn-ico-only">
{% if forloop.counter > rating %}
<i class="ri-star-line font-weight-medium" aria-hidden="true"></i>
<i class="ri-star-line fw-medium" aria-hidden="true"></i>
{% else %}
<i class="ri-star-fill font-weight-medium" aria-hidden="true"></i>
<i class="ri-star-fill fw-medium" aria-hidden="true"></i>
{% endif %}
</div>
{% endfor %}
Expand All @@ -55,7 +55,7 @@ <h3 class="h3">Cette fiche vous a-t-elle été utile ?</h3>
<div class="btn-group btn-group-lg" role="group" aria-label="Notation de la fiche pratique">
{% for star in "12345" %}
<button type="submit" name="rating" value="{{ star }}" class="btn btn-ico-only btn-secondary matomo-event" data-matomo-category="engagement" data-matomo-action="rate" data-matomo-option="post">
<i class="ri-star-line font-weight-medium" aria-hidden="true"></i>
<i class="ri-star-line fw-medium" aria-hidden="true"></i>
</button>
{% endfor %}
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% load i18n %}
{% load widget_tweaks %}
<label class="font-weight-bold">{% trans "Poll options" %}</label>
<label class="fw-bold">{% trans "Poll options" %}</label>
{{ poll_option_formset.management_form }}
{% for form in poll_option_formset.forms %}
<div class="poll-option-form row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ <h3 class="modal-title" id="rechercheEmploiLabel">
<ul class="list-unstyled mb-5">
<li class="d-flex mb-2">
<i class="text-success ri-checkbox-circle-fill"></i>
<span class="font-weight-bold ms-2">Créer votre espace candidat</span>
<span class="fw-bold ms-2">Créer votre espace candidat</span>
</li>
<li class="d-flex mb-2">
<i class="text-success ri-checkbox-circle-fill"></i>
<span class="font-weight-bold ms-2">Rechercher les offres d'emploi à proximité de votre ville</span>
<span class="fw-bold ms-2">Rechercher les offres d'emploi à proximité de votre ville</span>
</li>
<li class="d-flex mb-2">
<i class="text-success ri-checkbox-circle-fill"></i>
<span class="font-weight-bold ms-2">Candidatez aux offres !</span>
<span class="fw-bold ms-2">Candidatez aux offres !</span>
</li>
<li class="d-flex mb-2">
<i class="text-success ri-checkbox-circle-fill"></i>
<span class="font-weight-bold ms-2">N'oubliez pas de faire valider votre élégibilité par votre conseiller France Travail.</span>
<span class="fw-bold ms-2">N'oubliez pas de faire valider votre élégibilité par votre conseiller France Travail.</span>
</li>
</ul>
<p class="text-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
data-matomo-option="post"
aria-label="{% trans "Show me the comment" %}"
role="button">
<i class="ri-eye-line font-weight-normal" aria-hidden="true"></i>
<i class="ri-eye-line fw-normal" aria-hidden="true"></i>
<span>
{% if posts_count > 2 %}
{% blocktrans trimmed with posts_count=topic.posts_count|add:"-1" %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<h3 class="h4 mb-0">Votre {% trans "Preview"|lower %}</h3>
<hr>
<div class="post-content">
{% if post_form.subject.value %}<p class="font-weight-bold">{{ post_form.subject.value }}</p>{% endif %}
{% if post_form.subject.value %}<p class="fw-bold">{{ post_form.subject.value }}</p>{% endif %}
{{ post_form.content.value|safe|rendered|urlizetrunc_target_blank:30 }}
</div>
{% include "forum_conversation/forum_attachments/attachments_preview.html" %}
Expand Down
2 changes: 1 addition & 1 deletion lacommunaute/templates/forum_conversation/topic_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{% endif %}
</div>
<p class="h4 mb-0 flex-grow-1">
<span class="topic-icon font-weight-normal">
<span class="topic-icon fw-normal">
<i class="{% if topic.is_sticky %}ri-lightbulb-flash-line{% elif topic.is_announce %}ri-information-line{% else %}ri-record-circle-line{% endif %} ri-xl aria-hidden=" true " "></i>
</span>
<a href="{% url 'forum_conversation:topic' topic.forum.slug topic.forum.pk topic.slug topic.pk %}"
Expand Down
2 changes: 1 addition & 1 deletion lacommunaute/templates/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h1 class="h1-hero">L’espace d’entraide des professionnels de l’inclusion<
data-matomo-category="engagement"
data-matomo-action="search"
data-matomo-option="submit_query_header_hp">
<i class="ri-search-line font-weight-bold" aria-hidden="true"></i>
<i class="ri-search-line fw-bold" aria-hidden="true"></i>
<span class="d-none d-sm-inline-flex me-0 me-sm-1">{% trans 'Search' %}</span>
</button>
</div>
Expand Down
4 changes: 2 additions & 2 deletions lacommunaute/templates/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<input class="form-control w-300px" type="search" placeholder="{% trans "Search forums" %}" aria-label="{% trans "Search forums" %}" name="q">
<div class="input-group-text p-0">
<button type="submit" class="btn btn-link btn-ico matomo-event" data-matomo-category="engagement" data-matomo-action="search" data-matomo-option="submit_query_header">
<i class="ri-search-line font-weight-bold" aria-label="{% trans "Search forums" %}"></i>
<i class="ri-search-line fw-bold" aria-label="{% trans "Search forums" %}"></i>
</button>
</div>
</div>
Expand Down Expand Up @@ -178,7 +178,7 @@ <h4 class="h5 mb-0 btn-ico align-items-center" id="offcanvasApplyFiltersLabel">
<input class="form-control" type="search" placeholder="{% trans "Search forums" %}" aria-label="{% trans "Search forums" %}" name="q">
<div class="input-group-text p-0">
<button type="submit" class="btn btn-link btn-ico matomo-event" data-matomo-category="engagement" data-matomo-action="search" data-matomo-option="submit_query_header">
<i class="ri-search-line font-weight-bold" aria-label="{% trans "Search forums" %}"></i>
<i class="ri-search-line fw-bold" aria-label="{% trans "Search forums" %}"></i>
</button>
</div>
</div>
Expand Down

0 comments on commit cc53d57

Please sign in to comment.