moviewyrm/bookwyrm/templates/compose.html

40 lines
1.2 KiB
HTML
Raw Normal View History

2021-04-03 21:32:34 +00:00
{% extends 'layout.html' %}
{% load i18n %}
2021-05-11 22:14:42 +00:00
{% load utilities %}
2021-04-03 21:32:34 +00:00
{% block title %}{% trans "Edit status" %}{% endblock %}
2021-04-03 21:32:34 +00:00
{% block content %}
<header class="block content">
<h1>{% trans "Edit status" %}</h1>
2021-04-03 21:32:34 +00:00
</header>
2021-04-03 22:47:47 +00:00
{% with 0|uuid as uuid %}
2021-04-03 21:32:34 +00:00
<div class="box columns">
{% if book %}
<div class="column is-3 is-cover">
2021-04-03 21:32:34 +00:00
<div class="block">
<a href="{{ book.local_path }}">{% include 'snippets/book_cover.html' with book=book cover_class='is-w-auto-tablet is-h-l-mobile' %}</a>
2021-04-03 21:32:34 +00:00
</div>
2021-04-03 21:32:34 +00:00
<h3 class="title is-6">{% include 'snippets/book_titleby.html' with book=book %}</h3>
</div>
{% endif %}
<div class="column">
2021-04-04 16:18:52 +00:00
{% if draft.reply_parent %}
{% include 'snippets/status/status.html' with status=draft.reply_parent no_interact=True %}
2021-10-15 21:45:26 +00:00
{% else %}
<div class="block">
{% include "snippets/status/header.html" with status=draft %}
</div>
2021-04-04 16:18:52 +00:00
{% endif %}
2021-04-03 22:47:47 +00:00
{% if not draft %}
2021-04-03 21:32:34 +00:00
{% include 'snippets/create_status.html' %}
{% else %}
{% include 'snippets/create_status/status.html' with no_script=True %}
2021-04-03 21:32:34 +00:00
{% endif %}
</div>
</div>
2021-04-03 22:47:47 +00:00
{% endwith %}
2021-04-03 21:32:34 +00:00
{% endblock %}