diff --git a/openlibrary/templates/lib/markdown.html b/openlibrary/templates/lib/markdown.html index 174042b3f7a..5ae3f61a812 100644 --- a/openlibrary/templates/lib/markdown.html +++ b/openlibrary/templates/lib/markdown.html @@ -57,7 +57,7 @@

Formatting Help

Links - This is <a href="http://example.com/" title="Title">an example</a> inline link. + This is <a href="http://example.com/" title="Title">an example</a> inline link. This is [an example](http://example.com/ "Title") inline link. diff --git a/openlibrary/templates/lib/search_head.html b/openlibrary/templates/lib/search_head.html index 5bfe60762b2..70da7962124 100644 --- a/openlibrary/templates/lib/search_head.html +++ b/openlibrary/templates/lib/search_head.html @@ -56,7 +56,7 @@

Site Search

$if ctx.user:
$ctx.user.displayname ▼ diff --git a/openlibrary/templates/lists/preview.html b/openlibrary/templates/lists/preview.html index 937ed13d525..0ed16bcc37b 100644 --- a/openlibrary/templates/lists/preview.html +++ b/openlibrary/templates/lists/preview.html @@ -1,41 +1,41 @@ $def with (list) - - $ cover = list.get_cover() or list.get_default_cover() - $ cover_url = cover and cover.url("M") or "/images/icons/avatar_book-sm.png" - Cover of: $list.name - - - $ owner = list.get_owner() - $ is_owner = ctx.user and ctx.user.key == owner.key - - $if is_owner: -

$list.name

- by $_('You') - $else: -

$list.name

- by $owner.displayname - -
- $ungettext("1 seed", "%(count)d seeds", len(list.seeds), count=len(list.seeds)) - $ungettext("1 edition", "%(count)s editions", list.edition_count, count=commify(list.edition_count)) - - - $_('Last modified %(date)s', date=datestr(list.last_modified)) - -
+ + $ cover = list.get_cover() or list.get_default_cover() + $ cover_url = cover and cover.url("M") or "/images/icons/avatar_book-sm.png" + Cover of: $list.name + + + $ owner = list.get_owner() + $ is_owner = ctx.user and ctx.user.key == owner.key + + $if is_owner: +

$list.name

+ by $_('You') + $else: +

$list.name

+ by $owner.displayname - - $if list.description: - $:format(list.description) - +
+ $ungettext("1 seed", "%(count)d seeds", len(list.seeds), count=len(list.seeds)) + $ungettext("1 edition", "%(count)s editions", list.edition_count, count=commify(list.edition_count)) -
- $ subjects = list.get_top_subjects(limit=5) - $if subjects: - - $_('Themes:') - $for s in subjects[:5]: - $s.title$cond(loop.last, "", ",") -
+ + $_('Last modified %(date)s', date=datestr(list.last_modified)) +
+ + + $if list.description: + $:format(list.description) + +
+ $ subjects = list.get_top_subjects(limit=5) + $if subjects: + + $_('Themes:') + $for s in subjects[:5]: + $s.title$cond(loop.last, "", ",") +
+
+