2021-11-13 00:23:56 +00:00
{% extends 'import/import_status.html' %}
{% load i18n %}
{% load utilities %}
{% block title %}{% trans "Import Troubleshooting" %}{% endblock %}
{% block page_title %}
{% trans "Review items" %}
{% endblock %}
2021-11-13 19:15:58 +00:00
{% block breadcrumbs %}
< li class = "is-active" >
2021-11-13 19:40:19 +00:00
< a href = "#" aria-current = "page" > {% trans "Review" %}< / a >
2021-11-13 19:15:58 +00:00
< / li >
{% endblock %}
2021-11-13 00:23:56 +00:00
{% block actions %}
< div class = "block" >
< div class = "notification content" >
< p >
{% trans "Approving a suggestion will permanently add the suggested book to your shelves and associate your reading dates, reviews, and ratings with that book." %}
< / p >
< / div >
< / div >
{% endblock %}
2021-11-13 17:34:10 +00:00
{% block import_cols_headers %}
2021-11-13 00:23:56 +00:00
{% endblock %}
2021-11-13 17:34:10 +00:00
{% block index_col %}
2021-11-13 00:23:56 +00:00
< td rowspan = "2" >
{{ item.index }}
< / td >
2021-11-13 17:34:10 +00:00
{% endblock %}
{% block import_cols %}
{% endblock %}
{% block action_row %}
2021-11-13 00:23:56 +00:00
< tr >
2021-11-13 17:43:52 +00:00
< td colspan = "5" >
2021-11-13 00:23:56 +00:00
< div class = "columns is-mobile" >
{% with guess=item.book_guess %}
< div class = "column is-narrow" >
< a href = "{{ item.book.local_path }}" target = "_blank" >
{% include 'snippets/book_cover.html' with book=guess cover_class='is-h-s' size='small' %}
< / a >
< / div >
2021-11-15 19:41:29 +00:00
< div class = "column content" >
< p >
{% include 'snippets/book_titleby.html' with book=guess %}
< / p >
2021-11-13 17:43:52 +00:00
< div class = "content is-flex" >
< form class = "pr-2" name = "approve-{{ item.id }}" method = "POST" action = "{% url 'import-approve' job.id item.id %}" >
{% csrf_token %}
< button type = "submit" class = "button is-success" >
< span class = "icon icon-check m-0-mobile" aria-hidden = "true" > < / span >
< span class = "is-sr-only-mobile" > {% trans "Approve" %}< / span >
< / button >
< / form >
< form name = "delete-{{ item.id }}" method = "POST" action = "{% url 'import-delete' job.id item.id %}" >
{% csrf_token %}
< button type = "submit" class = "button is-danger is-light is-outlined" >
< span class = "icon icon-x m-0-mobile" aria-hidden = "true" > < / span >
2021-11-13 19:54:28 +00:00
< span class = "is-sr-only-mobile" > {% trans "Reject" %}< / span >
2021-11-13 17:43:52 +00:00
< / button >
< / form >
< / div >
2021-11-13 00:23:56 +00:00
< / div >
{% endwith %}
< / div >
< / td >
< / tr >
{% endblock %}