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'}
|
||||
%ol.breadcrumb
|
||||
%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|
|
||||
- if current_user.is_a? Invitadx
|
||||
- if /\/sites/ =~ crumb
|
||||
|
|
|
@ -17,6 +17,9 @@ en:
|
|||
reorder: "We're sorry, we couldn't reorder the articles"
|
||||
disordered: "The posts are disordered, this will prevent you from reordering them!"
|
||||
disordered_button: 'Reorder!'
|
||||
layouts:
|
||||
breadcrumb:
|
||||
help: Help
|
||||
invitadx_mailer:
|
||||
confirmation_required:
|
||||
subject: "Confirm your e-mail address"
|
||||
|
|
|
@ -17,6 +17,9 @@ es:
|
|||
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_button: '¡Reordenar!'
|
||||
layouts:
|
||||
breadcrumb:
|
||||
help: Ayuda
|
||||
invitadx_mailer:
|
||||
confirmation_required:
|
||||
subject: "Confirma tu dirección de correo"
|
||||
|
|
Loading…
Reference in a new issue