vgquotes/Src/VideoGameQuotes.Web/Views/Quote/QualifiedBrowse.aspx
tmont 140b1d6bcc * added logo
* updated footer styles
* paged the browse data
2011-02-27 01:14:56 +00:00

18 lines
776 B
Plaintext

<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<QualifiedBrowseModel>" MasterPageFile="~/Views/Shared/Site.Master" %>
<%@ Import Namespace="Portoa.Web.Models" %>
<%@ Import Namespace="VideoGameQuotes.Web.Models" %>
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Browse</asp:Content>
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
<% Html.RenderPartial("PagingMenu", new PagingMenuModel(Model.PagedModel)); %>
<%
if (Model.PagedModel.TotalCount > 0) {
foreach (var quote in Model.PagedModel.Records) {
Html.RenderPartial("SingleQuote", new QuoteModel { Quote = quote, User = Model.CurrentUser });
}
} else { %>
<p>No quotes found.</p>
<% }
%>
</asp:Content>