mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 19:45:58 +08:00
10 lines
253 B
Handlebars
10 lines
253 B
Handlebars
{{#if routeParam}}
|
|
{{#link-to route routeParam}}{{i18n label}}{{/link-to}}
|
|
{{else}}
|
|
{{#if route}}
|
|
{{#link-to route}}{{i18n label}}{{/link-to}}
|
|
{{else}}
|
|
<a href="{{unbound href}}" data-auto-route="true">{{i18n label}}</a>
|
|
{{/if}}
|
|
{{/if}}
|