0001-misc-use-same-markup-in-links-forms-json-list-cells-.patch
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 |
- |