Skip to content
Snippets Groups Projects
Commit 3a3655e1 authored by Robert Lange's avatar Robert Lange
Browse files

Merge branch 'master' into instance/fid

parents 306d99da 44567a59
No related merge requests found
...@@ -193,10 +193,9 @@ class RecordDataFormatterFactory ...@@ -193,10 +193,9 @@ class RecordDataFormatterFactory
] ]
] ]
); );
$spec->setTemplateLine( $spec->setLine(
'Title', 'Title',
'getTitleDetails', 'getTitleDetails'
'data-titleDetails.phtml'
); );
$spec->setTemplateLine( $spec->setTemplateLine(
'Dates of publication', 'Dates of publication',
...@@ -362,10 +361,9 @@ class RecordDataFormatterFactory ...@@ -362,10 +361,9 @@ class RecordDataFormatterFactory
] ]
] ]
); );
$spec->setTemplateLine( $spec->setLine(
'Title', 'Title',
'getTitleDetails', 'getTitleDetails'
'data-titleDetails.phtml'
); );
$spec->setTemplateLine( $spec->setTemplateLine(
'Title Uniform', 'Title Uniform',
...@@ -838,10 +836,9 @@ class RecordDataFormatterFactory ...@@ -838,10 +836,9 @@ class RecordDataFormatterFactory
] ]
] ]
); );
$spec->setTemplateLine( $spec->setLine(
'Title', 'Title',
'getTitleDetails', 'getTitleDetails'
'data-titleDetails.phtml'
); );
$spec->setTemplateLine( $spec->setTemplateLine(
'Title Uniform', 'Title Uniform',
......
<!-- finc: RecordDriver - solrMarc - data-linkviafincid --> <!-- finc: RecordDriver - solrMarc - data-linkviafincid -->
<?php if (!empty($data)): ?> <?php if (!empty($data)): ?>
<?php foreach ($data as $field): ?> <?php foreach ($data as $field): ?>
<?php if (isset($field['id']) || isset($field['text'])): <?php if (
is_array($field)
&& (isset($field['id']) || isset($field['text']))
):
$url = isset($field['id']) $url = isset($field['id'])
? $this->url('record') . $field['id'] ? $this->url('record') . $field['id']
: $this->record($this->driver)->getLink('title', $field['text']); : $this->record($this->driver)->getLink('title', $field['text']);
......
<?php
/** @deprecated since the else part is never active, this should be substituted by a
* simple SpecLine (giving escapeHtml with <br/>) in the RecordDataFormatterFactory
*/
?>
<!-- finc: RecordDriver - DefaultRecord - data-titleDetails --> <!-- finc: RecordDriver - DefaultRecord - data-titleDetails -->
<?php if (!empty($data)): ?> <?php if (!empty($data)): ?>
<?php $i = 0; <?php $i = 0;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment