mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 00:26:22 +00:00
31 lines
1 KiB
Text
31 lines
1 KiB
Text
%nav.navbar
|
|
%a.navbar-brand.d-none.d-sm-block{ href: '/' }
|
|
= inline_svg_tag 'sutty.svg', class: 'black', aria: true,
|
|
title: t('svg.sutty.title'), desc: t('svg.sutty.desc')
|
|
|
|
- if crumbs
|
|
%nav{ aria: { label: t('.title') }, role: 'navigation' }
|
|
%ol.breadcrumb
|
|
%li.breadcrumb-item
|
|
= link_to edit_usuarie_registration_path,
|
|
data: { toggle: 'tooltip' },
|
|
title: t('help.usuarie.edit') do
|
|
= current_usuarie.email
|
|
|
|
- crumbs.compact.each do |crumb|
|
|
- if crumb == crumbs.last
|
|
%li.breadcrumb-item.active{ aria: { current: 'page' } }
|
|
= crumb
|
|
- else
|
|
%li.breadcrumb-item= crumb
|
|
|
|
- if current_usuarie
|
|
%ul.navbar-nav
|
|
- if @site&.tienda?
|
|
%li.nav-item
|
|
= link_to t('.tienda'), @site.tienda_url,
|
|
role: 'button', class: 'btn'
|
|
|
|
%li.nav-item
|
|
= link_to t('.logout'), destroy_usuarie_session_path,
|
|
method: :delete, role: 'button', class: 'btn'
|