5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-05 16:26:56 +00:00

Merge branch 'distributed-press' into panel.sutty.nl

This commit is contained in:
f 2023-02-08 18:56:19 -03:00
commit 220ce1cb93
3 changed files with 17 additions and 0 deletions

View file

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

View file

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

View file

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