diff --git a/openlibrary/templates/books/edit/edition.html b/openlibrary/templates/books/edit/edition.html index 18e63472750..2948a2c4ddb 100644 --- a/openlibrary/templates/books/edit/edition.html +++ b/openlibrary/templates/books/edit/edition.html @@ -2,6 +2,7 @@ $ edition_config = get_edition_config() $ is_privileged_user = ctx.user and (ctx.user.is_admin() or ctx.user.is_super_librarian()) +$ is_librarian = is_privileged_user or (ctx.user and ctx.user.is_librarian()) $def radiobuttons(name, options, value): $for v in options: @@ -378,7 +379,7 @@ $_("WARNING: Any edits made to the work from this page will be ignored.") - $ config = {'addnew': is_privileged_user, 'new_name': _('-- Move to a new work')} + $ config = {'addnew': is_librarian, 'new_name': _('-- Move to a new work')}