2011-02-28 00:38:47 +00:00
|
|
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VideoGameQuotes.Api.Quote>" %>
|
|
|
|
<%@ Import Namespace="VideoGameQuotes.Api" %>
|
|
|
|
|
2011-03-03 04:14:32 +00:00
|
|
|
<% if (Model == null) { return; } %>
|
|
|
|
|
2011-02-28 00:38:47 +00:00
|
|
|
<div class="quote-container">
|
|
|
|
<div class="quote-data clearfix">
|
|
|
|
<div class="quote-score-container">
|
|
|
|
<div class="vote-container">
|
|
|
|
</div>
|
|
|
|
<div class="quote-score" title="+<%= Model.UpVotes %>, -<%= Model.DownVotes %>"><%= Model.Score %></div>
|
|
|
|
<div class="vote-container">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="quote-text">
|
2011-03-02 20:18:33 +00:00
|
|
|
<a href="<%= Url.Action("Quote", "Quote", new { id = Model.Id, text = Model.GetUrlFriendlyText() }) %>">
|
2011-02-28 00:38:47 +00:00
|
|
|
<%= Model.FormatTextForHtml() %>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|