
* T.cs: * IModule.cs: * App.master: * IProvider.cs: * Error.aspx: * AOEMail.aspx: * Login.aspx: * Index.aspx: * Admin.aspx: * yavscModel.csproj: * WFManager.cs: * Index.aspx: * AddRole.aspx: * Profile.aspx: * Edit.aspx: * Register.aspx: * Index.aspx: * RoleList.aspx: * UserList.aspx: * Validate.aspx: * RemovePost.aspx: * Index.aspx: * BasketImpact.cs: * Brand.aspx: * Delete.aspx: * Create.aspx: * Backups.aspx: * HomeController.cs: * BlogManager.cs: * Restore.aspx: * Details.aspx: * TitleNotFound.aspx: * Product.aspx: * AdminController.cs: * Command.aspx: * Service.aspx: * BlogProvider.cs: * NewProject.aspx: * Catalog.aspx: * Restored.aspx: * BasketController.cs: * AccountController.cs: * WorkFlowController.cs: * BlogsApiController.cs: * ChangePassword.aspx: * RemoveRoleQuery.aspx: * CreateBackup.aspx: * IContentProvider.cs: * BackOfficeController.cs: * FrontOfficeController.cs: * NpgsqlBlogProvider.cs: * NpgsqlContentProvider.cs: * RegistrationPending.aspx: * ProductCategory.aspx: * FrontOfficeApiController.cs: * ChangePasswordSuccess.aspx: * ReferenceNotFound.aspx: * BackupCreated.aspx Fixes many HTTP 500 Refactoring on the go
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
<%@ Page Title="Catalog" Language="C#" Inherits="System.Web.Mvc.ViewPage<Service>" MasterPageFile="~/Models/App.master" %>
|
|
<asp:Content ContentPlaceHolderID="init" ID="init1" runat="server">
|
|
<%= Title = ViewData ["BrandName"] + " " + Model.Name; %>
|
|
</asp:Content>
|
|
<asp:Content ContentPlaceHolderID="header" ID="headerContent" runat="server">
|
|
<h2> <%=ViewData ["ProdCatName"]%> - <%= Html.ActionLink( Model.Name, "Product", new { id = ViewData ["BrandName"], pc = ViewData ["ProdCatRef"] , pref = Model.Reference } ) %></h2>
|
|
|
|
</asp:Content>
|
|
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
|
<div class="service">
|
|
<p><%= Html.Encode(Model.Description) %></p>
|
|
<% if (Model.Images!=null) foreach (ProductImage i in Model.Images) { %>
|
|
<img src="<%=i.Src%>" alt="<%=i.Alt%>"/>
|
|
<% } %>
|
|
<% if (Model.HourPrice !=null) { %>
|
|
Prix horaire de la prestation :
|
|
<%= Html.Encode(Model.HourPrice.Quantity.ToString())%>
|
|
<%= Html.Encode(Model.HourPrice.Unit.Name)%>
|
|
<% } %>
|
|
</div>
|
|
|
|
<div class="booking">
|
|
<%= Html.CommandForm(Model,"Ajouter au panier") %>
|
|
|
|
<% if (Model.CommandValidityDates!=null) { %>
|
|
Offre valable du <%= Model.CommandValidityDates.StartDate.ToString("dd/MM/yyyy") %> au
|
|
<%= Model.CommandValidityDates.EndDate.ToString("dd/MM/yyyy") %>.
|
|
<% } %>
|
|
|
|
</div>
|
|
</asp:Content>
|