Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @foreach (var item in Model)
- {
- if (item.buttonCategory == 1)
- {
- <div class="Bestillinger">
- <h2>Bestillinger</h2>
- <div class="col-md-4 text-center">
- <a href="@item.buttonURL"><img class="img-circle" src="@item.buttonImage"></a>
- <h2>@item.buttonName</h2>
- <p>@item.buttonDescription</p>
- </div>
- </div>
- <br />
- }
- else if (item.buttonCategory == 2)
- {
- <div class="ServiceSupport">
- <h2>Service & Support</h2>
- <div class="col-md-4 text-center">
- <a href="@item.buttonURL"><img class="img-circle" src="@item.buttonImage"></a>
- <h2>@item.buttonName</h2>
- <p>@item.buttonDescription</p>
- </div>
- </div>
- }
- else if (item.buttonCategory == 3)
- {
- <div class="Dokumentasjon">
- <h2>Dokumentasjon</h2>
- <div class="col-md-4 text-center">
- <a href="@item.buttonURL"><img class="img-circle" src="@item.buttonImage"></a>
- <h2>@item.buttonName</h2>
- <p>@item.buttonDescription</p>
- </div>
- </div>
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement