Skip to content
Snippets Groups Projects
Commit d4e99fe7 authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

Resolve "Informationen der Bibliotheksdateien LibraryFile nicht sichtbar"

Closes #3504

Merge request studip/studip!2396
parent f97def26
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ $is_search = !$document->csl_data; ...@@ -22,7 +22,7 @@ $is_search = !$document->csl_data;
<dd><?= htmlReady($document->getTitle()) ?></dd> <dd><?= htmlReady($document->getTitle()) ?></dd>
<dt><?= _('Typ') ?></dt> <dt><?= _('Typ') ?></dt>
<dd><?= htmlReady($document->getType('display_name')) ?></dd> <dd><?= htmlReady($document->getType('display_name')) ?></dd>
<? if ($document->csl_data['issued'] || $document->csl_data['publisher']) : ?> <? if (!empty($document->csl_data['issued']) || !empty($document->csl_data['publisher'])) : ?>
<dt><?= _('Veröffentlicht') ?></dt> <dt><?= _('Veröffentlicht') ?></dt>
<dd><?= htmlReady($document->csl_data['publisher'] . ' ' . $document->getIssueDate(true)) ?></dd> <dd><?= htmlReady($document->csl_data['publisher'] . ' ' . $document->getIssueDate(true)) ?></dd>
<? endif ?> <? endif ?>
...@@ -30,10 +30,118 @@ $is_search = !$document->csl_data; ...@@ -30,10 +30,118 @@ $is_search = !$document->csl_data;
<dt><?= _('Medium') ?></dt> <dt><?= _('Medium') ?></dt>
<dd><?= htmlReady($document->csl_data['medium']) ?></dd> <dd><?= htmlReady($document->csl_data['medium']) ?></dd>
<? endif ?> <? endif ?>
<? if ($document->csl_data['author']) : ?> <? if (!empty($document->csl_data['author'])) : ?>
<dt><?= _('Erstellt von') ?></dt> <dt><?= _('Erstellt von') ?></dt>
<dd><?= htmlReady($document->getAuthorNames()) ?></dd> <dd><?= htmlReady($document->getAuthorNames()) ?></dd>
<? endif ?> <? endif ?>
<? if (!empty($document->csl_data['URL'])) : ?>
<dt><?= _('URL') ?></dt>
<dd><a href="<?= htmlReady($document->csl_data['URL']) ?>" target="_blank"><?= htmlReady($document->csl_data['URL']) ?></a></dd>
<? endif ?>
<? if (!empty($document->csl_data['translator'][0]['family'])) : ?>
<dt><?= _('Übersetzer*in') ?></dt>
<dd>
<? foreach ($document->csl_data['translator'] as $index => $translator) : ?>
<?= $index > 0 ? ', ' : '' ?>
<?= htmlReady($translator['suffix'].' '.$translator['given'].' '.$translator['family']) ?>
<? endforeach ?>
</dd>
<? endif ?>
<? if (!empty($document->csl_data['title-short'])) : ?>
<dt><?= _('Kurztitel') ?></dt>
<dd><?= htmlReady($document->csl_data['title-short']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['source'])) : ?>
<dt><?= _('Quelle') ?></dt>
<dd><?= htmlReady($document->csl_data['source']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['publisher-place'])) : ?>
<dt><?= _('Verlagsort') ?></dt>
<dd><?= htmlReady($document->csl_data['publisher-place']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['number-of-volumes'])) : ?>
<dt><?= _('Bandanzahl') ?></dt>
<dd><?= htmlReady($document->csl_data['number-of-volumes']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['number-of-pages'])) : ?>
<dt><?= _('Seitenanzahl') ?></dt>
<dd><?= htmlReady($document->csl_data['number-of-pages']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['note'])) : ?>
<dt><?= _('Zusätzliche Information') ?></dt>
<dd><?= htmlReady($document->csl_data['note']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['language'])) : ?>
<dt><?= _('Sprache') ?></dt>
<dd><?= htmlReady($document->csl_data['language']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['issued'][0][0])) : ?>
<dt><?= _('Datum der Veröffentlichung der Ausgabe') ?></dt>
<dd><?= htmlReady((!empty($document->csl_data['issued'][0][2]) ? $document->csl_data['issued'][0][2].'.' : '')
.(!empty($document->csl_data['issued'][0][1]) ? $document->csl_data['issued'][0][1].'.' : '')
.$document->csl_data['issued'][0][0]) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['ISBN'])) : ?>
<dt><?= _('ISBN') ?></dt>
<dd><?= htmlReady($document->csl_data['ISBN']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['event-place'])) : ?>
<dt><?= _('Veranstaltungsort') ?></dt>
<dd><?= htmlReady($document->csl_data['event-place']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['editor'][0]['family'])) : ?>
<dt><?= _('Verfasser*in') ?></dt>
<dd>
<? foreach ($document->csl_data['editor'] as $index => $editor) : ?>
<?= $index > 0 ? ', ' : '' ?>
<?= htmlReady($editor['suffix'].' '.$editor['given'].' '.$editor['family']) ?>
<? endforeach ?>
</dd>
<? endif ?>
<? if (!empty($document->csl_data['edition'])) : ?>
<dt><?= _('Auflagen') ?></dt>
<dd><?= htmlReady($document->csl_data['edition']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['collection-title'])) : ?>
<dt><?= _('Sammlungstitel') ?></dt>
<dd><?= htmlReady($document->csl_data['collection-title']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['collection-number'])) : ?>
<dt><?= _('Sammlungsnummer') ?></dt>
<dd><?= htmlReady($document->csl_data['collection-number']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['collection-editor'][0]['family'])) : ?>
<dt><?= _('Sammlungseditor') ?></dt>
<dd>
<? foreach ($document->csl_data['collection-editor'] as $index => $editor) : ?>
<?= $index > 0 ? ', ' : '' ?>
<?= htmlReady($editor['suffix'].' '.$editor['given'].' '.$editor['family']) ?>
<? endforeach ?>
</dd>
<? endif ?>
<? if (!empty($document->csl_data['call-number'])) : ?>
<dt><?= _('Signatur') ?></dt>
<dd><?= htmlReady($document->csl_data['call-number']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['archive_location'])) : ?>
<dt><?= _('Speicherort im Archiv') ?></dt>
<dd><?= htmlReady($document->csl_data['archive_location']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['archive'])) : ?>
<dt><?= _('Archiv') ?></dt>
<dd><?= htmlReady($document->csl_data['archive']) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['accessed'][0][0])) : ?>
<dt><?= _('Zugriffsdatum') ?></dt>
<dd><?= htmlReady((!empty($document->csl_data['accessed'][0][2]) ? $document->csl_data['accessed'][0][2].'.' : '')
.(!empty($document->csl_data['accessed'][0][1]) ? $document->csl_data['accessed'][0][1].'.' : '')
.$document->csl_data['accessed'][0][0]) ?></dd>
<? endif ?>
<? if (!empty($document->csl_data['abstract'])) : ?>
<dt><?= _('Inhaltsangabe') ?></dt>
<dd><?= htmlReady($document->csl_data['abstract']) ?></dd>
<? endif ?>
<? if ($document->catalog) : ?> <? if ($document->catalog) : ?>
<dt><?= _('Katalog') ?></dt> <dt><?= _('Katalog') ?></dt>
<? if ($document->opac_link) : ?> <? if ($document->opac_link) : ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment