20 lines
974 B
Plaintext
20 lines
974 B
Plaintext
|
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<VideoGameQuotes.Web.Models.PagedQuoteCollectionModel>" MasterPageFile="~/Views/Shared/Site.Master" %>
|
||
|
<%@ 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>
|
||
|
|
||
|
<%
|
||
|
foreach (var quote in Model.Quotes) {
|
||
|
Html.RenderPartial("SingleQuote", new QuoteModel { Quote = quote, User = Model.User });
|
||
|
}
|
||
|
%>
|
||
|
</asp:Content>
|
||
|
<asp:Content runat="server" ID="DeferrableScripts" ContentPlaceHolderID="DeferrableScripts"></asp:Content>
|