1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/plugins/Morpheus/templates/contentBlock.twig
dizzy 85c79e0034 [Vue] remove angularjs from the Morpheus plugin (#19409)
* remove use of angularjs from SegmentEditor plugin

* remove import added by phpstorm

* convert part of demo.twig

* make sure to export comparison service instance not just class

* built vue files

* finish converting demo.twig

* finish converting demo.twig

* remove some remaining angularjs references

* built vue files

* fixing some issues

* fix initial value for segment definition

* treat null, undefined and empty string segment value the same

* Update expected screenshots

* try to fix timing error in test

* update screenshots

* remove use of html_attr escape

* remove unneeded hmtl_attr filter use

* apply review feedback

* updates expected test files

Co-authored-by: sgiehl <stefan@matomo.org>
2022-08-16 09:43:00 +02:00

12 خطوط
382 B
Twig

<div class="card">
<div class="card-content">
{% if title is defined and title %}
<h2 class="card-title"
{% if rate is defined and rate %}vue-entry="CoreHome.EnrichedHeadline"{% endif %}
>{% block helpText %}{% endblock %}{{ title }}</h2>
{% endif %}
{% block content %}
{% endblock %}
</div>
</div>