diff options
author | Matthieu Aubry <matt@piwik.org> | 2015-12-04 01:55:11 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2015-12-04 01:55:11 +0300 |
commit | f0a48bedd88123805f1eee2e029bec9e40e4428e (patch) | |
tree | 0e5611401724b97d11a3e91b6bee3193793b05ee | |
parent | e4cf508a720e28c0dba60f47f3b111b8fe481eec (diff) | |
parent | 59391dfdb68788cd7598ef58a62ed48906b61a21 (diff) |
Merge pull request #9324 from piwik/9025
Show selected/current website in websites selector
-rw-r--r-- | plugins/CoreHome/templates/_siteSelectHeader.twig | 2 | ||||
-rw-r--r-- | plugins/CustomVariables/templates/manage.twig | 2 | ||||
-rw-r--r-- | plugins/UsersManager/templates/index.twig | 1 | ||||
-rw-r--r-- | plugins/UsersManager/templates/userSettings.twig | 1 |
4 files changed, 4 insertions, 2 deletions
diff --git a/plugins/CoreHome/templates/_siteSelectHeader.twig b/plugins/CoreHome/templates/_siteSelectHeader.twig index 7353e2e07a..beacabd849 100644 --- a/plugins/CoreHome/templates/_siteSelectHeader.twig +++ b/plugins/CoreHome/templates/_siteSelectHeader.twig @@ -1,3 +1,3 @@ <div class="top_bar_sites_selector piwikTopControl"> - <div piwik-siteselector class="sites_autocomplete"></div> + <div piwik-siteselector show-selected-site="true" class="sites_autocomplete"></div> </div>
\ No newline at end of file diff --git a/plugins/CustomVariables/templates/manage.twig b/plugins/CustomVariables/templates/manage.twig index fa7a085aa9..dc170ff2c9 100644 --- a/plugins/CustomVariables/templates/manage.twig +++ b/plugins/CustomVariables/templates/manage.twig @@ -2,7 +2,7 @@ {% block topcontrols %} <div class="top_bar_sites_selector piwikTopControl"> - <div piwik-siteselector class="sites_autocomplete"></div> + <div piwik-siteselector show-selected-site="true" class="sites_autocomplete"></div> </div> {% endblock %} diff --git a/plugins/UsersManager/templates/index.twig b/plugins/UsersManager/templates/index.twig index e2fb24dc9a..6bf12d01e0 100644 --- a/plugins/UsersManager/templates/index.twig +++ b/plugins/UsersManager/templates/index.twig @@ -15,6 +15,7 @@ {% endset %} <div piwik-siteselector + show-selected-site="true" class="sites_autocomplete" siteid="{{ idSiteSelected }}" sitename="{{ defaultReportSiteName }}" diff --git a/plugins/UsersManager/templates/userSettings.twig b/plugins/UsersManager/templates/userSettings.twig index 1478368858..6b075eda86 100644 --- a/plugins/UsersManager/templates/userSettings.twig +++ b/plugins/UsersManager/templates/userSettings.twig @@ -65,6 +65,7 @@ {{ 'General_DashboardForASpecificWebsite'|translate }} </label> <div piwik-siteselector + show-selected-site="true" class="sites_autocomplete" siteid="{{ defaultReportIdSite }}" sitename="{{ defaultReportSiteName }}" |