2011-02-21 23:59:06 +00:00
|
|
|
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<VideoGameQuotes.Web.Models.PagedModelWithUser<VideoGameQuotes.Api.Quote>>" MasterPageFile="~/Views/Shared/Site.Master" %>
|
2011-02-14 19:48:36 +00:00
|
|
|
<%@ Import Namespace="VideoGameQuotes.Web.Models" %>
|
|
|
|
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Best: <%= Model.Start %> – <%= Model.End %></asp:Content>
|
|
|
|
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<% if (Model.HasPrevious) { %>
|
|
|
|
<%= Html.ActionLink("previous", "best", new { start = Model.PreviousStart, end = Model.PreviousEnd }) %>
|
|
|
|
<% } %>
|
|
|
|
<%= Html.ActionLink("next", "best", new { start = Model.NextStart, end = Model.NextEnd }) %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<%
|
2011-02-21 23:59:06 +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
|
|
|
}
|
|
|
|
%>
|
|
|
|
</asp:Content>
|
|
|
|
<asp:Content runat="server" ID="DeferrableScripts" ContentPlaceHolderID="DeferrableScripts"></asp:Content>
|