diff --git a/bookwyrm/templates/snippets/components/dropdown.html b/bookwyrm/templates/snippets/components/dropdown.html index 48a808d4..1e45fe51 100644 --- a/bookwyrm/templates/snippets/components/dropdown.html +++ b/bookwyrm/templates/snippets/components/dropdown.html @@ -1,6 +1,6 @@ {% load bookwyrm_tags %} {% with 0|uuid as uuid %} - diff --git a/bookwyrm/templates/snippets/shelve_button_dropdown.html b/bookwyrm/templates/snippets/shelve_button_dropdown.html new file mode 100644 index 00000000..212770f1 --- /dev/null +++ b/bookwyrm/templates/snippets/shelve_button_dropdown.html @@ -0,0 +1,28 @@ +{% extends 'snippets/components/dropdown.html' %} +{% block dropdown-trigger %} + + More shelves + +{% endblock %} + +{% block dropdown-list %} +{% for shelf in request.user.shelf_set.all %} +
  • + {% if active_shelf.shelf.identifier != 'reading' and shelf.identifier == 'reading' %} + + {% else %} + + {% endif %} +
  • +{% endfor %} +{% endblock %} + diff --git a/bookwyrm/templates/snippets/status_options.html b/bookwyrm/templates/snippets/status_options.html index 5a9036be..6cd13dfd 100644 --- a/bookwyrm/templates/snippets/status_options.html +++ b/bookwyrm/templates/snippets/status_options.html @@ -10,7 +10,7 @@