2019-08-02 18:58:15 +00:00
|
|
|
%nav{ 'aria-label': 'breadcrumb', role: 'navigation' }
|
2018-02-05 17:27:12 +00:00
|
|
|
%ol.breadcrumb
|
2019-07-03 23:25:23 +00:00
|
|
|
%li.breadcrumb-item
|
|
|
|
= link_to destroy_usuarie_session_path, method: :delete,
|
|
|
|
data: { toggle: 'tooltip' }, title: t('help.logout'),
|
|
|
|
role: 'button', class: 'btn-text' do
|
|
|
|
= fa_icon 'sign-out', title: t('help.logout')
|
2019-08-02 18:58:15 +00:00
|
|
|
%li.breadcrumb-item
|
|
|
|
= link_to edit_usuarie_registration_path,
|
|
|
|
data: { toggle: 'tooltip' }, title: t('help.usuarie.edit') do
|
|
|
|
= current_usuarie.email
|
|
|
|
|
2019-07-12 23:40:44 +00:00
|
|
|
- if @site.try(:persisted?) && (help = @site.try(:config).try(:dig, 'help'))
|
2019-02-16 18:33:33 +00:00
|
|
|
%li.breadcrumb-item= link_to t('.help'), help, target: '_blank'
|
2019-08-02 18:58:15 +00:00
|
|
|
|
2018-02-19 21:16:48 +00:00
|
|
|
- crumbs.compact.each do |crumb|
|
2018-02-05 17:27:12 +00:00
|
|
|
- if crumb == crumbs.last
|
2019-08-02 18:58:15 +00:00
|
|
|
%li.breadcrumb-item.active{ 'aria-current': 'page' }= crumb
|
2018-02-05 17:27:12 +00:00
|
|
|
- else
|
|
|
|
%li.breadcrumb-item= crumb
|