<adata-toggle="tooltip"title="{{_('Sort according to publishing date, newest first')}}"id="pub_new"class="btn btn-primary disabled"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, newest first')}}"id="pub_new"class="btn btn-primary disabled"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 disabled"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 publishing date, oldest first')}}"id="pub_old"class="btn btn-primary disabled"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 disabled"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 disabled"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>