FEATURE: add settings for displaying/hiding bullets in slider

This commit is contained in:
Michal Kváček
2016-04-02 10:15:13 +02:00
parent 9f4cc158db
commit 307dbe0459
7 changed files with 49 additions and 25 deletions
@@ -30,12 +30,14 @@
@endfor
@endif
</ul>
<nav class="orbit-bullets">
@for($i = 0; $i < $slidesCount; $i++)
<button @if($i == 0) class="is-active" @endif data-slide="{{$i}}"></button>
@endfor
</nav>
@if ($settings->displayBullets)
<nav class="orbit-bullets">
@for($i = 0; $i < $slidesCount; $i++)
<button @if($i == 0) class="is-active" @endif data-slide="{{$i}}"></button>
@endfor
</nav>
@endif
{!! $settings->code !!}
</div>