diff --git a/data/cache/.gitignore b/data/cache/.gitignore index d6b7ef32c8478a48c3994dcadc86837f4371184d..c96a04f008ee21e260b28f7701595ed59e2839e3 100644 --- a/data/cache/.gitignore +++ b/data/cache/.gitignore @@ -1,2 +1,2 @@ * -!.gitignore +!.gitignore \ No newline at end of file diff --git a/themes/finc/templates/RecordDriver/SolrDefault/format-list.phtml b/themes/finc/templates/RecordDriver/SolrDefault/format-list.phtml new file mode 100644 index 0000000000000000000000000000000000000000..f34cd0182aee7cad1f8a38ceca5ffb8cb5277dd5 --- /dev/null +++ b/themes/finc/templates/RecordDriver/SolrDefault/format-list.phtml @@ -0,0 +1,10 @@ +<? foreach ($this->driver->getFormats() as $format): ?> + <span class="format <?=$this->record($this->driver)->getFormatClass($format) ?>"><?=$this->transEsc($format) ?></span> +<? endforeach; ?> +<? /* New genre string to display nxt to format in RESULT LIST and RECORD/Detail View, #11703, CK */ ?> +<? $genres = $this->driver->tryMethod('getGenreFacet');?> +<? if (!empty($genres)): ?> + <? foreach($genres as $genre): ?> + <span class="format"><?=$this->transEsc($genre)?></span> + <?endforeach;?> +<?endif;?>