Source

haskellblog / src / templates / comment.st

Full commit
Luke Plant 5626918 
Luke Plant 74f2d3e 
Luke Plant 70d6b3e 
Luke Plant 5626918 
Luke Plant a1ce777 
Luke Plant 775b72d 
Luke Plant 5626918 

Luke Plant 3558136 
Luke Plant 5626918 
Luke Plant a4b80a5 

Luke Plant 9c0a029 
Luke Plant a4b80a5 

Luke Plant 74f2d3e 





Luke Plant 5626918 

    <div class="comment$if(comment.isAuthor)$ author$endif$$if(comment.hidden)$ hiddenComment$endif$" id="commentdiv$comment.uid$">
      <div class="togglebar" $if(comment.hidden)$ title="Hidden comment" $endif$></div>
      <div class="introline">
        <a id="comment$comment.uid$" href="#comment$comment.uid$" class="anchor">&sect;</a> <span>On <span class="timestamp">$comment.date$</span>, <span class="commentBy">$comment.formattedName$</span> wrote:</span>
        <span class="commentid">$comment.uid$</span>
      </div>
      <div class="commenttext">
         $comment.textFormatted:noescape()$
      </div>
      <div class="response">
        $if(comment.response)$
        <div class="responseinner">$comment.response:noescape()$ <span class="responsename">&mdash; luke</span> </div>
        $endif$
      </div>
      <div class="commentControls">
        <a id="hidecomment$comment.uid$" href="#" $if(comment.hidden)$style="display:none;"$endif$>Hide</a>
        <a id="showcomment$comment.uid$" href="#" $if(!comment.hidden)$style="display:none;"$endif$>Show</a>
        <a id="respondtocomment$comment.uid$" href="#">Respond</a>
        <a id="deletecomment$comment.uid$" href="#">Delete</a>
      </div>
    </div>
    <hr/>