moviewyrm/bookwyrm/templates/lists/list_layout.html

27 lines
1,006 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
{% load bookwyrm_tags %}
{% 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-02-28 02:48:10 +00:00
<p class="subtitle help">{% if list.curation != 'open' %}{% trans "Created and curated by" %}{% else %}{% trans "Created by" %} {% include 'snippets/username.html' with user=list.user %}</p>
{% endif %}
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-02-02 23:46:58 +00:00
{% include 'snippets/toggle/open_button.html' with text="Edit list" 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 %}