1
0
mirror of synced 2025-12-25 02:17:36 -05:00
Files
docs/includes/release-notes-category-label.html
Kevin Heis 46c16001c3 Upgrade Primer with translation shim for trashcan icon (#18735)
* Revert "Revert "Upgrade Primer CSS to 16 (#18713)""

This reverts commit c01d3e302e.

* Add a hack to handle trashcan icon in translated content
2021-04-13 18:38:04 +00:00

21 lines
661 B
HTML

{% case section[0] %}
{% when "features" %}
{% assign text = "Features" %}
{% when "bugs" %}
{% assign text = "Bug fixes" %}
{% when "known_issues" %}
{% assign text = "Known issues" %}
{% when "security_fixes" %}
{% assign text = "Security fixes" %}
{% when "changes" %}
{% assign text = "Changes" %}
{% when "deprecations" %}
{% assign text = "Deprecations" %}
{% when "backups" %}
{% assign text = "Backups" %}
{% else %}
{% assign text = "INVALID SECTION" %}
{% endcase %}
<span class="px-3 py-2 text-small text-bold text-uppercase text-mono color-text-inverse release-notes-section-label">{{ text }}</span>