moviewyrm/bookwyrm/templates/snippets/user_options.html

24 lines
710 B
HTML
Raw Normal View History

2021-01-29 16:51:36 +00:00
{% extends 'components/dropdown.html' %}
2021-02-28 02:48:10 +00:00
{% load i18n %}
2021-05-11 22:14:42 +00:00
{% load utilities %}
2021-01-25 22:03:18 +00:00
{% block dropdown-trigger %}
<span class="icon icon-dots-three">
2021-02-28 02:48:10 +00:00
<span class="is-sr-only">{% trans "More options" %}</span>
2021-01-25 22:03:18 +00:00
</span>
{% endblock %}
{% block dropdown-list %}
2021-01-29 19:44:04 +00:00
<li role="menuitem">
2022-01-30 19:10:18 +00:00
<div class="control">
<a href="{% url 'direct-messages-user' user|username %}" class="button is-fullwidth is-small">{% trans "Send direct message" %}</a>
</div>
2021-01-29 19:44:04 +00:00
</li>
2021-03-08 23:49:44 +00:00
<li role="menuitem">
2021-04-17 17:28:03 +00:00
{% include 'snippets/report_button.html' with user=user class="is-fullwidth" %}
2021-03-08 23:49:44 +00:00
</li>
2021-01-25 22:03:18 +00:00
<li role="menuitem">
{% include 'snippets/block_button.html' with user=user class="is-fullwidth" blocks=False %}
2021-01-25 22:03:18 +00:00
</li>
{% endblock %}