Files
yavsc/web/Views/FrontOffice/ProductCategory.aspx
Paul Schneider 8c64f3c374 * Circle.cs:
* CircleInfo.cs:
* CircleInfoCollection.cs: cleans imports

* CircleManager.cs: implements a circle manager

* CircleProvider.cs: Defines a default Circle provider

* EventPub.cs:
* CalendarController.cs: refactoring

* CircleController.cs: implements with default circle provider

* FrontOfficeController.cs: throws descriptive exception message at
  searching for a catalog

* Catalog.aspx: Fixes links on product categories

* ProductCategory.aspx: Fixes links on products

* YavscModel.csproj: Includes Circle provider definitions
2015-06-10 02:15:38 +02:00

21 lines
626 B
Plaintext

<%@ Page Title="Catalog" Language="C#" Inherits="System.Web.Mvc.ViewPage<ProductCategory>" MasterPageFile="~/Models/App.master" %>
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
<% foreach (Product p in Model.Products ) { %>
<h3><%= Html.ActionLink( p.Name, "Product", new { id = ViewData["BrandId"], pc = Model.Reference , pref = p.Reference }, new { @class="actionlink" } ) %></h3>
<p>
<%= p.Description %>
<% if (p.Images !=null)
foreach (ProductImage i in p.Images ) { %>
<img src="<%=i.Src%>" alt="<%=i.Alt%>"/>
<% } %>
</p>
<% } %>
</asp:Content>