look du widget info groupe/page (ref #210)

This commit is contained in:
afornerot 2020-10-06 09:57:24 +02:00
parent 397f0242f6
commit b6fc868652
1 changed files with 5 additions and 15 deletions

View File

@ -29,26 +29,16 @@
{% endif %}
<div class="widgetheader" style="{{ stylewidgetheader }}">
{% if entity.icon %}
<img src="/{{ alias }}/{{ entity.icon.label }}" class="logo"/>
{% if icon %}
<img src="/{{ alias }}{{ icon }}" class="logo" />
{% else %}
<img src="/{{ alias }}/uploads/icon/icon_pin.png" class="logo"/>
<img src="/{{ alias }}/uploads/icon/icon_users.png" class="logo"/>
{% endif %}
<span class="title">{{ entity.name }}</span>
<span class="title">{{ title }}</span>
</div>
<div class="widgetbody" style="{{ stylewidgetbody }}">
{% set style = "margin: auto; display: inherit;background-color:transparent;" %}
{% if icon %}
<img src="/{{ alias }}{{ icon }}" class="avatar big" style="{{ style }}" />
{% else %}
<img src="/{{ alias }}/uploads/icon/icon_users.png" class="avatar big" style="{{ style }}" />
{% endif %}
<div class="widgetbody" style="{{ stylewidgetbody }}">
<div style="text-align: center;">
{%if usage=="group" %}<small>Groupe<br></small>{% endif %}
<span style="font-size:120%">{{ title }}</span><br>
{{ description | raw }}
{%if usage=="group" %}