2018-10-17 15:47:43 +02:00
|
|
|
- if action_name == 'index' && controller_name != 'tags'
|
|
|
|
.digest
|
|
|
|
- if params[:tag].present?
|
2019-04-21 18:09:31 +02:00
|
|
|
= render partial: '/tags/context', locals: { tags: params[:tag] }
|
2019-08-04 22:29:54 +02:00
|
|
|
- else
|
|
|
|
= render '/orgas/search'
|
2018-10-17 15:47:43 +02:00
|
|
|
|
2019-08-04 22:29:54 +02:00
|
|
|
- if params[:tag].blank? && (params[:near].blank? || params[:near][:location].blank?)
|
|
|
|
= link_to page_path('filter'), class: 'filter' do
|
|
|
|
= t 'title', scope: 'pages.filter'
|
2019-05-07 20:00:28 +02:00
|
|
|
|
|
|
|
= link_to page_path('filter'), title: t('title', scope: 'pages.filter') do
|
|
|
|
%em.fa.fa-angle-double-right
|