mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-23 04:51:47 +00:00
Merge branch 'distributed-press' into panel.sutty.nl
This commit is contained in:
commit
220ce1cb93
3 changed files with 17 additions and 0 deletions
|
@ -60,6 +60,15 @@ class DeployDistributedPress < Deploy
|
|||
|
||||
def destination; end
|
||||
|
||||
# Devuelve las URLs de todos los protocolos
|
||||
def urls
|
||||
remote_info[:links].values.map do |protocol|
|
||||
[ protocol[:link], protocol[:gateway] ]
|
||||
end.flatten.compact.select do |link|
|
||||
link.include? '://'
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
# El cliente de la API
|
||||
|
|
|
@ -122,6 +122,10 @@ en:
|
|||
title: Reindex
|
||||
success: Success!
|
||||
error: Error
|
||||
deploy_distributed_press:
|
||||
title: Distributed Web
|
||||
success: Success!
|
||||
error: Error
|
||||
help: You can contact us by replying to this e-mail
|
||||
maintenance_mailer:
|
||||
notice:
|
||||
|
|
|
@ -122,6 +122,10 @@ es:
|
|||
title: Reindexación
|
||||
success: ¡Éxito!
|
||||
error: Hubo un error
|
||||
deploy_distributed_press:
|
||||
title: Web distribuida
|
||||
success: ¡Éxito!
|
||||
error: Hubo un error
|
||||
help: Por cualquier duda, responde este correo para contactarte con nosotres.
|
||||
maintenance_mailer:
|
||||
notice:
|
||||
|
|
Loading…
Reference in a new issue