UNPKG

apostrophe

Version:

The Apostrophe Content Management System.

8 lines (7 loc) 474 B
{%- if data.options.manageViews and data.options.manageViews.length > 1 -%} <div class="apos-choose-manage-views" data-manage-views> {%- for view in data.options.manageViews -%} <a href="#" data-apos-choose-manage-view="{{ view }}"{% if view == data.options.currentView %} class="apos-active"{% endif %}><i class="fa fa-th-{% if view == 'grid' %}large{% elif view == 'list' %}list{% else %}{{view}}{% endif %}"></i></a> {%- endfor -%} </div> {%- endif -%}