Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Oct 2, 2019
1 parent a325f40 commit 08ca9c9
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app/grants/templates/grants/detail/tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,17 @@ <h4 class="m-auto text-center font-weight-semibold">{% trans "No Activity for th
<div id="section-nav-contributors" class="">
<div class="grant__stakeholders-list d-flex flex-wrap">
{% for contribution in contributors %}
<a class="grant__stakeholders-item mr-3 mb-3" href="{% url 'profile' contribution.subscription.contributor_profile.handle %}">
{% if contribution.subscription %}
{% trans contribution.subscription.contributor_profile.handle as handle %}
{% else %}
{% trans contribution.profile.handle as handle %}
{% endif %}
<a class="grant__stakeholders-item mr-3 mb-3" href="{% url 'profile' handle %}">
<div class="mr-2 d-inline-block">
<img src="{{ contribution.subscription.contributor_profile.avatar_url }}" />
<img src="/dynamic/avatar/{{handle}}" />
</div>
<div class="mt-1 d-inline-block">
<span class="grant-profile font-weight-semibold">{{ contribution.subscription.contributor_profile.handle }}</span>
<span class="grant-profile font-weight-semibold">{{ handle }}</span>
</div>
</a>

Expand Down

0 comments on commit 08ca9c9

Please sign in to comment.