13 lines
764 B
Plaintext
13 lines
764 B
Plaintext
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<PagedModelWithUser<VideoGameQuotes.Api.Quote>>" MasterPageFile="~/Views/Shared/Site.Master" %>
|
|
<%@ Import Namespace="Portoa.Web.Models" %>
|
|
<%@ Import Namespace="VideoGameQuotes.Web.Models" %>
|
|
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Recent: <%= Model.Start %>–<%= Model.End %></asp:Content>
|
|
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
|
|
<% Html.RenderPartial("PagingMenu", new PagingMenuModel(Model) { Action = "recent", Controller = "quote" }); %>
|
|
|
|
<%
|
|
foreach (var quote in Model.Records) {
|
|
Html.RenderPartial("SingleQuote", new QuoteModel { Quote = quote, User = Model.CurrentUser });
|
|
}
|
|
%>
|
|
</asp:Content> |