description = "Venue Inside Page"
[builderDetails venue]
modelClass = "Linus\Venues\Models\Venue"
identifierValue = "{{ :slug }}"
modelKeyColumn = "slug"
displayColumn = "slug"
notFoundMessage = "Record not found"
==
listPages();
$this['hero_testimonial'] = null;
foreach ($allPages as $pg) {
if($pg->id == 'venuess') {
$this['hero_testimonial'] = $pg;
}
}
//Next Prev
$details = Art::where('slug','=', $this->param('slug'))->first();
if(!empty($details['id'])){
$this['others'] = Art::where('id','<>', $details['id'])->orderByRaw("RAND()")->limit(3)->get();
$next = Art::where('id','<>', $details['id'])->where('order_id', '>', $details['id'])->orderBy('order_id', 'ASC')->first();
$prev = Art::where('id','<>', $details['id'])->where('order_id', '<', $details['id'])->orderBy('order_id', 'ASC')->first();
if(!empty($next['slug'])){
$this['next_page_url'] = $next['slug'];
$this['next_page_title'] = $next['name'];
}
if(!empty($prev['slug'])){
$this['prev_page_url'] = $prev['slug'];
$this['prev_page_title'] = $prev['name'];
}
}
}
?>
==
{% partial 'site/head' %}
{% partial 'site/header' %}
{% component 'staticPage' %}
{% partial 'contact-btn' %}
{% partial 'cursor' %}
{% partial 'hero-banner' %}
{% set venue = venue.record %}
{{venue.name}}
Function Type
{% for type in venue.type %}
- {{type.name}}
{% endfor %}
Ideal for
{% for ideal in venue.ideal %}
- {{ideal.name}}
{% endfor %}
Capacity
up to {{venue.capacity}} pax
{% if venue.overview %}
- Overview
{% endif %}
{% if venue.halls is not empty %}
- Halls
{% endif %}
{% if venue.amenities %}
- Amenities
{% endif %}
{% if venue.map and venue.location %}
- Map
{% endif %}
{% if venue.venue_imgs is not empty %}
- Gallery
{% endif %}
{% if venue.overview %}
{% else %}
{% endif %}
{% if venue.halls is not empty %}
{% for hall in venue.halls %}
{% if loop.index is even %}
{% endif %}
{{hall.name}}
{{hall.description}}
-
Capacity
- up to {{hall.capacity}} pax
-
Function Type
{% for type in hall.hall_type %}
- {{type.name}}
{% endfor %}
-
Ideal for
{% for ideal in hall.hall_ideal %}
- {{ideal.name}}
{% endfor %}
{% if loop.index is odd %}
{% endif %}
{% endfor %}
{% endif %}
{% if venue.amenities %}
{% endif %}
{% if venue.map and venue.location %}
{{venue.location}}
{{venue.map|raw}}
{% endif %}
{% if venue.venue_imgs is not empty %}
{% for venue in venue.venue_imgs %}
{% if loop.index is divisible by(3) %}
{% else %}
{% endif %}
{% endfor %}
{% endif %}
Similar venues to {{venue.name}}
{% put scripts %}
{% endput %}
{% partial 'site/footer' %}