Merge pull request #699 from Gluejar/fix-regressions

fix missing book-cover class
pull/43/head
eshellman 2017-09-14 12:15:32 -04:00 committed by GitHub
commit ec39eff244
5 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@ function put_un_in_cookie2(){
<h3 class="featured_books">Today's Featured Free eBook</h3>
{% with featured as work %}
<div class="book-detail">
<div id="book-detail-img" style="float:left;padding-right:10px">
<div id="book-detail-img" class="book-cover" style="float:left;padding-right:10px">
<a href="{% url 'work' featured.id %}">
{% if work.googlebooks_id %}
<img src="{{ work.cover_image_thumbnail }}" alt="Find {{ work.title }} at Google Books" title="Find {{ work.title }} at Google Books" width="131" height="192" />

View File

@ -66,7 +66,7 @@ Please fix the following before launching your campaign:
(Or, <a href="{% url 'rightsholders' %}">go back</a> to rights holder tools page.)<br />
<div style="height:15px;"></div>
<div class="book-detail">
<div id="book-detail-img">
<div id="book-detail-img" class="book-cover" >
<a href="#"><img src="{{ work.cover_image_thumbnail }}" alt="{{ work.title }}" title="{{ work.title }}" width="131" height="192" /></a>
</div>

View File

@ -15,7 +15,7 @@
{% block doccontent %}
<div style="height:15px"></div>
<div class="book-detail">
<div id="book-detail-img">
<div id="book-detail-img" class="book-cover" >
<a href="{% url 'work' work.id %}"><img src="{{ work.cover_image_thumbnail }}" alt="{{ work.title }}" title="{{ work.title }}" width="131" height="192" /></a>
</div>

View File

@ -17,7 +17,7 @@
{% block doccontent %}
<div style="height:15px"></div>
<div class="book-detail">
<div id="book-detail-img">
<div id="book-detail-img" class="book-cover" >
<a href="{% url 'work' work.id %}"><img src="{{ work.cover_image_thumbnail }}" alt="{{ work.title }}" title="{{ work.title }}" width="131" height="192" /></a>
</div>

View File

@ -82,7 +82,7 @@
<img src="{{ work.cover_image_thumbnail }}" alt="Find {{ work.title }} at Google Books" title="Find {{ work.title }} at Google Books" width="131" height="192" /></a>
</div>
{% else %}
<div id="book-detail-img">
<div id="book-detail-img" class="book-cover" >
<img itemprop="image" src="{{ work.cover_image_thumbnail }}" alt="{{ work.title }}" title="{{ work.title }}" width="131" height="192" />
</div>
{% endif %}