look du widget info groupe/page (ref #210)
This commit is contained in:
parent
397f0242f6
commit
b6fc868652
|
@ -29,26 +29,16 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="widgetheader" style="{{ stylewidgetheader }}">
|
<div class="widgetheader" style="{{ stylewidgetheader }}">
|
||||||
{% if entity.icon %}
|
{% if icon %}
|
||||||
<img src="/{{ alias }}/{{ entity.icon.label }}" class="logo"/>
|
<img src="/{{ alias }}{{ icon }}" class="logo" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="/{{ alias }}/uploads/icon/icon_pin.png" class="logo"/>
|
<img src="/{{ alias }}/uploads/icon/icon_users.png" class="logo"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="title">{{ entity.name }}</span>
|
<span class="title">{{ title }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="widgetbody" style="{{ stylewidgetbody }}">
|
<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 style="text-align: center;">
|
<div style="text-align: center;">
|
||||||
{%if usage=="group" %}<small>Groupe<br></small>{% endif %}
|
|
||||||
<span style="font-size:120%">{{ title }}</span><br>
|
|
||||||
{{ description | raw }}
|
{{ description | raw }}
|
||||||
|
|
||||||
{%if usage=="group" %}
|
{%if usage=="group" %}
|
||||||
|
|
Loading…
Reference in New Issue