FIX: `(getURL "")` was not working with the `i18n` helper
This commit is contained in:
parent
be5974734d
commit
a9def011d0
|
@ -147,7 +147,7 @@
|
|||
filters=trendingSearchFilters
|
||||
isEnabled=logSearchQueriesEnabled
|
||||
disabledLabel=trendingSearchDisabledLabel}}
|
||||
{{html-safe (i18n "admin.dashboard.reports.trending_search.more" basePath=(get-url "/"))}}
|
||||
{{html-safe (i18n "admin.dashboard.reports.trending_search.more" basePath=(base-url))}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
@ -2,3 +2,4 @@ import { registerUnbound } from "discourse-common/lib/helpers";
|
|||
import getUrl from "discourse-common/lib/get-url";
|
||||
|
||||
registerUnbound("get-url", value => getUrl(value));
|
||||
registerUnbound("base-url", () => getUrl(""));
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
{{/tap-tile-grid}}
|
||||
|
||||
{{else}}
|
||||
<div class="alert alert-info">{{html-safe (i18n "bookmarks.no_timezone" basePath=(get-url "/"))}}</div>
|
||||
<div class="alert alert-info">{{html-safe (i18n "bookmarks.no_timezone" basePath=(base-uri))}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue