Merge pull request #10519 from gschlager/get-url

Fixes for getURL() in subfolders and basePath in translations
This commit is contained in:
Gerhard Schlager
2020-08-25 11:42:50 +02:00
committed by GitHub
parent e66f95de3a
commit dac0e5b3cc
9 changed files with 22 additions and 9 deletions
@@ -107,7 +107,7 @@ export default Controller.extend(PeriodComputationMixin, {
@discourseComputed
trendingSearchDisabledLabel() {
return I18n.t("admin.dashboard.reports.trending_search.disabled", {
basePath: getURL("/")
basePath: getURL("")
});
},
@@ -147,7 +147,7 @@
filters=trendingSearchFilters
isEnabled=logSearchQueriesEnabled
disabledLabel=trendingSearchDisabledLabel}}
{{html-safe (i18n "admin.dashboard.reports.trending_search.more" basePath=(base-url))}}
{{html-safe (i18n "admin.dashboard.reports.trending_search.more" basePath=(base-path))}}
</div>
{{/if}}
</div>