Fix $config['cops_thumbnail_handling'] with bootstrap template. re #177

This commit is contained in:
Sébastien Lucas 2014-10-12 21:20:40 +02:00
parent c72f4aee98
commit 181eaeb27f
2 changed files with 7 additions and 3 deletions

View file

@ -59,7 +59,13 @@
display:block;
}
.cover-image { min-height:164px;}
.cover-image { height:164px; text-align: center;}
.cover-image img {
max-width:100%;
max-height:100%;
color: white;
}
.panel-heading { padding: 10px 7px; }

View file

@ -34,11 +34,9 @@
<div class="panel-body">
<div class="cover-image">
{{? entry.book.hasCover == 1}}
<div class="text-center">
<a href="{{=str_format (it.c.url.coverUrl, entry.book.id, it.databaseId)}}">
<img src="{{=str_format (it.c.url.thumbnailUrl, entry.book.id, it.databaseId)}}" alt="{{=it.c.i18n.coverAlt}}" />
</a>
</div>
{{?}}
</div>
<div class="ellipsis"><span class="glyphicon glyphicon-user"></span> <span class="sa">{{=htmlspecialchars (entry.book.authorsName)}}</span></div>