$def with(work_key, edition_key, user_key, read_status, page_url)
$def reading_log_cta(work_key, edition_key, user_key, read_status):
$def list_cta(user_key, page_url):
$if user_key:
$_('Add to List')
$else:
$# XXX: Check if classes are needed here
$_('Add to List')
$if work_key:
$:reading_log_cta(work_key, edition_key, user_key, read_status)
$else:
$:list_cta(user_key, page_url)