Skip to content

Commit bb56c67

Browse files
committed
FAXE-381 add last update template
1 parent 77a6fa4 commit bb56c67

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{%
2+
set classes = [
3+
'block',
4+
'block-' ~ configuration.provider|clean_class,
5+
'block-' ~ plugin_id|clean_class,
6+
'block-last-updated'
7+
]
8+
%}
9+
{% if lastupdated %}
10+
<div{{ attributes.addClass(classes) }}>
11+
{{ "Last updated"|trans }}<br>
12+
{{ lastupdated }}
13+
</div>
14+
{% endif %}

0 commit comments

Comments
 (0)