Skip to content
Snippets Groups Projects
Commit fe2c59d2 authored by Robert Lange's avatar Robert Lange Committed by Dorian Merz
Browse files

refs #16676 [fid_adlr] change labels in result list

* for in_collection and published_in
* in detail for Source and Set_Multipart
* change separator for authors from comma to semicolon
** in result list
** in detail template
* separate title_sub from title_short
* fine tuning of font size / placement in result and detail view
parent e4f84ef0
Branches
Tags
No related merge requests found
......@@ -126,4 +126,10 @@ hierarchy_tree = "Zugehörige Bände"
#16605
You must be logged in first = "Bitte loggen Sie sich zuerst ein."
history_recent_searches = "Ihre aktuellen Suchen
email_success = Ihre Nachricht wurde gesendet."
\ No newline at end of file
email_success = Ihre Nachricht wurde gesendet."
#16676
in_collection_label = "Teil von"
Published in = "veröffentlicht in"
Set Multipart = "Teil von"
Source = "Kollektion"
\ No newline at end of file
......@@ -123,4 +123,11 @@ hierarchy_tree = "Associated Volumes"
#16605
You must be logged in first = "Please log in first."
email_success = "Your message has been sent."
\ No newline at end of file
email_success = "Your message has been sent."
#16676
in_collection_label = "Part of"
Published in = "published in"
Set Multipart = "Part of"
Source = "Collection"
\ No newline at end of file
......@@ -150,6 +150,8 @@ $font-size-menu-default: 23px;
$font-size-menu-xs: $font-size-menu-default !default;
$font-size-menu-sm: 40px !default;
$font-size-menu-lg: 25px !default;
$font-size-title: 24px !default;
$font-size-title-sub: calc(#{$font-size-title} * 0.85);
//// We use these to define default font stacks
$font-family-sans-serif: 'Open Sans', Helvetica, Roboto, Arial, sans-serif !default;
// $font-family-serif: Georgia, Cambria, 'Times New Roman', Times, serif !default;
......
......@@ -116,9 +116,9 @@ h2 {
// ++ h3
h3 {
font-size: em(24px);
font-size: em($font-size-title);
font-weight: 700;
line-height: em(24px);
line-height: em($font-size-title);
@media (min-width: $screen-sm-min) and (max-width: $screen-md-max) {
font-size: em(28px);
......@@ -131,7 +131,12 @@ h3 {
}
.title-toolbar & {
font-size: 24px;
font-size: $font-size-title;
}
.sub {
font-size: $font-size-title-sub;
line-height: 1.35em;
}
}
......@@ -237,7 +242,7 @@ form input:invalid, form textarea:invalid {
}
}
.margin-btm {
.margin-btm-xl {
margin-bottom: 85px;
}
......@@ -1636,6 +1641,7 @@ input.searchForm_lookfor {
.format {
background-color: $white;
color: $asphalt;
padding-left: 0;
}
@media screen and (max-width: $screen-xs-max) {
......@@ -1646,8 +1652,12 @@ input.searchForm_lookfor {
.title {
font-family: $font-family-monospace;
font-size: 24px;
font-size: 22px;
font-weight: 700;
&.getFull {
line-height: 1.35em;
}
}
@media screen and (min-width: $screen-sm-min) {
......
......@@ -46,8 +46,10 @@
*/
?>
<?php /* finc: add schema tags for title #13850 - VE */ ?>
<h3 property="name"><?=$this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->truncate($this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection(), 100)))?></h3>
<?php /* #16676 separate title_sub from title_short- RL */ ?>
<h3 property="name"><?=$this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->truncate($this->driver->getShortTitle(), 100)))?>
<p class="sub"><?=$this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->truncate($this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection(), 125)))?></p>
</h3>
<?php /* fid_adlr: Remove summary refs #15650 - GG */ ?>
<?php if ($this->userlist()->getMode() !== 'disabled'): ?>
......
......@@ -31,7 +31,7 @@ if ($cover):
<?php endif ?>
<div class="media-body">
<div class="result-body">
<div>
<div class="margin-btm">
<a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="title getFull" data-view="<?=$this->params->getOptions()->getListViewOption()?>">
<?=$this->record($this->driver)->getTitleHtml()?>
</a>
......@@ -46,7 +46,7 @@ if ($cover):
<?=$this->transEsc('by')?>
<?php $authorCount = count($summAuthors);
foreach ($summAuthors as $i => $summAuthor): ?>
<a href="<?=$this->record($this->driver)->getLink('author', $this->highlight($summAuthor, null, true, false))?>" class="author"><?=$this->highlight($summAuthor)?></a><?=$i + 1 < $authorCount ? ',' : ''?>
<a href="<?=$this->record($this->driver)->getLink('author', $this->highlight($summAuthor, null, true, false))?>" class="author"><?=$this->highlight($summAuthor)?></a><?=$i + 1 < $authorCount ? ';' : ''?>
<?php endforeach; ?>
<?php endif; ?>
<?php
......
......@@ -48,7 +48,10 @@
*/
?>
<?php /* finc: add schema tags for title #13850 - VE */ ?>
<h3 property="name"><?=$this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->truncate($this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection(), 100)))?></h3>
<?php /* #16676 separate title_sub from title_short- RL */ ?>
<h3 property="name"><?=$this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->truncate($this->driver->getShortTitle(), 100)))?>
<p class="sub"><?=$this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->truncate($this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection(), 125)))?></p>
</h3>
<?php /* fid_adlr: Remove summary refs #15650 - GG */ ?>
......
......@@ -30,7 +30,7 @@ if ($cover):
<?php endif ?>
<div class="media-body">
<div class="result-body">
<div>
<div class="margin-btm">
<a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="title getFull" data-view="<?=$this->params->getOptions()->getListViewOption()?>">
<?=$this->record($this->driver)->getTitleHtml()?>
</a>
......@@ -44,7 +44,7 @@ if ($cover):
<?=$this->transEsc('by')?>
<?php $authorCount = count($summAuthors);
foreach ($summAuthors as $i => $summAuthor): ?>
<a href="<?=$this->record($this->driver)->getLink('author', $this->highlight($summAuthor, null, true, false))?>" class="author"><?=$this->highlight($summAuthor)?></a><?=$i + 1 < $authorCount ? ',' : ''?>
<a href="<?=$this->record($this->driver)->getLink('author', $this->highlight($summAuthor, null, true, false))?>" class="author"><?=$this->highlight($summAuthor)?></a><?=$i + 1 < $authorCount ? ';' : ''?>
<?php endforeach; ?>
<?php endif; ?>
<?php /* finc-specific from here - 04.16 - CK */ ?>
......
......@@ -48,8 +48,10 @@
*/
?>
<?php /* finc: add schema tags for title #13850 - VE */ ?>
<h3 property="name"><?=$this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->truncate($this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection(), 100)))?></h3>
<?php /* #16676 separate title_sub from title_short- RL */ ?>
<h3 property="name"><?=$this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->truncate($this->driver->getShortTitle(), 100)))?>
<p class="sub"><?=$this->escapeHtml(preg_replace('/(\s[\/\.:]\s*)*$/', '', $this->truncate($this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection(), 125)))?></p>
</h3>
<?php /* fid_adlr: Remove summary refs #15650 - GG */ ?>
<?php if ($this->userlist()->getMode() !== 'disabled'): ?>
......
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