diff --git a/BUGs b/BUGs index 861ba33..e47ad99 100644 --- a/BUGs +++ b/BUGs @@ -1,7 +1,4 @@ #### BUGS -BUG-1: loan card is not in right div anymore (since series stuff?) - - http://mara.ddp.net:5000/book/1513 - BUG-2: series does not deal with calcd_rating... - (on edit could, recalc as a catch-all, and obviously if we change a single book's rating, we should re-calc) diff --git a/templates/book.html b/templates/book.html index bf401e6..a822154 100644 --- a/templates/book.html +++ b/templates/book.html @@ -295,20 +295,6 @@ function AddAuthorToBook(num) { {{ hiddens.txt|safe }} - {% if 'Edit' in page_title %} - {% if b.parent|length == 0 %} -
- - {{ book_form.add_sub( class="btn btn-outline-success offset-lg-2 col-lg-2" )}} -
- {% else %} -
- - - {{ book_form.rem_sub( class="btn btn-outline-danger offset-lg-2 col-lg-3" )}} -
- {% endif %} - {% endif %} {% if books.loan|length %}
@@ -324,6 +310,22 @@ function AddAuthorToBook(num) {
{% endif %} + {% if 'Edit' in page_title %} +
+ {% if b.parent|length == 0 %} +
+ + {{ book_form.add_sub( class="btn btn-outline-success offset-lg-2 col-lg-2" )}} +
+ {% else %} +
+ + + {{ book_form.rem_sub( class="btn btn-outline-danger offset-lg-2 col-lg-3" )}} +
+ {% endif %} +
+ {% endif %}