mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 03:25:31 -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}}
|