Skip to content

Commit

Permalink
Merge pull request #7304 from cdrini/fix/langs
Browse files Browse the repository at this point in the history
Make language pages link to readable books
  • Loading branch information
mekarpeles authored Dec 20, 2022
2 parents 03edc16 + 932b0aa commit df0d9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openlibrary/templates/type/language/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>$page.name</h1>
<span class="tag">$page.name</span>
</div>

<p>Try a <a href="/search?q=language:$page.code">search for books in $page.name</a>?</p>
<p>$:_('Try a <a href="%(href)s">search for readable books in %(language)s</a>?', href="/search?" + urlencode(dict(q="language:" + page.code, has_fulltext="true", sort='random')), language=websafe(page.name))</p>

$:render_template("lib/history", page)

Expand Down

0 comments on commit df0d9e3

Please sign in to comment.