vgquotes/Src/VideoGameQuotes.Web/Views/Quote/Best.aspx

14 lines
791 B
Plaintext
Raw Normal View History

<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<VideoGameQuotes.Web.Models.PagedModelWithUser<VideoGameQuotes.Api.Quote>>" MasterPageFile="~/Views/Shared/Site.Master" %>
2011-02-22 04:05:23 +00:00
<%@ Import Namespace="Portoa.Web.Models" %>
2011-02-14 19:48:36 +00:00
<%@ Import Namespace="VideoGameQuotes.Web.Models" %>
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Best: <%= Model.Start %> &ndash; <%= Model.End %></asp:Content>
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
2011-02-22 04:05:23 +00:00
<% Html.RenderPartial("PagingMenu", new PagingMenuModel(Model) { Action = "best", Controller = "quote" }); %>
2011-02-14 19:48:36 +00:00
<%
foreach (var quote in Model.Records) {
Html.RenderPartial("SingleQuote", new QuoteModel { Quote = quote, User = Model.CurrentUser });
2011-02-14 19:48:36 +00:00
}
%>
2011-02-22 04:05:23 +00:00
</asp:Content>