|
@@ -36,7 +36,7 @@ |
|
|
</v-select> |
|
|
</v-select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- fork host --> |
|
|
|
|
|
|
|
|
<!-- fork host and admin name --> |
|
|
<div |
|
|
<div |
|
|
v-if=" |
|
|
v-if=" |
|
|
showForkOption && |
|
|
showForkOption && |
|
@@ -69,6 +69,25 @@ |
|
|
class="text-center description" |
|
|
class="text-center description" |
|
|
v-html="messages.field_description_network_fork_host" |
|
|
v-html="messages.field_description_network_fork_host" |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
<Input |
|
|
|
|
|
type="text" |
|
|
|
|
|
v-model="accountPlan.adminEmail" |
|
|
|
|
|
name="adminEmail" |
|
|
|
|
|
:placeholder="messages.field_label_network_admin_email" |
|
|
|
|
|
class="form-control" |
|
|
|
|
|
:class="{ 'is-invalid': submitted && errors.has('adminEmail') }" |
|
|
|
|
|
/> |
|
|
|
|
|
<div |
|
|
|
|
|
v-if="submitted && errors.has('adminEmail')" |
|
|
|
|
|
class="invalid-feedback d-block" |
|
|
|
|
|
> |
|
|
|
|
|
{{ errors.first('adminEmail') }} |
|
|
|
|
|
</div> |
|
|
|
|
|
<p |
|
|
|
|
|
class="text-center description" |
|
|
|
|
|
v-html="messages.field_description_network_admin_email" |
|
|
|
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
<!-- OR, name --> |
|
|
<!-- OR, name --> |
|
|
<div v-else class="form-group"> |
|
|
<div v-else class="form-group"> |
|
@@ -392,6 +411,7 @@ export default { |
|
|
paymentInfo: null, |
|
|
paymentInfo: null, |
|
|
}, |
|
|
}, |
|
|
forkHost: '', |
|
|
forkHost: '', |
|
|
|
|
|
adminEmail: '', |
|
|
syncAccount: true, |
|
|
syncAccount: true, |
|
|
launchLock: false, |
|
|
launchLock: false, |
|
|
sendErrors: true, |
|
|
sendErrors: true, |
|
@@ -480,7 +500,7 @@ export default { |
|
|
|
|
|
|
|
|
isComplete() { |
|
|
isComplete() { |
|
|
return ( |
|
|
return ( |
|
|
(this.accountPlan.name !== '' || this.accountPlan.forkHost !== '') && |
|
|
|
|
|
|
|
|
(this.accountPlan.name !== '' || (this.accountPlan.forkHost !== '' && this.accountPlan.adminEmail !== '')) && |
|
|
this.accountPlan.domain !== '' && |
|
|
this.accountPlan.domain !== '' && |
|
|
this.accountPlan.locale !== '' && |
|
|
this.accountPlan.locale !== '' && |
|
|
this.accountPlan.timezone !== '' && |
|
|
this.accountPlan.timezone !== '' && |
|
|