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

This commit is contained in:
Frédéric Péters 2020-04-13 15:40:52 +02:00
parent ef91364999
commit 1eec3f6d6d
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{% block cell-content %}
<div class="links-list">
{% if title %}<h2>{{title}}</h2>{% endif %}
{% include "combo/asset_picture_fragment.html" %}
<div class="links-list">
{% for row in json.data %}
<ul>
<li><a href="{{row.url}}">{{row.text}}</a></li>

View File

@ -1,8 +1,8 @@
{% block cell-content %}
{% spaceless %}
{% if title %}<h2>{{ title }}</h2>{% endif %}
{% include "combo/asset_picture_fragment.html" %}
<div class="links-list">
{% include "combo/asset_picture_fragment.html" %}
<ul>
{% for link in links %}
<li><a href="{{ link.url }}">{{ link.title }}</a></li>