* 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
This commit is contained in:
parent
6fa1e6de27
commit
8c64f3c374
14 changed files with 351 additions and 16 deletions
|
|
@ -6,7 +6,7 @@
|
|||
<p><i><%= Html.Encode( b.Slogan ) %></i></p>
|
||||
<% foreach (ProductCategory pc in b.Categories ) { %>
|
||||
<div>
|
||||
<h2><%= Html.ActionLink( pc.Name, "ProductCategory", new { id = b.Name, pc = pc.Reference }, new { @class="actionlink" } ) %></h2>
|
||||
<h2><%= Html.ActionLink( pc.Name, "ProductCategory", new { brandid= b.Name, pcid = pc.Reference }, new { @class="actionlink" } ) %></h2>
|
||||
</div>
|
||||
|
||||
<% foreach (Product p in pc.Products ) { %>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<% foreach (Product p in Model.Products ) { %>
|
||||
|
||||
<h3><%= Html.ActionLink( p.Name, "Product", new { id = ViewData["BrandName"], pc = Model.Reference , pref = p.Reference }, new { @class="actionlink" } ) %></h3>
|
||||
<h3><%= Html.ActionLink( p.Name, "Product", new { id = ViewData["BrandId"], pc = Model.Reference , pref = p.Reference }, new { @class="actionlink" } ) %></h3>
|
||||
|
||||
<p>
|
||||
<%= p.Description %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue