5
0
Fork 0
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:
f 2019-02-16 15:33:33 -03:00
parent a2fa16eb43
commit 745b9a0fea
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7
3 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"