mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-09 03:16:25 +00:00
Merge branch 'fix_upload_img' into 'master'
Fix no img file See merge request federez/re2o!134
This commit is contained in:
commit
21bfbed542
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
{% for service in service_list %}
|
{% for service in service_list %}
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="thumbnail">
|
<div class="thumbnail">
|
||||||
|
{% if service.image %}
|
||||||
<a href="{{ service.url }}"><img src="{{ service.image.url }}" alt="{{ service.name }}"></a>
|
<a href="{{ service.url }}"><img src="{{ service.image.url }}" alt="{{ service.name }}"></a>
|
||||||
|
{% endif %}
|
||||||
<div class="caption">
|
<div class="caption">
|
||||||
<h3>{{ service.name }}</h3>
|
<h3>{{ service.name }}</h3>
|
||||||
<p>{{ service.description }}</p>
|
<p>{{ service.description }}</p>
|
||||||
|
|
Loading…
Reference in a new issue