<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%@ Import Namespace="Portoa.Util" %> <%@ Import Namespace="VideoGameQuotes.Api" %>
<% if (!Model.VotedUp) { %> <% } %>
<%= Model.Quote.Score %>
<% if (!Model.VotedDown) { %> <% } %>

<%: Model.Quote.Text %>

Game
<%= Html.ActionLink(Model.Quote.Game.Name, "browse", "Quote", new { qualifiers = "game/" + Model.Quote.Game.Id }, null) %>
Added
<%: Model.Quote.GetHumanReadableTimeSinceCreated() %>
Categories
<%= Model.Quote.Categories.Implode(category => Html.ActionLink(category.Name, "browse", "Quote", new { qualifiers = "category/" + category.Id }, null).ToString(), ", ")%>