Projet

Général

Profil

0002-cells-add-blocks-in-link-list-cell.html-to-make-cust.patch

Lauréline Guérin, 23 avril 2020 11:42

Télécharger (1,08 ko)

Voir les différences:

Subject: [PATCH 2/3] cells: add blocks in link-list-cell.html to make
 customization easier (#40883)

 combo/public/templates/combo/link-list-cell.html | 3 +++
 1 file changed, 3 insertions(+)
combo/public/templates/combo/link-list-cell.html
1 1
{% load i18n %}
2 2
{% block cell-content %}
3 3
{% spaceless %}
4
{% block cell-header %}
4 5
{% if title %}<h2>{{ title }}</h2>{% endif %}
5 6
{% include "combo/asset_picture_fragment.html" %}
7
{% endblock cell-header %}
6 8
<div class="links-list">
9
  {% block cell-top-content %}{% endblock cell-top-content %}
7 10
  <ul>
8 11
  {% for link in links %}
9 12
  <li class="{{ link.css_classes|default:""|join:" " }}"><a href="{{ link.url }}">{{ link.title }}</a></li>
10
-