Skip to content

Commit

Permalink
Now display direct link to comment in articles list.
Browse files Browse the repository at this point in the history
[#41 status:resolved]
  • Loading branch information
lethain committed Jun 23, 2008
1 parent 6731e1d commit 7ad7e3a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/lifeflow/show_articles_list.html
Expand Up @@ -35,13 +35,15 @@ <h2>
{% for comment in object.get_recent_comments %}

<div class="comment">
<span class="comment-link"> </span>

{% if comment.webpage %}
<span class="comment-author">
<a href="{{ comment.webpage }}">{{ comment.name }}</a>
<a href="{{ comment.get_absolute_url}}">Comment</a> by <a href="{{ comment.webpage }}">{{ comment.name }}</a>
</span>
{% else %}
<span class="comment-author">
{{ comment.name }}
<a href="{{ comment.get_absolute_url}}">Comment</a> by {{ comment.name }}
</span>
{% endif %}
<span class="comment-date"> on {{ comment.date|date:"F j, Y" }}</span>
Expand Down

0 comments on commit 7ad7e3a

Please sign in to comment.