Browse Source

change registration final page

tripeur 4 years ago
parent
commit
0b796b313f
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/Inscription.vue

+ 9 - 0
src/Inscription.vue

@@ -11,8 +11,16 @@
         :uuid="uuid"
         :evtName="evtName"
         :emailList="emailList"
+        @newRegistration="status = 'Completed'"
       />
     </div>
+    <div v-if="status == 'Completed'">
+      <h2>Inscription Validée</h2>
+      <p>Votre incription à bien été validée</p>
+      <button class="btn small primary" onClick="location.href=location.href">
+        Nouvelle Inscription
+      </button>
+    </div>
   </div>
   <c-footer />
 </template>
@@ -29,6 +37,7 @@ import { StateJSON } from "@/store/State";
 import Benevole, { BenevoleJSON } from "@/models/Benevole";
 import Competence from "@/models/Competence";
 import getQuestionnaire from "./mixins/getQuestionnaire";
+import "@/assets/css/button.css";
 
 const API_URL = process.env.VUE_APP_API_URL;