moviewyrm/bookwyrm/templates/lists/list_layout.html

33 lines
1,013 B
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>
{% if request.user == list.user %}
<div class="column is-narrow">
{% 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" %}
2021-01-31 20:07:54 +00:00
</div>
{% endif %}
</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">
{% include 'lists/edit_form.html' with controls_text="edit_list" %}
2021-02-03 20:25:33 +00:00
</div>
2021-01-31 20:07:54 +00:00
{% block panel %}{% endblock %}
{% endblock %}