Projet

Général

Profil

0001-entrouvert-make-reference-s-logo-and-title-link-to-c.patch

Benjamin Dauvergne, 06 juillet 2020 12:53

Télécharger (1,2 ko)

Voir les différences:

Subject: [PATCH] entrouvert: make reference's logo and title link to
 contract's URL (#44365)

 templates/variants/entrouvert/combo/json/references.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
templates/variants/entrouvert/combo/json/references.html
9 9

  
10 10
<div class="references-item-image">
11 11
    {% thumbnail e.logo "160x160" as im %}
12
    <img src="{{ im.url }}">
12
    {% if e.url %}<a href="{{ e.url }}">{% endif %}<img src="{{ im.url }}"/>{% if e.url %}</a>{% endif %}
13 13
    {% endthumbnail %}
14 14
</div>
15 15

  
16 16
<div class="references-item-content">
17
  <h3> {{ e.client }}</h3>
18
  <strong>{{ e.title }}</strong>
17
  <h3>{{ e.client }}</h3>
18
  <strong>{% if e.url %}<a href="{{ e.url }}">{% endif %}{{ e.title }}{% if e.url %}</a>{% endif %}</strong>
19 19
  <p>{{ e.description  }}</p>
20 20
</div>
21 21

  
22
-