20 lines
672 B
Plaintext
20 lines
672 B
Plaintext
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VideoGameQuotes.Api.Quote>" %>
|
||
|
<%@ Import Namespace="VideoGameQuotes.Api" %>
|
||
|
|
||
|
<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">
|
||
|
<a href="<%= Url.Action("quote", "quote", new { id = Model.Id, text = Model.GetUrlFriendlyText() }) %>">
|
||
|
<%= Model.FormatTextForHtml() %>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|