Skip to content

Commit

Permalink
UHF-9494: Started with unifying styles
Browse files Browse the repository at this point in the history
  • Loading branch information
annadruid committed Feb 12, 2025
1 parent b30f5a7 commit ac67aa8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions src/scss/06_components/pages/_service.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,9 @@ $teaser-icon-size-desktop: 48px;
}

.service__units__count-container {
@include font('lead');
display: block;
margin-top: $spacing;
white-space: nowrap;

.service__units__count {
font-weight: $font-weight-bold;
}
}

.service__units__list {
Expand Down
7 changes: 3 additions & 4 deletions templates/views/views-view--service-units.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
<div class="service__units__header">
<h2 class="service__units__title">{% trans %}Service points{% endtrans %}</h2>
{% if total_rows > pager_items_per_page %}
<span class="service__units__count-container">
<span class="service__units__count">{{ total_rows }}</span>
{% trans with {'context': 'Service units count'}%}service point{% plural total_rows %}service points{% endtrans %}
</span>
<h3 class="service__units__count-container">
{{ total_rows }} {% trans with {'context': 'Service units count'}%}service point{% plural total_rows %}service points{% endtrans %}
</h3>
{% endif %}
</div>

Expand Down
6 changes: 6 additions & 0 deletions translations/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ msgstr "Siirry ulkoiselle sivustolle"
msgid "Service points"
msgstr "Palvelupisteet"

msgctxt "Service units count"
msgid "service point"
msgid_plural "service points"
msgstr[0] "palvelupiste"
msgstr[1] "palvelupistettä"

msgctxt "Short description for editors about current page being unpublished"
msgid "Unpublished"
msgstr "Julkaisematon"
Expand Down
6 changes: 6 additions & 0 deletions translations/sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ msgstr "Gå till extern webbplats"
msgid "Service points"
msgstr "Serviceställen"

msgctxt "Service units count"
msgid "service point"
msgid_plural "service points"
msgstr[0] "serviceställen"
msgstr[1] "serviceställer"

msgctxt "Short description for editors about current page being unpublished"
msgid "Unpublished"
msgstr "Opublicerad"
Expand Down

0 comments on commit ac67aa8

Please sign in to comment.