Copy over Octavia block for overriding
This commit is contained in:
parent
4df31e044f
commit
087c21c1df
1 changed files with 10 additions and 0 deletions
10
agaric/templates/block/block.html.twig
Normal file
10
agaric/templates/block/block.html.twig
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{% extends '@bulma/block/block.html.twig' %}
|
||||||
|
{% set view_mode = configuration['view_mode'] ?? null %}
|
||||||
|
{% if view_mode is same as ('columnar') %}
|
||||||
|
{%
|
||||||
|
set classes = [
|
||||||
|
'column'
|
||||||
|
]
|
||||||
|
%}
|
||||||
|
{% set attributes = attributes.addClass(classes) %}
|
||||||
|
{% endif %}
|
Loading…
Reference in a new issue