mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 03:26:22 +00:00
29 lines
992 B
Text
29 lines
992 B
Text
%nav.navbar
|
|
%a.navbar-brand.d-none.d-sm-block{ href: '/' }
|
|
= inline_svg '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
|
|
%li.nav-item
|
|
= link_to t('.mutual_aid'), mutual_aid_url(local_channel),
|
|
class: 'btn'
|
|
%li.nav-item
|
|
= link_to t('.logout'), destroy_usuarie_session_path,
|
|
method: :delete, role: 'button', class: 'btn'
|