1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 15:07:44 +00:00
Files
matomo/plugins/CoreAdminHome/templates/getTrackingFailures.twig
Thomas Steur 7b6a146269 Report tracking into wrong Site ID and missing token auth (#13493)
* log tracking failures

* added page

* tweak UI

* use a db column instead of option table to simplify code

* add system summary, notifiy super users by email, fixes, update, ...

* more fixes, needs tests next

* add widget for tracking failures

* ensure to not log any failure when visit is excluded

* some tests and fixes

* added tests

* added missing test

* apply review feedback

* fix tests

* trying to fix test

* fix tests

* fix update names

* fix tests

* Fix another test.
2018-12-05 21:44:01 -08:00

13 خطوط
606 B
Twig

<div class="widgetBody system-check">
{% if numFailures == 0 %}
<p class="system-success"><span class="icon-ok"></span> {{ 'CoreAdminHome_NoKnownFailures'|translate }}</p>
{% else %}
<p class="system-errors">
<span style="font-size: 16px;"><span class="icon-error"></span> {{ 'CoreAdminHome_NTrackingFailures'|translate(numFailures) }}</span>
</p>
<p>
<a href="{{ linkTo({'module': 'CoreAdminHome', 'action': 'trackingFailures'}) }}"
>{{ 'CoreAdminHome_ViewAllTrackingFailures'|translate }}</a>
</p>
{% endif %}
</div>