mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
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:
parent
3995560ba2
commit
0c6bcaa097
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user