diff --git a/themes/finc/scss/compiled.scss b/themes/finc/scss/compiled.scss index e9dd655e78a6f31ce82ed4037acf91337daa2ea5..5de35874c1530a7d73e880eecd1ac4017d48d688 100644 --- a/themes/finc/scss/compiled.scss +++ b/themes/finc/scss/compiled.scss @@ -1648,12 +1648,34 @@ footer { //// Off-Canvas @media only screen and (max-width: $screen-sm-max) { // Define position of VF5.1 offcanvas toggler + // FIXME: CHECK THIS! CK .search-stats, .search-controls { clear: both; } } +//// Re-define button arrows by adding space to the :after/:before elements -- see offcanvas.scss +.offcanvas-left { + .close-offcanvas::after { + content: '\00a0\f105'; + } + + .search-filter-toggle::before { + content: '\f100\00a0'; + } +} + +.offcanvas-right { + .close-offcanvas::before { + content: '\f104\00a0'; + } + + .search-filter-toggle::after { + content: '\00a0\f101'; + } +} + // make 100% wide to avoid conflict with other elements, for back-toggler see below .offcanvas-toggler, .offcanvas-toggler button { diff --git a/themes/finc/templates/RecordDriver/SolrAI/data-jTitle.phtml b/themes/finc/templates/RecordDriver/SolrAI/data-jTitle.phtml new file mode 100644 index 0000000000000000000000000000000000000000..3d22ec4d5be98a477657be64e84d2a39267f2184 --- /dev/null +++ b/themes/finc/templates/RecordDriver/SolrAI/data-jTitle.phtml @@ -0,0 +1,35 @@ +<!-- finc: RecordDriver - SolrAI - data-jTitle --> +<?php $jtitle = []; ?> +<?php if (!(empty($data))): ?> + <?php $issns = $this->driver->tryMethod('getISSNs'); ?> + <?php ob_start(); ?> + <?php if (!empty($issns)): ?> + <a href="<?=$this->record($this->driver)->getLink('isn', $issns)?>"> + <?=$this->escapeHtml($data)?> + </a> + <?php else: ?> + <?=$this->escapeHtml($data)?> + <?php endif; ?> + <?php + $jtitle[] = trim(preg_replace('/\s+<\//', '</', ob_get_contents())); + ob_end_clean(); + ?> +<?php endif; ?> +<?php +// please note: direction of iteration will be displayed +$methods = ['getVolume', 'getPublishDateSort', 'getIssues', 'getPages']; +foreach ($methods as $method) { + if (!(empty($retval = $this->driver->tryMethod($method)))) { + $jtitle[] = ($method == 'getPages') + ? $this->transEsc('p.') . ' ' . $this->escapeHtml($retval) + : $this->escapeHtml($retval); + } +} +?> +<?php /* finc: add schema tags for parent publication #13850 - VE */ ?> +<span property="isPartOf" typeof="Periodical" resource="#periodical"> + <span property="name"> + <?=implode(', ', $jtitle)?> + </span> +</span> +<!-- finc: RecordDriver - SolrAi - data-jTitle - END -->