Skip to content

Instantly share code, notes, and snippets.

@valueof
Created August 6, 2010 20:43
Show Gist options
  • Save valueof/511975 to your computer and use it in GitHub Desktop.
Save valueof/511975 to your computer and use it in GitHub Desktop.
{ block commentMessage :cls }
<div class="{= cls }" id="dsq-comment-message-{= comment.id }">
{ if comment.killed }
<em>{ "Comment removed." }</em>
{ elif !comment.approved }
<em>{ "This comment was flagged for review." }</em>
{ else }
{= comment.message }
{ if comment.last_modified_by == 'moderator' }
<p class="dsq-editedtxt">({ "Edited by a moderator" })</p>
{ elif comment.last_modified_by == 'author' && comment.has_replies }
<p class="dsq-editedtxt">({ "Edited by author" } {= comment.last_modified_date })</p>
{ /if }
{ /if }
Your code goes here.
</div>
{ /block }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment