geer-builder 1.2.751 → 1.2.753
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/GLogin.vue +5 -2
- package/GReplicatedLink.vue +15 -1
- package/package.json +1 -1
package/GLogin.vue
CHANGED
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
|
|
33
33
|
<div class="g-login__fields q-mt-md" style="margin-top: 20px">
|
|
34
34
|
<q-btn class="submit-login" :disable="is_submitting" :loading="is_submitting" type="submit" color="primary full-width button-login" unelevated>Sign In</q-btn>
|
|
35
|
-
<q-btn v-if="!hide_registration" class="full-width q-mt-sm" @click="openRegistration()" color="primary" outline>Create Account</q-btn>
|
|
35
|
+
<q-btn v-if="!hide_registration && !new_create_account_form" class="full-width q-mt-sm" @click="openRegistration()" color="primary" outline>Create Account</q-btn>
|
|
36
|
+
<div style="text-align:center" v-if="new_create_account_form">No account? <a style="font-weight:bold" href="javascript:void(0)" @click="openRegistration();" >Sign Up</a></div>
|
|
37
|
+
|
|
36
38
|
</div>
|
|
37
39
|
|
|
38
40
|
<!-- <div class="social-holder">
|
|
@@ -100,7 +102,8 @@ export default
|
|
|
100
102
|
val: Boolean,
|
|
101
103
|
hide_registration: Boolean,
|
|
102
104
|
mbot:Boolean,
|
|
103
|
-
show_pass_button:Boolean
|
|
105
|
+
show_pass_button:Boolean,
|
|
106
|
+
new_create_account_form:Boolean
|
|
104
107
|
|
|
105
108
|
},
|
|
106
109
|
components: { GRegistration,GForgotPassword },
|
package/GReplicatedLink.vue
CHANGED
|
@@ -32,6 +32,7 @@ export default
|
|
|
32
32
|
public_settings:{},
|
|
33
33
|
link:'',
|
|
34
34
|
settings_link:false,
|
|
35
|
+
is_settings_link_shop:false
|
|
35
36
|
}),
|
|
36
37
|
async mounted()
|
|
37
38
|
{
|
|
@@ -42,12 +43,25 @@ export default
|
|
|
42
43
|
{
|
|
43
44
|
this.link = this.public_settings.replicated_link;
|
|
44
45
|
this.settings_link = true
|
|
45
|
-
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if(this.public_settings.hasOwnProperty('is_replicated_link_shop'))
|
|
49
|
+
{
|
|
50
|
+
if(this.public_settings.is_replicated_link_shop)
|
|
51
|
+
{
|
|
52
|
+
this.is_settings_link_shop = true;
|
|
53
|
+
}
|
|
46
54
|
}
|
|
47
55
|
|
|
48
56
|
if(this.settings_link)
|
|
49
57
|
{
|
|
50
58
|
this.replicated_link = `https://${this.link}/#/?sponsor=${this.current_slot_info.slot_code}`;
|
|
59
|
+
|
|
60
|
+
if(this.is_settings_link_shop)
|
|
61
|
+
{
|
|
62
|
+
this.replicated_link = `https://${this.link}/#/shop?sponsor=${this.current_slot_info.slot_code}`;
|
|
63
|
+
}
|
|
64
|
+
|
|
51
65
|
if(this.mbot)
|
|
52
66
|
{
|
|
53
67
|
this.replicated_link = `https://${this.link}/#/registration?sponsor=${this.current_slot_info.slot_code}`;
|