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
|
|
|
{% load bookwyrm_tags %}
|
|
|
|
|
2021-02-28 18:00:36 +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
|
|
|
{% include 'snippets/trimmed_text.html' with full=list.description %}
|
|
|
|
</div>
|
|
|
|
{% if request.user == list.user %}
|
|
|
|
<div class="column is-narrow">
|
2021-03-01 01:10:30 +00:00
|
|
|
{% trans "Edit List" as button_text %}
|
|
|
|
{% include 'snippets/toggle/open_button.html' with text=button_text icon="pencil" controls_text="edit-list" focus="edit-list-header" %}
|
2021-01-31 20:07:54 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</header>
|
|
|
|
|
2021-02-03 20:25:33 +00:00
|
|
|
<div class="block">
|
|
|
|
{% include 'lists/edit_form.html' with controls_text="edit-list" %}
|
|
|
|
</div>
|
2021-01-31 20:07:54 +00:00
|
|
|
|
|
|
|
{% block panel %}{% endblock %}
|
|
|
|
|
|
|
|
{% endblock %}
|