This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/templates/components/navigation-item.hbs
Blake Erickson 006e5904be DEV: Remove buffered rendering from navigation-item
This is another refactoring in the multi-step process to remove all uses
of our custom Render Buffer.

Previous commit: ea6326c860 in this
series.

This commit affects the top menu buttons. It is just a refactor and
should not change any functionality.
2019-12-12 15:52:33 -07:00

7 lines
134 B
Handlebars

<a href={{hrefLink}} class={{activeClass}}>
{{#if hasIcon}}
<span class={{content.name}}></span>
{{/if}}
{{content.displayName}}
</a>