mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-09-26 13:30:13 +00:00
c17a2ec55b
The existing display wasn't showing the correct colors and was repeating code unnecessarily
19 lines
391 B
HTML
19 lines
391 B
HTML
{% if large %}
|
|
|
|
<p class="notification is-{{ level }}">
|
|
<span class="icon icon-{{ icon }}" aria-hidden="true"></span>
|
|
{{ text }}
|
|
{% if deactivation_reason %}
|
|
<span class="help">({{ deactivation_reason }})</span>
|
|
{% endif %}
|
|
</p>
|
|
|
|
{% else %}
|
|
|
|
<span class="tag is-{{ level }}" aria-hidden="true">
|
|
<span class="icon icon-{{ icon }}"></span>
|
|
</span>
|
|
{{ text }}
|
|
|
|
{% endif %}
|
|
|