metager3bilder.blade.php 1.28 KB
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1
2
3
@extends('layouts.resultPage')

@section('results')
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@if( sizeof($errors) > 0 )
		<div class="alert alert-danger">
			<ul>
				@foreach($errors as $error)
				<li>{!! $error !!}</li>
				@endforeach
			</ul>
		</div>
	@endif
	@if( sizeof($warnings) > 0)
		<div class="alert alert-warning">
			<ul>
				@foreach($warnings as $warning)
					<li>{!! $warning !!}</li>
				@endforeach
			</ul>
		</div>
	@endif
22
	@if( !$metager->validated && App::isLocale('de') )
23
24
25
26
27
28
	<div class="mg-panel container" id="spendenaufruf" style="margin-bottom:20px;max-height:126px;max-width:100%;text-align:center;padding:0px;margin-top:0px">
					<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/spendenaufruf") }}">
					<img src="/img/aufruf.png" style="max-width:100%;max-height:126px;">
					</a>
			</div>
	@endif
29
30
31
32
	<div id="container">
	@foreach($metager->getResults()->items() as $result)
		<div class="item">
			<div class="img">
Phil Höfer's avatar
Phil Höfer committed
33
				<a href="{{ $result->link }}" target="{{ $metager->getTab() }}"><img src="{{ $metager->getImageProxyLink($result->image) }}" width="150px" alt=""/></a>
34
				<span class="label label-default">{{ strip_tags($result->gefVon) }}</span>
35
			</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
36
		</div>
37
	@endforeach
Dominik Hebeler's avatar
Dominik Hebeler committed
38
	</div>
39
40
41
	<nav class="pager">
		{!! $metager->getResults()->links() !!}
	</nav>
Dominik Hebeler's avatar
Dominik Hebeler committed
42
43
@endsection