1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/plugins/Installation/templates/systemCheck.twig
dizzy e33e094225 [Vue] remove angularjs from Installation plugin (#19425)
* 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

* 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.

* 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

* use html filter explicitly

* use href so command+click works

* get rid of two vue warnings

* use anonymous function for jquery event so this can be used properly

* destroy/compile vue components when refreshing live widget

* update expected screenshots

* remove incorrectly added use

* include client side translations in twig template layout for Installation not cached JS

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

20 خطوط
1.0 KiB
Twig

{% extends '@Installation/layout.twig' %}
{% block content %}
<div
vue-entry="Installation.SystemCheck"
show-next-step="{{ showNextStep|default(null)|json_encode }}"
system-check-legend-url="{{ url|json_encode }}"
error-type="{{ constant('Piwik\\Plugins\\Diagnostics\\Diagnostic\\DiagnosticResult::STATUS_ERROR')|json_encode }}"
warning-type="{{ constant('Piwik\\Plugins\\Diagnostics\\Diagnostic\\DiagnosticResult::STATUS_WARNING')|json_encode }}"
informational-type="{{ constant('Piwik\\Plugins\\Diagnostics\\Diagnostic\\DiagnosticResult::STATUS_INFORMATIONAL')|json_encode }}"
system-check-info="{{ systemCheckInfo|json_encode }}"
mandatory-results="{{ diagnosticReport.getMandatoryDiagnosticResults()|json_encode }}"
optional-results="{{ diagnosticReport.getOptionalDiagnosticResults()|json_encode }}"
informational-results="{{ diagnosticReport.getInformationalResults()|json_encode }}"
is-installation="{{ isInstallation|default(null)|json_encode }}"
></div>
{% endblock %}