Add if for is no img is provided for credit file

This fixes broken image symbol if no img provided in json
This commit is contained in:
Zedifus 2022-02-06 05:34:45 +00:00
parent 3995560ba2
commit 0c6bcaa097

View File

@ -39,8 +39,10 @@
<div class="col-md-4">
<div class="user-avatar mb-auto">
{% if person['pic'] %}
<img src="{{ person['pic'] }}"
alt="profile image" class="profile-img img-lg rounded-circle">
{% end %}
</div>
<div class="wrapper">
@ -108,8 +110,10 @@
<div class="col-md-4">
<div class="user-avatar mb-auto">
{% if person['pic'] %}
<img src="{{ person['pic'] }}"
alt="profile image" class="profile-img img-lg rounded-circle">
{% end %}
</div>
<div class="wrapper">
@ -178,8 +182,10 @@
<div class="col-md-4">
<div class="user-avatar mb-auto">
{% if person['pic'] %}
<img src="{{ person['pic'] }}"
alt="profile image" class="profile-img img-lg rounded-circle">
{% end %}
</div>
<div class="wrapper">