mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-22 04:21:50 +00:00
fix: los links de idiomas son parte de la nav
This commit is contained in:
parent
21af0bfc4f
commit
3879244a1a
1 changed files with 7 additions and 7 deletions
|
@ -12,8 +12,8 @@
|
|||
- else
|
||||
= link_to crumb.name, crumb.url, class: 'line-clamp-1'
|
||||
|
||||
- if @current_usuarie || current_usuarie
|
||||
%ul.navbar-nav.order-1.order-md-2
|
||||
- if @current_usuarie || current_usuarie
|
||||
- if @site&.tienda?
|
||||
%li.nav-item
|
||||
= link_to t('.tienda'), @site.tienda_url,
|
||||
|
@ -26,4 +26,4 @@
|
|||
- params.permit!
|
||||
- I18n.available_locales.each do |locale|
|
||||
- next if locale == I18n.locale
|
||||
= link_to t(locale), params.to_h.merge(change_locale_to: locale)
|
||||
%li.nav-item= link_to t(locale), params.to_h.merge(change_locale_to: locale)
|
||||
|
|
Loading…
Reference in a new issue