Skip to content
Snippets Groups Projects
Verified Commit 69c2036c authored by TheJoeCoder's avatar TheJoeCoder
Browse files

Fix user card profile image

parent 3eb6b34d
Branches
No related tags found
No related merge requests found
......@@ -2,13 +2,11 @@
{% load gravatar %}
{% block model_display_content %}
<div class="row row-flex row-cols-1 row-cols-md-2">
{% if result.image %}
<div class="col col-md-3">
<div id="book-page-detail-img" class="mx-auto">
<img src="{% gravatar_url result.email 150 %}" class="img-fluid rounded-circle mx-auto d-block" alt="Profile image">
</div>
</div>
{% endif %}
<div class="col col-md-9">
<h1>{{ result.username }}</h1>
<p class="text-body-secondary">Patron</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment