Skip to content

Commit

Permalink
Fix image search
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Jan 21, 2024
1 parent 2168052 commit 683dc2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/book/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
{% endif %}

<div class="btn-group btn-group-sm my-3">
<a class="btn btn-sm btn-outline-primary" target="_blank" href="https://www.google.com/search?q={{ book.title~" "~book.authors|join(" ")|url_encode }}&tbm=isch&source=lnms&sa=X&dpr=1">{{ 'search.google.images'|trans }}</a>
<a class="btn btn-sm btn-outline-primary" target="_blank" href="https://www.goodreads.com/search?q={{ book.title~" "~book.authors|join(" ")|url_encode }}">{{ 'search.goodreads'|trans }}</a>
<a class="btn btn-sm btn-outline-primary" target="_blank" href="https://www.google.com/search?q={{ book.title~" "~book.serie~" "~book.authors|join(" ")|url_encode }}&tbm=isch&source=lnms&sa=X&dpr=1">{{ 'search.google.images'|trans }}</a>
<a class="btn btn-sm btn-outline-primary" target="_blank" href="https://www.goodreads.com/search?q={{ book.title~" "~book.serie~" "~book.authors|join(" ")|url_encode }}">{{ 'search.goodreads'|trans }}</a>
<a class="btn btn-sm btn-outline-primary" href="{{ path('app_book', {'book':book.id, 'slug':book.slug, 'google':true}) }}">{{ 'google.books.api'|trans }}</a>
<a class="btn btn-sm btn-outline-primary" href="{{ path('app_book', {'book':book.id, 'slug':book.slug, 'openlib':true}) }}">{{ 'openlibrary.api'|trans }}</a>
<a class="btn btn-sm btn-outline-primary" href="{{ path('app_extractCover', {'id':book.id}) }}">{{ 'extract.from-file'|trans }}</a>
Expand Down

0 comments on commit 683dc2f

Please sign in to comment.