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

added <%: Model.Quote.GetHumanReadableTimeSinceCreated() %> <% if (Model.User != null && Model.User.Group >= UserGroup.Admin) { %> by <%= Html.ActionLink(Model.Quote.Creator.GetUsernameOrIp(), "edit", "user", new { usernameOrIp = Model.Quote.Creator.GetUsernameOrIp()}, null) %> <% } %>