Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-02-14 05:21:55 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-02-25 04:14:33 +0400
commitcb600112c8a6f3a1e4e4d938a1b50d1d19a53a5f (patch)
treeeacaed9a79c30a49fc97660eb036cb33b2576df0 /plugins/UsersManager/templates/index.twig
parent830a230d0e9fa5e1509be7549719abd4d472bccb (diff)
actually use the angular based site selector, some more improvements, bugfixes
Diffstat (limited to 'plugins/UsersManager/templates/index.twig')
-rw-r--r--plugins/UsersManager/templates/index.twig16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/UsersManager/templates/index.twig b/plugins/UsersManager/templates/index.twig
index cfb1d76510..734aabbf23 100644
--- a/plugins/UsersManager/templates/index.twig
+++ b/plugins/UsersManager/templates/index.twig
@@ -12,14 +12,14 @@
{% set applyAllSitesText %}
<strong>{{ 'UsersManager_ApplyToAllWebsites'|translate }}</strong>
{% endset %}
- {% include "@CoreHome/_siteSelect.twig" with {
- 'siteName': defaultReportSiteName,
- 'idSite':idSiteSelected,
- 'allSitesItemText': applyAllSitesText,
- 'allWebsitesLinkLocation': 'top',
- 'siteSelectorId':"usersManagerSiteSelect",
- 'switchSiteOnSelect':false
- } %}
+
+ <div piwik-site-selector
+ siteid="{{ idSiteSelected }}"
+ sitename="{{ defaultReportSiteName }}"
+ allsitestext="{{ applyAllSitesText|raw }}"
+ allsiteslocation="top"
+ id="usersManagerSiteSelect"
+ switchsiteonselect="0"></div>
</section>
</div>