forked from mirrors/bookwyrm
commit
fcce8f4cbf
5 changed files with 13 additions and 8 deletions
|
@ -35,10 +35,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div class="column is-one-fifth is-clipped">
|
<div class="column is-one-fifth">
|
||||||
{% include 'snippets/book_cover.html' with book=book size=large %}
|
<div class="is-clipped">
|
||||||
{% include 'snippets/rate_action.html' with user=request.user book=book %}
|
{% include 'snippets/book_cover.html' with book=book size=large %}
|
||||||
{% include 'snippets/shelve_button/shelve_button.html' %}
|
{% include 'snippets/rate_action.html' with user=request.user book=book %}
|
||||||
|
</div>
|
||||||
|
<div class="mb-3">
|
||||||
|
{% include 'snippets/shelve_button/shelve_button.html' %}
|
||||||
|
</div>
|
||||||
|
|
||||||
{% if request.user.is_authenticated and not book.cover %}
|
{% if request.user.is_authenticated and not book.cover %}
|
||||||
<div class="block">
|
<div class="block">
|
||||||
|
@ -48,7 +52,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<section class="content">
|
<section class="content is-clipped">
|
||||||
<dl>
|
<dl>
|
||||||
{% if book.isbn_13 %}
|
{% if book.isbn_13 %}
|
||||||
<div class="is-flex is-justify-content-space-between is-align-items-center">
|
<div class="is-flex is-justify-content-space-between is-align-items-center">
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
{% trans "Ignored Invite Requests" %}
|
{% trans "Ignored Invite Requests" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% trans "Invite Requests" %}
|
{% trans "Invite Requests" %}
|
||||||
{% endif %}
|
{% endif %} ({{ count }})
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<table class="table is-striped">
|
<table class="table is-striped">
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load bookwyrm_tags %}
|
{% load bookwyrm_tags %}
|
||||||
{% if books|length > 0 %}
|
{% if books|length > 0 %}
|
||||||
<div class="table-container">
|
<div class="scroll-x">
|
||||||
<table class="table is-striped is-fullwidth">
|
<table class="table is-striped is-fullwidth">
|
||||||
|
|
||||||
<tr class="book-preview">
|
<tr class="book-preview">
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
{% if status.quote %}
|
{% if status.quote %}
|
||||||
<div class="quote block">
|
<div class="quote block">
|
||||||
<blockquote dir="auto">{{ status.quote | safe }}</blockquote>
|
<blockquote dir="auto" class="mb-2">{{ status.quote | safe }}</blockquote>
|
||||||
|
|
||||||
<p> — {% include 'snippets/book_titleby.html' with book=status.book %}</p>
|
<p> — {% include 'snippets/book_titleby.html' with book=status.book %}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -101,6 +101,7 @@ class ManageInviteRequests(View):
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
"ignored": ignored,
|
"ignored": ignored,
|
||||||
|
"count": paginated.count,
|
||||||
"requests": paginated.page(page),
|
"requests": paginated.page(page),
|
||||||
}
|
}
|
||||||
return TemplateResponse(request, "settings/manage_invite_requests.html", data)
|
return TemplateResponse(request, "settings/manage_invite_requests.html", data)
|
||||||
|
|
Loading…
Reference in a new issue