$def with (page) $if page.type.key == '/type/work' and page.edition_count == 1: $ edit_url = page.editions[0].key + '?m=edit' $elif page.type.key in ["/type/work", "/type/edition", "/type/author"]: $ edit_url = page.url(suffix="/edit") $else: $ edit_url = page.key + "?m=edit"

$_("Super!")$_(" Your new record is in the library. Thank you!")

$_("There are a few other simple things you can add while you're here to improve your new record quickly, and make it much easier for other people to find later.")

*  $_("Upload a cover image")  $_("Snap a quick photo of the cover to share?")

*  $_("Add an ISBN")  $_("Help the library connect with other systems, like Amazon.")

*  $_("Add some subjects")  $_("They're just like tags.")

*  $_("Describe what the book's about")  $_("Just a sentence or two is good.")