fixed html errors on comments page {#26203269]
parent
660b3d9357
commit
aa338822de
|
@ -60,16 +60,16 @@ comments rss?
|
||||||
<div class="comments {% cycle 'row1' 'row2' %}">
|
<div class="comments {% cycle 'row1' 'row2' %}">
|
||||||
<div class="nonavatar">
|
<div class="nonavatar">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
<a href="{% url work id %}?tab=2"><img src="{{ comment.content_object.cover_image_thumbnail }}"></a>
|
<a href="{% url work id %}?tab=2"><img src="{{ comment.content_object.cover_image_thumbnail }}" alt="cover image" /></a>
|
||||||
</div>
|
</div>
|
||||||
{% with comment.user as user %}
|
{% with comment.user as user %}
|
||||||
<span><a href={% url supporter supporter_username=user %}>{{ comment.name }}</a> on <a href="{% url work id %}?tab=2">{{ comment.content_object.title }}</a></span><br />
|
<span><a href="{% url supporter supporter_username=user %}">{{ comment.name }}</a> on <a href="{% url work id %}?tab=2">{{ comment.content_object.title }}</a></span><br />
|
||||||
|
|
||||||
<span class="text">{{ comment.comment|linebreaksbr }}</span>
|
<span class="text">{{ comment.comment|linebreaksbr }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="avatar">
|
<div class="avatar">
|
||||||
<a href={% url supporter supporter_username=user %}>
|
<a href="{% url supporter supporter_username=user %}">
|
||||||
{% if supporter.profile.pic_url %}
|
{% if supporter.profile.pic_url %}
|
||||||
<img class="user-avatar" src="{{ comment.user.profile.pic_url }}" height="50" width="50" alt="Picture of {{ comment.user }}" title="{{ comment.user }}" />
|
<img class="user-avatar" src="{{ comment.user.profile.pic_url }}" height="50" width="50" alt="Picture of {{ comment.user }}" title="{{ comment.user }}" />
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in New Issue