mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 23:06:21 +00:00
mostrar la ayuda si el sitio tiene una
This commit is contained in:
parent
a2fa16eb43
commit
745b9a0fea
3 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
%nav{'aria-label': 'breadcrumb', role: 'navigation'}
|
%nav{'aria-label': 'breadcrumb', role: 'navigation'}
|
||||||
%ol.breadcrumb
|
%ol.breadcrumb
|
||||||
%li.breadcrumb-item= render 'login/logout'
|
%li.breadcrumb-item= render 'login/logout'
|
||||||
|
- if help = @site.try(:config).try(:dig, 'help')
|
||||||
|
%li.breadcrumb-item= link_to t('.help'), help, target: '_blank'
|
||||||
- crumbs.compact.each do |crumb|
|
- crumbs.compact.each do |crumb|
|
||||||
- if current_user.is_a? Invitadx
|
- if current_user.is_a? Invitadx
|
||||||
- if /\/sites/ =~ crumb
|
- if /\/sites/ =~ crumb
|
||||||
|
|
|
@ -17,6 +17,9 @@ en:
|
||||||
reorder: "We're sorry, we couldn't reorder the articles"
|
reorder: "We're sorry, we couldn't reorder the articles"
|
||||||
disordered: "The posts are disordered, this will prevent you from reordering them!"
|
disordered: "The posts are disordered, this will prevent you from reordering them!"
|
||||||
disordered_button: 'Reorder!'
|
disordered_button: 'Reorder!'
|
||||||
|
layouts:
|
||||||
|
breadcrumb:
|
||||||
|
help: Help
|
||||||
invitadx_mailer:
|
invitadx_mailer:
|
||||||
confirmation_required:
|
confirmation_required:
|
||||||
subject: "Confirm your e-mail address"
|
subject: "Confirm your e-mail address"
|
||||||
|
|
|
@ -17,6 +17,9 @@ es:
|
||||||
reorder: "Lo sentimos, no pudimos reordenar los artículos."
|
reorder: "Lo sentimos, no pudimos reordenar los artículos."
|
||||||
disordered: 'Los artículos no tienen número de orden, esto impedirá que los puedas reordenar'
|
disordered: 'Los artículos no tienen número de orden, esto impedirá que los puedas reordenar'
|
||||||
disordered_button: '¡Reordenar!'
|
disordered_button: '¡Reordenar!'
|
||||||
|
layouts:
|
||||||
|
breadcrumb:
|
||||||
|
help: Ayuda
|
||||||
invitadx_mailer:
|
invitadx_mailer:
|
||||||
confirmation_required:
|
confirmation_required:
|
||||||
subject: "Confirma tu dirección de correo"
|
subject: "Confirma tu dirección de correo"
|
||||||
|
|
Loading…
Reference in a new issue