mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 19:16:23 +00:00
todavia no editamos alternativedomain
This commit is contained in:
parent
e666fe8de9
commit
58d7fabed4
4 changed files with 5 additions and 1 deletions
3
app/views/deploys/_deploy_alternative_domain.haml
Normal file
3
app/views/deploys/_deploy_alternative_domain.haml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
-# Formulario para alojar el sitio en un dominio alternativo
|
||||||
|
|
||||||
|
-# Todavía no mostramos nada
|
|
@ -15,3 +15,4 @@
|
||||||
= deploy.label :_destroy, t('.title')
|
= deploy.label :_destroy, t('.title')
|
||||||
= sanitize_markdown t('.help', fqdn: deploy.object.fqdn),
|
= sanitize_markdown t('.help', fqdn: deploy.object.fqdn),
|
||||||
tags: %w[p strong em a]
|
tags: %w[p strong em a]
|
||||||
|
%hr/
|
||||||
|
|
|
@ -19,3 +19,4 @@
|
||||||
fqdn: deploy.object.site.hostname,
|
fqdn: deploy.object.site.hostname,
|
||||||
file: deploy.object.file || "#{name}.zip"),
|
file: deploy.object.file || "#{name}.zip"),
|
||||||
tags: %w[p strong em a]
|
tags: %w[p strong em a]
|
||||||
|
%hr/
|
||||||
|
|
|
@ -105,7 +105,6 @@
|
||||||
= f.fields_for :deploys do |deploy|
|
= f.fields_for :deploys do |deploy|
|
||||||
= render "deploys/#{deploy.object.type.underscore}",
|
= render "deploys/#{deploy.object.type.underscore}",
|
||||||
deploy: deploy, site: site
|
deploy: deploy, site: site
|
||||||
%hr/
|
|
||||||
- else
|
- else
|
||||||
= f.fields_for :deploys do |deploy|
|
= f.fields_for :deploys do |deploy|
|
||||||
- next unless deploy.object.is_a? DeployLocal
|
- next unless deploy.object.is_a? DeployLocal
|
||||||
|
|
Loading…
Reference in a new issue