File: D:/HostingSpaces/SBogers10/topswtwmobile.komma.pro/app/views/mobile/pages/brandDetail.blade.php
@extends('mobile.master')
@section('content')
<div class="brand-detail mobile-page">
<div class="return-button">
@if($brandHasParent)
<a href="/{{$entity->parent->route}}">
{{$entity->parent->name}}
</a>
@else
<a href="/{{$shop->getPageService()->page('brands')->route}}">
@lang('mobile.back_to_brands_overview')
</a>
@endif
</div>
<!-- Title -->
<h1>{{ $entity->name }}</h1>
<!-- Brand planes -->
@if( ! empty($entity->children) )
<div class="brand-list">
@foreach( $entity->children as $key => $child )
<article class="brand-product">
<a href="/{{ $child->route }}">
<span class="image">
@if( ! empty($child->large_image_url) )
<img src="{{ $child->medium_image_url }}" alt="{{ $child->name }} logo"/>
@endif
</span>
<h3>{{ $child->name }}</h3>
</a>
</article>
@endforeach
</div>
@endif
<section class="text-block brand-info">
<h2>{{ Lang::get('pages/brands.about',['brand' => $entity->name ]) }}</h2>
{{ $entity->description }}
</section>
</div>
@stop