N°3191 - Introduce summary cards for objects hyperlinks (#476)

This commit is contained in:
Stephen Abello
2023-04-17 12:20:49 +02:00
committed by GitHub
parent e645e9b006
commit cf74431543
33 changed files with 573 additions and 69 deletions

View File

@@ -0,0 +1,23 @@
{# @copyright Copyright (C) 2010-2021 Combodo SARL #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% extends 'base/layouts/object/object-details/layout.html.twig' %}
{% block iboPanelHeaderOuter %}
{% endblock %}
{% block iboPanelBody %}
<div class="ibo-object-summary--header">
{% block iboPanelHeader %}
{{ parent() }}
{% endblock %}
</div>
<div class="ibo-object-summary--content--attributes">
{% for attcode,attval in oUIBlock.GetDisplayValues() %}
<div class="ibo-object-summary--content--attribute ibo-field ibo-field-small">
<span class="ibo-object-summary--content--attributes--code ibo-field--label">{{ attcode|raw }}</span>
<span class="ibo-object-summary--content--attributes--value ibo-field--value">{{ attval|raw }}</span>
</div>
{% endfor %}
</div>
{% endblock %}