18 lines
		
	
	
		
			776 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			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> |