Moves user admin templates into snippets

This commit is contained in:
Mouse Reeve
2021-04-19 15:19:55 -07:00
parent 788e282dce
commit 0dd8b33991
4 changed files with 94 additions and 69 deletions

View File

@ -0,0 +1,19 @@
{% extends 'settings/admin_layout.html' %}
{% load i18n %}
{% load bookwyrm_tags %}
{% load humanize %}
{% block title %}{{ username }}{% endblock %}
{% block header %}{{ username }}{% endblock %}
{% block panel %}
<div class="block">
<a href="{% url 'settings-reports' %}">{% trans "Back to reports" %}</a>
</div>
{% include 'user_admin/user_info.html' with user=user %}
{% include 'user_admin/user_moderation_actions.html' with user=user %}
{% endblock %}