Show profile picture on package page

Fixes #327
This commit is contained in:
rubenwardy 2022-01-17 18:15:08 +00:00
parent 6e93e6d777
commit a09f11d110

@ -108,7 +108,7 @@
<div class="info-row row" style="margin-top: 2rem;"> <div class="info-row row" style="margin-top: 2rem;">
<div class="btn-group-horizontal col"> <div class="btn-group-horizontal col">
<a class="btn" href="{{ url_for('users.profile', username=package.author.username) }}" title="{{ _("Author") }}"> <a class="btn" href="{{ url_for('users.profile', username=package.author.username) }}" title="{{ _("Author") }}">
<i class="fas fa-user"></i> <img src="{{ package.author.getProfilePicURL() }}" style="max-height: 1em; filter: none">
<span class="count"> <span class="count">
{{ package.author.display_name }} {{ package.author.display_name }}
</span> </span>