2
<div class="comment well">
4
<p>{{ comment.comment|markdown:"safe" }}</p>
6
by <a href="{% url oneliners.views.profile comment.user.pk %}"><span>{{ comment.user.hackerprofile.get_display_name }}</span> </a>
7
on <span>{{ comment.submit_date }}</span>
10
{% with comment.content_type.model as model %}
11
{% if model == 'oneliner' %}
12
{% with comment.content_object as oneliner %}
13
<div class="{{ model }}">
14
<h3 class="summary"><a href="{% url oneliners.views.oneliner oneliner.pk %}">{{ oneliner.summary|capfirst }}</a></h3>
15
<pre><span class="add-on">bash$ </span>{{ oneliner.line }}</pre>