Skip to content

Commit

Permalink
Use commitauthor in avatar tag
Browse files Browse the repository at this point in the history
  • Loading branch information
GregKaleka committed Dec 18, 2024
1 parent fdefc03 commit ea19b45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/review/upcoming_reviews.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="text-xl md:text-3xl">Upcoming Reviews</h1>
<td class="p-3 border border-r-0 {% if not forloop.last %}border-b-0 {% endif %}border-gray-400 dark:border-slate">
<span class="font-bold md:hidden">Submitter:</span>
{% for submitter in review.submitters.all %}
{% avatar user=submitter avatar_type="with_name" %}{% if not forloop.last %}<br/>{% endif %}
{% avatar commitauthor=submitter avatar_type="with_name" %}{% if not forloop.last %}<br/>{% endif %}
{% empty %}
{{ review.submitter_raw|default:"-" }}
{% endfor %}
Expand All @@ -51,7 +51,7 @@ <h1 class="text-xl md:text-3xl">Upcoming Reviews</h1>
<td class="p-3 border border-r-0 {% if not forloop.last %}border-b-0 {% endif %}border-gray-400 dark:border-slate">
<span class="font-bold md:hidden">Review Manager:</span>
{% if review.review_manager %}
{% avatar user=review.review_manager avatar_type="with_name" %}
{% avatar commitauthor=review.review_manager avatar_type="with_name" %}
{% else %}
{{ review.review_manager_raw|default:"-" }}
{% endif %}
Expand Down

0 comments on commit ea19b45

Please sign in to comment.