{{#if Layout.org_list.filter}}
<div class="org-filter">
    <ul data-element="tag_list">
        {{#is Layout.org_list.filter "paid"}}
        <li>
            <span class="value">{{i18n "org_filter.paid"}}</span>
            <a href="/">&times;</a>
        </li>
        {{/is}}
        {{#is Layout.org_list.filter "search"}}
        <li>
            {{#if Layout.query.type}}
            <span class="value">{{fallback (i18n "org_filter.search." Layout.query.type query=Layout.query.query) (i18n "org_filter.search.unknown_type" query=Layout.query.query type=Layout.query.type)}}</span>
            {{else}}
            <span class="value">{{i18n "org_filter.search.generic" query=Layout.query.query}}</span>
            {{/if}}
            <a href="/">&times;</a>
        </li>
        {{/is}}
    </ul>
</div>
{{/if}}
