moviewyrm/bookwyrm/templates/lists/layout.html

34 lines
1.1 KiB
HTML
Raw Normal View History

2021-01-31 20:07:54 +00:00
{% extends 'layout.html' %}
2021-02-28 02:48:10 +00:00
{% load i18n %}
2021-01-31 20:07:54 +00:00
{% block title %}{{ list.name }}{% endblock %}
{% block content %}
2021-02-23 21:04:24 +00:00
<header class="columns content is-mobile">
2021-01-31 20:07:54 +00:00
<div class="column">
<h1 class="title">{{ list.name }} <span class="subtitle">{% include 'snippets/privacy-icons.html' with item=list %}</span></h1>
2021-03-07 18:24:46 +00:00
<p class="subtitle help">
{% include 'lists/created_text.html' with list=list %}
</p>
2021-01-31 20:07:54 +00:00
</div>
2021-08-23 20:02:27 +00:00
<div class="column is-narrow is-flex">
{% if request.user == list.user %}
{% trans "Edit List" as button_text %}
{% include 'snippets/toggle/open_button.html' with text=button_text icon_with_text="pencil" controls_text="edit_list" focus="edit_list_header" %}
{% endif %}
{% include "lists/bookmark_button.html" with list=list %}
2021-01-31 20:07:54 +00:00
</div>
</header>
2021-05-23 15:17:46 +00:00
<div class="block content">
{% include 'snippets/trimmed_text.html' with full=list.description %}
2021-05-23 15:17:46 +00:00
</div>
2021-02-03 20:25:33 +00:00
<div class="block">
2021-09-26 05:56:52 +00:00
{% include 'lists/edit_form.html' with controls_text="edit_list" user_groups=user_groups %}
2021-02-03 20:25:33 +00:00
</div>
2021-01-31 20:07:54 +00:00
{% block panel %}{% endblock %}
{% endblock %}