Created
February 12, 2016 18:33
-
-
Save detroitpro/ebc02c9b9dbcc50d4582 to your computer and use it in GitHub Desktop.
rows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@for (int i = 0; i < Model.DisplayRows; i++) | |
{ | |
var skip = (i == 0) ? i : i * 3; | |
<div class="row-fluid"> | |
@foreach (var product in Model.StoreProducts.Skip(skip).Take(3)) | |
{ | |
<div class="span4 leaf-container" style="margin-bottom: 20px; min-height: 215px; | |
border: 1px solid #DDD"> | |
<img class="on-sale-strap" src="https://mtgshops.blob.core.windows.net/site/onSale.png" /> | |
</div> | |
} | |
</div> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment