特定の信頼レベルに対してのみボタンを表示する

プラグインの outlet を使用して extra-nav-item へカスタム HTML を注入しました:

<script type="text/x-handlebars" data-template-name="/connectors/extra-nav-item/free-user-button">
    <a id="free-user-button-desktop" href="https://mathbymiles.com/s/prod_J1IfcowxsGw8Fd" class="btn btn-default">
        <svg class="fa d-icon d-icon-plus svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use xlink:href="#plus"></use></svg>
        <span class="d-button-label">
            数学の質問はこちら!
        </span>
    </a>
</script>

動作は問題ないのですが、この HTML を特定の信頼レベル(例えば 0、1、2、3、4)のユーザーにのみ表示させるにはどうすればよいでしょうか?