mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 19:11:09 +00:00
Merge pull request #1121 from bookwyrm-social/announcement-show-button-mobile
Announcement show button mobile
This commit is contained in:
commit
2e7d84d53c
2 changed files with 3 additions and 3 deletions
|
@ -16,8 +16,8 @@
|
||||||
<form class="control" action="{% url 'settings-announcements-delete' announcement.id %}" method="post">
|
<form class="control" action="{% url 'settings-announcements-delete' announcement.id %}" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<button type="submit" class="button is-danger">
|
<button type="submit" class="button is-danger">
|
||||||
<span class="icon icon-x" aria-hidden="true"></span>
|
<span class="icon icon-x m-0-mobile" aria-hidden="true"></span>
|
||||||
<span>{% trans "Delete" %}</span>
|
<span class="is-sr-only-mobile">{% trans "Delete" %}</span>
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
class="notification mb-1 p-3{% if not admin_mode %} is-hidden{% endif %} transition-y"
|
class="notification mb-1 p-3{% if not admin_mode %} is-hidden{% endif %} transition-y"
|
||||||
{% if not admin_mode %}data-hide="hide-announcement-{{ announcement.id }}"{% endif %}
|
{% if not admin_mode %}data-hide="hide-announcement-{{ announcement.id }}"{% endif %}
|
||||||
>
|
>
|
||||||
<div class="columns mb-0">
|
<div class="columns mb-0 is-mobile">
|
||||||
<div class="column pb-0">
|
<div class="column pb-0">
|
||||||
{% if announcement.event_date %}
|
{% if announcement.event_date %}
|
||||||
<strong>{{ announcement.event_date|naturalday|title }}:</strong>
|
<strong>{{ announcement.event_date|naturalday|title }}:</strong>
|
||||||
|
|
Loading…
Reference in a new issue