Skip to content

Commit 0e0e28c

Browse files
authored
Make primary CTA of My Books Dropper "Add to List" when logged out
Reduce confusion for patrons who click "Want to Read" expecting to get the book (for logged out patrons)
1 parent 5d13f22 commit 0e0e28c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

openlibrary/templates/my_books/primary_action.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
$ message = _("Already Read")
77
$elif read_status == 2:
88
$ message = _("Currently Reading")
9-
$else:
9+
$elif user_key:
1010
$ message = _("Want to Read")
11+
$else:
12+
$ message = _("Add to List")
1113

1214
$ action_value = 'remove' if read_status else 'add'
1315
$ bookshelf_id_value = read_status or '1'

0 commit comments

Comments
 (0)