fix bounty tiling

This commit is contained in:
Jeremy Kauffman 2016-08-18 14:40:28 -04:00
parent 25f3a1804f
commit db86866ea7

View file

@ -39,7 +39,8 @@
</section> </section>
<section class="content content-light"> <section class="content content-light">
<?php if (count($bounties)): ?> <?php if (count($bounties)): ?>
<div class="tile-fluid clearfix spacer2"> <div class="row-fluid">
<?php $index = 0 ?>
<?php foreach($bounties as $post): ?> <?php foreach($bounties as $post): ?>
<?php $metadata = $post->getMetadata() ?> <?php $metadata = $post->getMetadata() ?>
<div class="span4"> <div class="span4">
@ -64,6 +65,9 @@
<?php echo View::render('bounty/_meta', ['metadata' => $metadata]) ?> <?php echo View::render('bounty/_meta', ['metadata' => $metadata]) ?>
</a> </a>
</div> </div>
<?php if (++$index % 3 == 0): ?>
</div><div class="row-fluid">
<?php endif ?>
<?php endforeach ?> <?php endforeach ?>
</div> </div>
<?php else: ?> <?php else: ?>