Skip to content

Commit

Permalink
[#2955] Replace B tags and Headings with appropriate styleclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Jan 21, 2025
1 parent 3cb42c1 commit 9b0440b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@
.contactmoment {
&__heading {
margin: 0 0 var(--spacing-large) 0;
line-height: var(--font-line-height-heading-3);
font-family: var(--font-family-heading);
font-size: var(--font-size-heading-3);
font-weight: var(--font-weight-heading-3);
}

&__text {
Expand Down
2 changes: 1 addition & 1 deletion src/open_inwoner/templates/pages/cases/list_inner.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h1 class="utrecht-heading-1" id="cases">{{ page_title }} ({{ paginator.count }}
<div class="card__grid">
{% render_grid %}
{% if not cases %}
<b>{% trans "U heeft op dit moment nog geen lopende aanvragen." %}</b>
<p class="utrecht-paragraph"><strong>{% trans "U heeft op dit moment nog geen lopende aanvragen." %}</strong></p>
{% endif %}

{% for case in cases %}
Expand Down
2 changes: 1 addition & 1 deletion src/open_inwoner/templates/pages/cases/status_inner.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ <h2 class="utrecht-heading-2 {% if case.new_docs %}indicator{% endif %}" id="doc
{% endrender_column %}
{% endrender_grid %}
{% else %}
<h2 class="utrecht-heading-2">{% trans 'There is no available data at the moment.' %}</h2>
<p class="utrecht-paragraph"><strong>{% trans 'There is no available data at the moment.' %}</strong></p>
{% endif %}
</div>
6 changes: 3 additions & 3 deletions src/open_inwoner/templates/pages/contactmoment/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ <h1 class="utrecht-heading-1" id="title">{{ question.subject }}</h1>
{% render_column start=4 span=6 %}
<section class="contactmoment">
<div>
<h2 class="contactmoment__heading">{% trans "Uw vraag" %}</h2>
<h2 class="utrecht-heading-3 contactmoment__heading">{% trans "Uw vraag" %}</h2>
<p class="contactmoment__text">{{ question.question_text }}</p>
</div>
<div>
<h2 class="contactmoment__heading">{% trans "Antwoord" %}</h2>
<h2 class="utrecht-heading-3 contactmoment__heading">{% trans "Antwoord" %}</h2>
{% if question.answer_text %}
<p class="contactmoment__text">{{ question.answer_text }}</p>
{% else %}
Expand All @@ -42,6 +42,6 @@ <h2 class="contactmoment__heading">{% trans "Antwoord" %}</h2>
{% endrender_grid %}

{% else %}
<h2 class="utrecht-heading-2">{% trans 'There is no available data at the moment.' %}</h2>
<p class="utrecht-paragraph"><strong>{% trans 'There is no available data at the moment.' %}</strong></p>
{% endif %}
{% endblock content %}
2 changes: 1 addition & 1 deletion src/open_inwoner/templates/pages/contactmoment/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h2 class="utrecht-heading-2">{% trans "Stel een vraag" %}</h2>
{% if questions %}
<h2 class="contactmomenten__title">{% trans "Eerder gestelde vragen" %}</h2>
{% else %}
<h2>{% trans "U heeft op dit moment nog geen vragen." %}</h2>
<p class="utrecht-paragraph"><strong>{% trans "U heeft op dit moment nog geen vragen." %}</strong></p>
{% endif %}

{% render_grid %}
Expand Down
2 changes: 1 addition & 1 deletion src/open_inwoner/templates/pages/profile/appointments.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h2 class="card__heading-2">{{ appointment.services.0.name|default:appointment.t
{% endrender_grid %}
</div>
{% else %}
<p class="tabled__key">{% trans "Geen afspraken beschikbaar" %}</p>
<p class="utrecht-paragraph">{% trans "Geen afspraken beschikbaar" %}</p>
{% endif %}

{% endblock %}

0 comments on commit 9b0440b

Please sign in to comment.