Selaa lähdekoodia

Rename sync password to sync account

pull/46/head
Kristijan Mitrovic 4 vuotta sitten
vanhempi
commit
d542bb4826
3 muutettua tiedostoa jossa 14 lisäystä ja 12 poistoa
  1. +1
    -1
      src/_pages/main/Layout.vue
  2. +5
    -5
      src/account/NewNetworkPage.vue
  3. +8
    -6
      src/account/profile/ProfilePage.vue

+ 1
- 1
src/_pages/main/Layout.vue Näytä tiedosto

@@ -26,7 +26,7 @@ export default {
},
sshKey: '',
forkHost: '',
syncPassword: true,
syncAccount: true,
launchLock: false,
sendErrors: true,
sendMetrics: true,


+ 5
- 5
src/account/NewNetworkPage.vue Näytä tiedosto

@@ -277,10 +277,10 @@

<!-- sync password -->
<!-- <div class="form-group">-->
<!-- <label for="syncPassword">{{messages.field_label_sync_password}}</label>-->
<!-- <input type="checkbox" id="syncPassword" v-model="accountPlan.syncPassword">-->
<!-- <div v-if="submitted && errors.has('syncPassword')" class="invalid-feedback d-block">{{ errors.first('syncPassword') }}</div>-->
<!-- <p>{{messages.field_label_sync_password_description}}</p>-->
<!-- <label for="syncAccount">{{messages.field_label_sync_account}}</label>-->
<!-- <input type="checkbox" id="syncAccount" v-model="accountPlan.syncAccount">-->
<!-- <div v-if="submitted && errors.has('syncAccount')" class="invalid-feedback d-block">{{ errors.first('syncAccount') }}</div>-->
<!-- <p>{{messages.field_label_sync_account_description}}</p>-->
<!-- </div>-->
<!-- launch lock -->
<!-- <div class="form-group" v-if="networkType !== 'fork'">-->
@@ -393,7 +393,7 @@
},
sshKey: '',
forkHost: '',
syncPassword: true,
syncAccount: true,
launchLock: false,
sendErrors: true,
sendMetrics: true


+ 8
- 6
src/account/profile/ProfilePage.vue Näytä tiedosto

@@ -79,10 +79,12 @@

<!-- sync password -->
<div v-if="admin === true && currentUser.uuid === subject.uuid" class="form-group">
<label for="syncPassword">{{messages.field_label_sync_password}}</label>
<input type="checkbox" id="syncPassword" v-model="subject.syncPassword">
<div v-if="submitted && errors.has('syncPassword')" class="invalid-feedback d-block">{{ errors.first('syncPassword') }}</div>
<p>{{messages.field_label_sync_password_description}}</p>
<label for="syncAccount">{{ messages.field_label_sync_account }}</label>
<input type="checkbox" id="syncAccount" v-model="subject.syncAccount">
<div v-if="submitted && errors.has('syncAccount')" class="invalid-feedback d-block">
{{ errors.first('syncAccount') }}
</div>
<p>{{ messages.field_label_sync_account_description }}</p>
</div>

<div>
@@ -119,7 +121,7 @@
locale: null,
admin: null,
suspended: null,
syncPassword: null,
syncAccount: null,
showBlockStats: null,
autoUpdatePolicy: {
jarUpdates: true,
@@ -204,7 +206,7 @@
locale: this.subject.locale,
admin: this.subject.admin,
suspended: this.subject.suspended,
syncPassword: this.subject.syncPassword,
syncAccount: this.subject.syncAccount,
autoUpdatePolicy: this.subject.autoUpdatePolicy
};
this.submitted = true;


Ladataan…
Peruuta
Tallenna