Added registration type of message
This commit is contained in:
@@ -60,6 +60,15 @@
|
||||
:block="true"
|
||||
label="Register for Event"></SMButton>
|
||||
</div>
|
||||
<div
|
||||
v-if="
|
||||
event.status == 'open' &&
|
||||
expired == false &&
|
||||
event.registration_type == 'message'
|
||||
"
|
||||
class="sm-workshop-registration sm-workshop-registration-message">
|
||||
{{ event.registration_data }}
|
||||
</div>
|
||||
<div class="sm-workshop-date">
|
||||
<h4>
|
||||
<ion-icon
|
||||
@@ -380,7 +389,8 @@ handleLoad();
|
||||
}
|
||||
|
||||
.sm-workshop-registration-none,
|
||||
.sm-workshop-registration-soon {
|
||||
.sm-workshop-registration-soon,
|
||||
.sm-workshop-registration-message {
|
||||
border: 1px solid #ffeeba;
|
||||
background-color: #fff3cd;
|
||||
color: #856404;
|
||||
|
||||
@@ -84,6 +84,7 @@
|
||||
none: 'None',
|
||||
email: 'Email',
|
||||
link: 'Link',
|
||||
message: 'Message',
|
||||
}" />
|
||||
</SMColumn>
|
||||
<SMColumn>
|
||||
@@ -186,6 +187,10 @@ const registration_data = computed(() => {
|
||||
data.visible = true;
|
||||
data.title = "Registration URL";
|
||||
data.type = "url";
|
||||
} else if (form?.controls.registration_type.value === "message") {
|
||||
data.visible = true;
|
||||
data.title = "Registration message";
|
||||
data.type = "test";
|
||||
}
|
||||
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user