created editions may have cover images but not google books ids

pull/1/head
Andromeda Yelton 2012-10-11 09:48:55 -04:00
parent c0107b2192
commit ec0ba04d76
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ $j(document).ready(function(){
</div>
{% else %}
<div id="book-detail-img">
<img src="/static/images/generic_cover_larger.png" alt="{{ work.title }}" title="{{ work.title }}" width="131" height="192" />
<img src="{% if work.cover_image_thumbnail %}{{ work.cover_image_thumbnail }}{% else %}/static/images/generic_cover_larger.png{% endif %}" alt="{{ work.title }}" title="{{ work.title }}" width="131" height="192" />
</div>
{% endif %}
<div class="book-detail-info">