diff options
Diffstat (limited to 'plugins/Morpheus/templates/contentBlock.twig')
-rw-r--r-- | plugins/Morpheus/templates/contentBlock.twig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/Morpheus/templates/contentBlock.twig b/plugins/Morpheus/templates/contentBlock.twig new file mode 100644 index 0000000000..b31e9bd1c6 --- /dev/null +++ b/plugins/Morpheus/templates/contentBlock.twig @@ -0,0 +1,13 @@ +<div class="card"> + <div class="card-content"> + {% if title is defined and title %} + <h2 class="card-title" + {% if rate is defined and rate and rate is true %}piwik-enriched-headline="{{ title|e('html_attr') }}" + {% elseif rate is defined and rate and rate %}piwik-enriched-headline="{{ rate|e('html_attr') }}"{% endif %} + >{% block helpText %}{% endblock %}{{ title }}</h2> + {% endif %} + + {% block content %} + {% endblock %} + </div> +</div>
\ No newline at end of file |