Skip to content

Commit 9df4626

Browse files
committed
Corrected comment profile image url in view_ticket template
1 parent 8600634 commit 9df4626

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tickets/templates/view_ticket.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
{% block title %}TrackIt | View Ticket | {{ ticket.id }}{% endblock %}
44
{% block container-class %}view-ticket-container{% endblock %}
55
{% block page_heading %}
6-
<h3>
7-
<i class="material-icons">pageview</i> View Ticket | {{ticket.id}}
8-
</h3>
6+
<h3><i class="material-icons">pageview</i> View Ticket | {{ticket.id}}</h3>
97
<hr>
108
{% endblock %}
119
{% block content %}
@@ -291,7 +289,8 @@ <h5><i class="material-icons align-top">insert_comment</i> Comments ({{ comments
291289
<li class="list-group-item">
292290
{% if comment.user.profile.image %}
293291
<img class="lazyload rounded-circle float-left comment-profile-image"
294-
data-src="{{ user.profile.image.url }}" alt="{{ user.first_name }}'s Profile Image">
292+
data-src="{{ comment.user.profile.image.url }}"
293+
alt="{{ comment.user.first_name }}'s Profile Image">
295294
{% else %}
296295
<i class="material-icons float-left">account_circle</i>
297296
{% endif %}

0 commit comments

Comments
 (0)