misc: use same markup in links/forms/json list cells (#41643)
This commit is contained in:
parent
ef91364999
commit
1eec3f6d6d
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue