1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/plugins/Live/templates/_totalVisitors.twig
dizzy 614a6d103b [Vue] remove angularjs from Diagnostics plugin (#19434)
* Remove use of angularjs from SitesManager plugin and add VueEntryContainer for more convenient embedding of vue-entry use from within other Vue components (primarily for supporting twig Template... events in Vue).

* remove use of angularjs from Live plugin

* built vue files

* forgot to export

* built vue files

* start removing angularjs from Installation

* remove angularjs from Installation plugin

* allow ContentIntro to be applied conditionally

* make Diagnostic results json serializable

* built vue files

* remove use of angularjs from Diagnostics plugin

* built vue files

* fix ui test issues

* fix spacing

* couple fixes

* more ui test fixes

* make sure installation umd is loaded during installation (as well as translations)

* do not use html_attr to escape and in UI tests replace path with escaped slashes so json data gets replaced

* update screenshots

* Allow composer plugins for dev dependency codesniffer to fix travis builds.

* some small fixes

* fix styling and formatting issues

* update expected screenshot

* move inline script to vue directive + fix a couple vue warnings

* remove inline script in system check widget

* use common method to load umd file

* remove use of unneeded html_attr escape

* remove use of unneeded twig html_attr escape

* remove unnecessary use of html_attr twig escape filter

Co-authored-by: sgiehl <stefan@matomo.org>
2022-08-31 15:04:25 +02:00

12 خطوط
560 B
Twig

<div id="visitsTotal">
<div
vue-entry="Live.TotalVisitors"
count-error-today="{{ countErrorToday|default(null)|json_encode }}"
visitors-count-today="{{ (visitorsCountToday + 0)|default(null)|json_encode }}"
pis-today="{{ pisToday|default(null)|json_encode }}"
count-error-half-hour="{{ countErrorHalfHour|default(null)|json_encode }}"
visitors-count-half-hour="{{ (visitorsCountHalfHour + 0)|default(null)|json_encode }}"
pis-halfhour="{{ pisHalfhour|default(null)|json_encode }}"
></div>
</div>