1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/plugins/UserCountry/templates/adminIndex.twig
dizzy 9c5d215e4f [Vue] remove angularjs use from UserCountry (#19381)
* make Sparkline component work more like sparkline twig macro

* move contents of twig templates that use angularjs to vue components

* built vue files

* add missing translations

* update expected screenshots

* fix numeric conversion

* remove use of html_attr and remove duplicate translation tokens

* add explicit height/width to match dimensions before for distinct countries

* update expected screenshots

Co-authored-by: sgiehl <stefan@matomo.org>
2022-07-28 11:49:05 +02:00

23 خطوط
866 B
Twig

{% extends 'admin.twig' %}
{% set title %}{{ 'UserCountry_Geolocation'|translate }}{% endset %}
{% block content %}
{% import 'macros.twig' as piwik %}
<div
vue-entry="UserCountry.AdminPage"
current-provider-id="{{ currentProviderId|json_encode }}"
is-there-working-provider="{{ isThereWorkingProvider|default(null)|json_encode }}"
set-up-guides="{{ setUpGuides|default(null)|json_encode }}"
this-ip="{{ thisIP|default(null)|json_encode }}"
location-providers="{{ locationProviders|default(null)|json_encode }}"
default-provider-id="{{ constant("Piwik\\Plugins\\UserCountry\\LocationProvider\\DefaultProvider::ID")|default(null)|json_encode }}"
disabled-provider-id="{{ constant("Piwik\\Plugins\\UserCountry\\LocationProvider\\DisabledProvider::ID")|default(null)|json_encode }}"
></div>
{{ configurations|raw }}
{% endblock %}