forked from mirrors/bookwyrm
Correct placement of shelve pulldown
This commit is contained in:
parent
69b38bfe91
commit
2a6c67c427
1 changed files with 5 additions and 4 deletions
|
@ -4,11 +4,12 @@
|
||||||
{% with book.id|uuid as uuid %}
|
{% with book.id|uuid as uuid %}
|
||||||
{% active_shelf book as active_shelf %}
|
{% active_shelf book as active_shelf %}
|
||||||
<div class="field has-addons">
|
<div class="field has-addons">
|
||||||
|
{% if switch_mode and active_shelf.book != book %}
|
||||||
<div class="control">
|
<div class="control">
|
||||||
{% if switch_mode and active_shelf.book != book %}
|
|
||||||
{% include 'snippets/switch_edition_button.html' with edition=book size='is-small' %}
|
{% include 'snippets/switch_edition_button.html' with edition=book size='is-small' %}
|
||||||
{% else %}
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<div class="control">
|
||||||
{% if active_shelf.shelf.identifier == 'read' %}
|
{% if active_shelf.shelf.identifier == 'read' %}
|
||||||
<button class="button is-small" disabled>
|
<button class="button is-small" disabled>
|
||||||
<span>Read</span> <span class="icon icon-check"></span>
|
<span>Read</span> <span class="icon icon-check"></span>
|
||||||
|
@ -25,9 +26,9 @@
|
||||||
<button class="button is-small" type="submit">Want to read</button>
|
<button class="button is-small" type="submit">Want to read</button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
{% include 'snippets/shelve_button_dropdown.html' with class="is-small" button_uuid=uuid%}
|
{% include 'snippets/shelve_button_dropdown.html' with class="is-small" button_uuid=uuid%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include 'snippets/start_reading_modal.html' with book=active_shelf.book controls_text="start-reading" controls_uid=uuid %}
|
{% include 'snippets/start_reading_modal.html' with book=active_shelf.book controls_text="start-reading" controls_uid=uuid %}
|
||||||
|
|
Loading…
Reference in a new issue