Projet

Général

Profil

0001-misc-use-same-markup-in-links-forms-json-list-cells-.patch

Frédéric Péters, 13 avril 2020 15:41

Télécharger (1,52 ko)

Voir les différences:

Subject: [PATCH] misc: use same markup in links/forms/json list cells (#41643)

 combo/public/templates/combo/json-list-cell.html | 2 +-
 combo/public/templates/combo/link-list-cell.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
combo/public/templates/combo/json-list-cell.html
1 1
{% block cell-content %}
2
<div class="links-list">
3 2
{% if title %}<h2>{{title}}</h2>{% endif %}
4 3
{% include "combo/asset_picture_fragment.html" %}
4
<div class="links-list">
5 5
{% for row in json.data %}
6 6
<ul>
7 7
<li><a href="{{row.url}}">{{row.text}}</a></li>
combo/public/templates/combo/link-list-cell.html
1 1
{% block cell-content %}
2 2
{% spaceless %}
3 3
{% if title %}<h2>{{ title }}</h2>{% endif %}
4
{% include "combo/asset_picture_fragment.html" %}
4 5
<div class="links-list">
5
  {% include "combo/asset_picture_fragment.html" %}
6 6
  <ul>
7 7
  {% for link in links %}
8 8
    <li><a href="{{ link.url }}">{{ link.title }}</a></li>
9
-