From 7b07ab5175d7c000b377fcc7892d541e1756555b Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Thu, 31 Jul 2014 15:26:37 -0400 Subject: [PATCH] More adjustments to preview linking; normalized cover class name. --- .../templates/RecordDriver/SolrDefault/result-list.phtml | 6 +++--- themes/bootprint/templates/myresearch/checkedout.phtml | 4 ++-- themes/bootprint/templates/myresearch/holds.phtml | 4 ++-- .../templates/myresearch/storageretrievalrequests.phtml | 4 ++-- themes/bootstrap/js/preview.js | 2 +- themes/bootstrap/templates/RecordDriver/EDS/core.phtml | 4 ++-- .../bootstrap/templates/RecordDriver/EDS/result-list.phtml | 6 +++--- .../templates/RecordDriver/SolrDefault/result-list.phtml | 6 +++--- themes/bootstrap/templates/myresearch/checkedout.phtml | 4 ++-- themes/bootstrap/templates/myresearch/holds.phtml | 4 ++-- themes/bootstrap/templates/myresearch/illrequests.phtml | 4 ++-- .../templates/myresearch/storageretrievalrequests.phtml | 4 ++-- themes/bootstrap3/js/preview.js | 2 +- themes/bootstrap3/templates/RecordDriver/EDS/core.phtml | 4 ++-- .../bootstrap3/templates/RecordDriver/EDS/result-list.phtml | 6 +++--- .../templates/RecordDriver/SolrDefault/result-list.phtml | 6 +++--- themes/bootstrap3/templates/myresearch/checkedout.phtml | 4 ++-- themes/bootstrap3/templates/myresearch/holds.phtml | 4 ++-- themes/bootstrap3/templates/myresearch/illrequests.phtml | 4 ++-- .../templates/myresearch/storageretrievalrequests.phtml | 4 ++-- 20 files changed, 43 insertions(+), 43 deletions(-) diff --git a/themes/bootprint/templates/RecordDriver/SolrDefault/result-list.phtml b/themes/bootprint/templates/RecordDriver/SolrDefault/result-list.phtml index 005d6524689..4e0417ab725 100644 --- a/themes/bootprint/templates/RecordDriver/SolrDefault/result-list.phtml +++ b/themes/bootprint/templates/RecordDriver/SolrDefault/result-list.phtml @@ -2,11 +2,11 @@ <input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getUniqueID())?>" class="hiddenId" /> <input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getResourceSource())?>" class="hiddenSource" /> <div class="span2 switch-margins left"> - <a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="title"> + <a href="<?=$this->recordLink()->getUrl($this->driver)?>"> <? if ($summThumb = $this->record($this->driver)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" alt="<?=$this->transEsc('Cover Image')?>"/> + <img class="recordcover" src="<?=$this->escapeHtmlAttr($summThumb)?>" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img class="recordcover" src="<?=$this->url('cover-unavailable')?>" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </a> </div> diff --git a/themes/bootprint/templates/myresearch/checkedout.phtml b/themes/bootprint/templates/myresearch/checkedout.phtml index fc5ed68df33..65c2915253d 100644 --- a/themes/bootprint/templates/myresearch/checkedout.phtml +++ b/themes/bootprint/templates/myresearch/checkedout.phtml @@ -33,9 +33,9 @@ <? endif; ?> <div class="span2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="span9"> diff --git a/themes/bootprint/templates/myresearch/holds.phtml b/themes/bootprint/templates/myresearch/holds.phtml index 22fe25966b9..ba089a21206 100644 --- a/themes/bootprint/templates/myresearch/holds.phtml +++ b/themes/bootprint/templates/myresearch/holds.phtml @@ -50,9 +50,9 @@ <? endif; ?> <div class="span2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="span9"> diff --git a/themes/bootprint/templates/myresearch/storageretrievalrequests.phtml b/themes/bootprint/templates/myresearch/storageretrievalrequests.phtml index a3cfe870441..3dd908a5b33 100644 --- a/themes/bootprint/templates/myresearch/storageretrievalrequests.phtml +++ b/themes/bootprint/templates/myresearch/storageretrievalrequests.phtml @@ -50,9 +50,9 @@ <? endif; ?> <div class="span2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="span9"> diff --git a/themes/bootstrap/js/preview.js b/themes/bootstrap/js/preview.js index b73c49fde73..05cd5257f15 100644 --- a/themes/bootstrap/js/preview.js +++ b/themes/bootstrap/js/preview.js @@ -33,7 +33,7 @@ function applyPreviewUrl($link, url) { // Update associated record thumbnail, if any: $link.parents('.result,.record') - .find('.cover').attr('href', url); + .find('.recordcover').parents('a').attr('href', url); } function processBookInfo(booksInfo, previewClass) { diff --git a/themes/bootstrap/templates/RecordDriver/EDS/core.phtml b/themes/bootstrap/templates/RecordDriver/EDS/core.phtml index 45448343da1..9479852c8bd 100644 --- a/themes/bootstrap/templates/RecordDriver/EDS/core.phtml +++ b/themes/bootstrap/templates/RecordDriver/EDS/core.phtml @@ -11,10 +11,10 @@ <div class="row-fluid" vocab="http://schema.org/" resource="#record" typeof="<?=$this->driver->getSchemaOrgFormats()?> Product"> <div class="span3"> <? if ($thumb): ?> - <img src="<?=$this->escapeHtmlAttr($thumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($thumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> <div class="clearfix"> - <span class="summcover pt-icon pt-<?=$this->driver->getPubTypeId()?>"></span> + <span class="recordcover pt-icon pt-<?=$this->driver->getPubTypeId()?>"></span> </div> <? endif; ?> <? if ($pubType): ?> diff --git a/themes/bootstrap/templates/RecordDriver/EDS/result-list.phtml b/themes/bootstrap/templates/RecordDriver/EDS/result-list.phtml index cf9cb00c6e5..2e1401e47ae 100644 --- a/themes/bootstrap/templates/RecordDriver/EDS/result-list.phtml +++ b/themes/bootstrap/templates/RecordDriver/EDS/result-list.phtml @@ -7,11 +7,11 @@ <input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getUniqueID())?>" class="hiddenId" /> <div class="span2 left"> <? if ($summThumb = $this->record($this->driver)->getThumbnail()): ?> - <a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="_record_link cover"> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="_record_link"> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> </a> <? else: ?> - <span class="summcover pt-icon pt-<?=$this->driver->getPubTypeId()?>"></span> + <span class="recordcover pt-icon pt-<?=$this->driver->getPubTypeId()?>"></span> <div><?=$this->driver->getPubType()?></div> <? endif; ?> </div> diff --git a/themes/bootstrap/templates/RecordDriver/SolrDefault/result-list.phtml b/themes/bootstrap/templates/RecordDriver/SolrDefault/result-list.phtml index aa9e59184e0..efc9dd1c418 100644 --- a/themes/bootstrap/templates/RecordDriver/SolrDefault/result-list.phtml +++ b/themes/bootstrap/templates/RecordDriver/SolrDefault/result-list.phtml @@ -2,11 +2,11 @@ <input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getUniqueID())?>" class="hiddenId" /> <input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getResourceSource())?>" class="hiddenSource" /> <div class="span2 left"> - <a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="cover"> + <a href="<?=$this->recordLink()->getUrl($this->driver)?>"> <? if ($summThumb = $this->record($this->driver)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" alt="<?=$this->transEsc('Cover Image')?>"/> + <img class="recordcover" src="<?=$this->escapeHtmlAttr($summThumb)?>" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img class="recordcover" src="<?=$this->url('cover-unavailable')?>" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </a> </div> diff --git a/themes/bootstrap/templates/myresearch/checkedout.phtml b/themes/bootstrap/templates/myresearch/checkedout.phtml index a2a13c41ee6..2c4de0ceed6 100644 --- a/themes/bootstrap/templates/myresearch/checkedout.phtml +++ b/themes/bootstrap/templates/myresearch/checkedout.phtml @@ -33,9 +33,9 @@ <? endif; ?> <div class="span2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="span9"> diff --git a/themes/bootstrap/templates/myresearch/holds.phtml b/themes/bootstrap/templates/myresearch/holds.phtml index c4d23474eb4..37777a38043 100644 --- a/themes/bootstrap/templates/myresearch/holds.phtml +++ b/themes/bootstrap/templates/myresearch/holds.phtml @@ -50,9 +50,9 @@ <? endif; ?> <div class="span2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="span9"> diff --git a/themes/bootstrap/templates/myresearch/illrequests.phtml b/themes/bootstrap/templates/myresearch/illrequests.phtml index fd5227afae0..5cfaaa0e2a9 100644 --- a/themes/bootstrap/templates/myresearch/illrequests.phtml +++ b/themes/bootstrap/templates/myresearch/illrequests.phtml @@ -50,9 +50,9 @@ <? endif; ?> <div class="span2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="span9"> diff --git a/themes/bootstrap/templates/myresearch/storageretrievalrequests.phtml b/themes/bootstrap/templates/myresearch/storageretrievalrequests.phtml index 5d289cf63b6..a80304206e2 100644 --- a/themes/bootstrap/templates/myresearch/storageretrievalrequests.phtml +++ b/themes/bootstrap/templates/myresearch/storageretrievalrequests.phtml @@ -50,9 +50,9 @@ <? endif; ?> <div class="span2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="span9"> diff --git a/themes/bootstrap3/js/preview.js b/themes/bootstrap3/js/preview.js index 457c666fc77..35b1b4c9dd2 100644 --- a/themes/bootstrap3/js/preview.js +++ b/themes/bootstrap3/js/preview.js @@ -33,7 +33,7 @@ function applyPreviewUrl($link, url) { // Update associated record thumbnail, if any: $link.parents('.result,.record') - .find('.cover').attr('href', url); + .find('.recordcover').parents('a').attr('href', url); } function processBookInfo(booksInfo, previewClass) { diff --git a/themes/bootstrap3/templates/RecordDriver/EDS/core.phtml b/themes/bootstrap3/templates/RecordDriver/EDS/core.phtml index 2a45308fa7c..e8c5081a9ea 100644 --- a/themes/bootstrap3/templates/RecordDriver/EDS/core.phtml +++ b/themes/bootstrap3/templates/RecordDriver/EDS/core.phtml @@ -11,10 +11,10 @@ <div class="row" vocab="http://schema.org/" resource="#record" typeof="<?=$this->driver->getSchemaOrgFormats()?> Product"> <div class="col-sm-3"> <? if ($thumb): ?> - <img src="<?=$this->escapeHtmlAttr($thumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($thumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> <div class="clearfix"> - <span class="summcover pt-icon pt-<?=$this->driver->getPubTypeId()?>"></span> + <span class="recordcover pt-icon pt-<?=$this->driver->getPubTypeId()?>"></span> </div> <? endif; ?> <? if ($pubType): ?> diff --git a/themes/bootstrap3/templates/RecordDriver/EDS/result-list.phtml b/themes/bootstrap3/templates/RecordDriver/EDS/result-list.phtml index e0d6078dbcb..cd9fef56a0d 100644 --- a/themes/bootstrap3/templates/RecordDriver/EDS/result-list.phtml +++ b/themes/bootstrap3/templates/RecordDriver/EDS/result-list.phtml @@ -7,11 +7,11 @@ <input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getUniqueID())?>" class="hiddenId" /> <div class="col-sm-2 left"> <? if ($summThumb = $this->record($this->driver)->getThumbnail()): ?> - <a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="_record_link cover"> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="_record_link"> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> </a> <? else: ?> - <span class="summcover pt-icon pt-<?=$this->driver->getPubTypeId()?>"></span> + <span class="recordcover pt-icon pt-<?=$this->driver->getPubTypeId()?>"></span> <div><?=$this->driver->getPubType()?></div> <? endif; ?> </div> diff --git a/themes/bootstrap3/templates/RecordDriver/SolrDefault/result-list.phtml b/themes/bootstrap3/templates/RecordDriver/SolrDefault/result-list.phtml index 560869e2c28..29e77b84562 100644 --- a/themes/bootstrap3/templates/RecordDriver/SolrDefault/result-list.phtml +++ b/themes/bootstrap3/templates/RecordDriver/SolrDefault/result-list.phtml @@ -2,11 +2,11 @@ <input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getUniqueID())?>" class="hiddenId" /> <input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getResourceSource())?>" class="hiddenSource" /> <div class="col-sm-2 col-xs-3 left"> - <a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="cover"> + <a href="<?=$this->recordLink()->getUrl($this->driver)?>"> <? if ($summThumb = $this->record($this->driver)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" alt="<?=$this->transEsc('Cover Image')?>"/> + <img class="recordcover" src="<?=$this->escapeHtmlAttr($summThumb)?>" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img class="recordcover" src="<?=$this->url('cover-unavailable')?>" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </a> </div> diff --git a/themes/bootstrap3/templates/myresearch/checkedout.phtml b/themes/bootstrap3/templates/myresearch/checkedout.phtml index 55178280389..00e17ea2279 100644 --- a/themes/bootstrap3/templates/myresearch/checkedout.phtml +++ b/themes/bootstrap3/templates/myresearch/checkedout.phtml @@ -32,9 +32,9 @@ <? endif; ?> <div class="col-sm-2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="col-sm-6"> diff --git a/themes/bootstrap3/templates/myresearch/holds.phtml b/themes/bootstrap3/templates/myresearch/holds.phtml index 73a76cd31f5..677e4cb279a 100644 --- a/themes/bootstrap3/templates/myresearch/holds.phtml +++ b/themes/bootstrap3/templates/myresearch/holds.phtml @@ -49,9 +49,9 @@ <? endif; ?> <div class="col-sm-2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="col-sm-6"> diff --git a/themes/bootstrap3/templates/myresearch/illrequests.phtml b/themes/bootstrap3/templates/myresearch/illrequests.phtml index 0ee73fdc522..d422474c2ff 100644 --- a/themes/bootstrap3/templates/myresearch/illrequests.phtml +++ b/themes/bootstrap3/templates/myresearch/illrequests.phtml @@ -50,9 +50,9 @@ <? endif; ?> <div class="col-sm-2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="col-sm-6"> diff --git a/themes/bootstrap3/templates/myresearch/storageretrievalrequests.phtml b/themes/bootstrap3/templates/myresearch/storageretrievalrequests.phtml index a9fb2a4d5e2..ba7f5c222a1 100644 --- a/themes/bootstrap3/templates/myresearch/storageretrievalrequests.phtml +++ b/themes/bootstrap3/templates/myresearch/storageretrievalrequests.phtml @@ -49,9 +49,9 @@ <? endif; ?> <div class="col-sm-2 text-center"> <? if ($summThumb = $this->record($resource)->getThumbnail()): ?> - <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="summcover" alt="<?=$this->transEsc('Cover Image')?>"/> + <img src="<?=$this->escapeHtmlAttr($summThumb)?>" class="recordcover" alt="<?=$this->transEsc('Cover Image')?>"/> <? else: ?> - <img src="<?=$this->url('cover-unavailable')?>" class="summcover" alt="<?=$this->transEsc('No Cover Image')?>"/> + <img src="<?=$this->url('cover-unavailable')?>" class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/> <? endif; ?> </div> <div class="col-sm-6"> -- GitLab