Commit 43e1533c authored by Karl Hasselbring's avatar Karl Hasselbring

Ergebnisaufbau geändert

parent a3989aaa
......@@ -50,10 +50,18 @@
}
}
}
.resultpage-body {
.result-body {
margin-top: 10px;
width: 90%;
display: flex;
text-align: justify;
.result-image {
& img {
height: 150px;
padding: 0px 10px;
max-width: 100%;
}
}
.result-description {
margin-bottom: 3px;
word-break: break-word;
......@@ -79,11 +87,6 @@
border: solid 1px @result-description-img-border-color;
}
}
.result-image>img {
height: 100px;
padding: 10px;
max-width: 100%;
}
}
.result-footer {
margin-top: 10px;
......
......@@ -14,7 +14,7 @@
{{ $ad->anzeigeLink }}
</a>
</div>
<div class="resultpage-body">
<div class="result-body">
<div class="result-description">
{{ $ad->descr }}
</div>
......
......@@ -21,7 +21,7 @@
</span>
@endif
</div>
<div class="resultpage-body">
<div class="result-body">
@if( isset($result->logo) )
<div class="result-logo">
<a href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" rel="noopener">
......@@ -30,22 +30,20 @@
</div>
@endif
@if( $result->image !== "" )
<div class="result-image result-description">
<div class="result-image">
<a href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" rel="noopener">
<img src="{{ $metager->getImageProxyLink($result->image) }}" align="left" width="120px" height="60px" alt="" />
<img src="{{ $metager->getImageProxyLink($result->image) }}" alt="" />
</a>
{!! $result->descr !!}
</div>
@endif
@if( $metager->getFokus() == "nachrichten" )
<div class="result-description">
<span class="date">{{ isset($result->additionalInformation["date"])?date("Y-m-d H:i:s", $result->additionalInformation["date"]):"" }}</span> {{ $result->descr }}
</div>
@else
@if( $metager->getFokus() == "nachrichten" )
<div class="result-description">
<span class="date">{{ isset($result->additionalInformation["date"])?date("Y-m-d H:i:s", $result->additionalInformation["date"]):"" }}</span> {{ $result->descr }}
</div>
@else
<div class="result-description">
{{ $result->descr }}
</div>
@endif
<div class="result-description">
{!! $result->descr !!}
</div>
@endif
</div>
<div class="result-footer">
......
Markdown is supported
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