mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 18:17:29 -05:00
9 lines
253 B
Handlebars
9 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}}
|