<adata-toggle="tooltip"title="{{_('Sort according to book date, newest first')}}"id="new"class="btn btn-primary {% if order == "new"%}active{%endif%}{%ifstatus =="on"%}disabled{%endif%}"href="{{url_for('shelf.show_shelf', shelf_id=shelf.id, sort_param='new')}}"><spanclass="glyphicon glyphicon-book"></span><spanclass="glyphicon glyphicon-calendar"></span><spanclass="glyphicon glyphicon-sort-by-order"></span></a>
<adata-toggle="tooltip"title="{{_('Sort according to book date, oldest first')}}"id="old"class="btn btn-primary {% if order == 'old' %} active{% endif %}{% if status == 'on' %} disabled{% endif %}"href="{{url_for('shelf.show_shelf', shelf_id=shelf.id, sort_param='old')}}"><spanclass="glyphicon glyphicon-book"></span><spanclass="glyphicon glyphicon-calendar"></span><spanclass="glyphicon glyphicon-sort-by-order-alt"></span></a>
<adata-toggle="tooltip"title="{{_('Sort title in alphabetical order')}}"id="asc"class="btn btn-primary {% if order == 'abc' %} active{% endif %}{% if status == 'on' %} disabled{% endif %}"href="{{url_for('shelf.show_shelf', shelf_id=shelf.id, sort_param='abc')}}"><spanclass="glyphicon glyphicon-font"></span><spanclass="glyphicon glyphicon-sort-by-alphabet"></span></a>
<adata-toggle="tooltip"title="{{_('Sort title in reverse alphabetical order')}}"id="desc"class="btn btn-primary {% if order == 'zyx' %} active{% endif %}{% if status == 'on' %} disabled{% endif %}"href="{{url_for('shelf.show_shelf', shelf_id=shelf.id, sort_param='zyx')}}"><spanclass="glyphicon glyphicon-font"></span><spanclass="glyphicon glyphicon-sort-by-alphabet-alt"></span></a>
<adata-toggle="tooltip"title="{{_('Sort authors in alphabetical order')}}"id="auth_az"class="btn btn-primary {% if order == 'authaz' %} active{% endif %}{% if status == 'on' %} disabled{% endif %}"href="{{url_for('shelf.show_shelf', shelf_id=shelf.id, sort_param='authaz')}}"><spanclass="glyphicon glyphicon-user"></span><spanclass="glyphicon glyphicon-sort-by-alphabet"></span></a>
<adata-toggle="tooltip"title="{{_('Sort authors in reverse alphabetical order')}}"id="auth_za"class="btn btn-primary {% if order == 'authza' %} active{% endif %}{% if status == 'on' %} disabled{% endif %}"href="{{url_for('shelf.show_shelf', shelf_id=shelf.id, sort_param='authza')}}"><spanclass="glyphicon glyphicon-user"></span><spanclass="glyphicon glyphicon-sort-by-alphabet-alt"></span></a>
<adata-toggle="tooltip"title="{{_('Sort according to publishing date, newest first')}}"id="pub_new"class="btn btn-primary {% if order == 'pubnew' %} active{% endif %}{% if status == 'on' %} disabled{% endif %}"href="{{url_for('shelf.show_shelf', shelf_id=shelf.id, sort_param='pubnew')}}"><spanclass="glyphicon glyphicon-calendar"></span><spanclass="glyphicon glyphicon-sort-by-order"></span></a>
<adata-toggle="tooltip"title="{{_('Sort according to publishing date, oldest first')}}"id="pub_old"class="btn btn-primary {% if order == 'pubold' %} active{% endif %}{% if status == 'on' %} disabled{% endif %}"href="{{url_for('shelf.show_shelf', shelf_id=shelf.id, sort_param='pubold')}}"><spanclass="glyphicon glyphicon-calendar"></span><spanclass="glyphicon glyphicon-sort-by-order-alt"></span></a>
<adata-toggle="tooltip"title="{{_('Sort according to book added to shelf, newest first')}}"id="shelf_new"class="btn btn-primary {% if order == 'shelfnew' %} active{% endif %}{% if status == 'on' %} disabled{% endif %}"href="{{url_for('shelf.show_shelf', shelf_id=shelf.id, sort_param='shelfnew')}}"><spanclass="glyphicon glyphicon-list"></span><spanclass="glyphicon glyphicon-sort-by-order"></span></a>
<adata-toggle="tooltip"title="{{_('Sort according to book added to shelf, oldest first')}}"id="shelf_old"class="btn btn-primary {% if order == 'shelfold' %} active{% endif %}{% if status == 'on' %} disabled{% endif %}"href="{{url_for('shelf.show_shelf', shelf_id=shelf.id, sort_param='shelfold')}}"><spanclass="glyphicon glyphicon-list"></span><spanclass="glyphicon glyphicon-sort-by-order-alt"></span></a