Skip to content

Commit d7c7a70

Browse files
authored
Change display name from username to public_credit_name in team task comment (#2012)
1 parent f0699e1 commit d7c7a70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/teams/templates/task_detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h4>Comments</h4>
2525
<ul class="list-group">
2626
{% for comment in task.comments.all %}
2727
<li class="list-group-item">
28-
<strong>{{ comment.author.user.username }}</strong>: {{ comment.comment }}
28+
<strong>{{ comment.author.user.profile.get_public_credit_name }}</strong>: {{ comment.comment }}
2929
</li>
3030
{% empty %}
3131
<li class="list-group-item">

0 commit comments

Comments
 (0)