File tree Expand file tree Collapse file tree
2wr-app/src/components/prepare/family-plans Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <v-text-field
55 v-model =" theRoute.name"
66 :rules =" rules.name"
7- label =" Route Name"
7+ label =" Reunification Plan Name"
8+ disabled =true
89 outlined
910 />
1011 <photos-editor title =" Photos" :route =" theRoute" />
Original file line number Diff line number Diff line change 1515 <v-icon >mdi-plus</v-icon >
1616 </v-btn >
1717 </v-fab-transition >
18- <InfoBar v-if =" distant" :title =" `${plan.title} - Distant Contact`" ></InfoBar >
18+ <InfoBar v-if =" distant" :title =" `${plan.title} - Out of Area Contact`" ></InfoBar >
1919 <InfoBar v-if =" !distant" :title =" `${plan.title} - Emergency Contacts`" ></InfoBar >
2020 <v-card class =" pa-2" v-if =" contacts.length == 0" ><em >Press <strong >'+'</strong > to add a new contact.</em ></v-card >
2121 <v-card v-for =" contact in contacts" :key =" contact.fullName" >
Original file line number Diff line number Diff line change 7979 @click =" ensureNamed('Out of Area Contact', 'distantcontacts')"
8080 >
8181 <v-flex class =" d-flex justify-space-between px-2 py-2" >
82- <div >Out of Area Contacts </div >
82+ <div >Out of Area Contact </div >
8383 <div >
8484 <v-icon class =" mr-2" >mdi-chevron-right</v-icon >
8585 </div >
9292 @click =" ensureNamed('Routes and Locations', 'routes')"
9393 >
9494 <v-flex class =" d-flex justify-space-between px-2 py-2" >
95- <div >Routes and Locations </div >
95+ <div >Reunification </div >
9696 <div >
9797 <v-icon class =" mr-2" >mdi-chevron-right</v-icon >
9898 </div >
Original file line number Diff line number Diff line change 22 <v-container class =" py-0" v-if =" plan" >
33 <v-fab-transition >
44 <v-btn
5+ v-if =" routes.length < 2"
56 color =" green"
67 dark
78 absolute
1415 <v-icon >mdi-plus</v-icon >
1516 </v-btn >
1617 </v-fab-transition >
17- <InfoBar :title =" `${ plan.title } - Routes and Locations `" ></InfoBar >
18+ <InfoBar :title =" `${ plan.title } - Reunification `" ></InfoBar >
1819 <v-app-bar app flat dense fixed color =" background" >
1920 <v-icon class =" mr-2" v-on:click =" goBack()" >mdi-arrow-left</v-icon >
20- <v-toolbar-title >{{ plan.title }} - Routes and Locations </v-toolbar-title >
21+ <v-toolbar-title >{{ plan.title }} - Reunification </v-toolbar-title >
2122 </v-app-bar >
23+ <v-card class =" pa-2" >
24+ An emergency has happened at your home. Where do you plan to meet others and how will you get there?
25+ Add up to two reunification plans containing important information, including addresses and photos as needed.
26+ </v-card >
2227 <v-card class =" pa-2" v-if =" routes.length == 0" >
23- <em >Press <strong >'+'</strong > to add a new route .</em >
28+ <em >Press <strong >'+'</strong > to add a new reunification plan .</em >
2429 </v-card >
2530 <v-card class =" pa-2" v-for =" route in routes" :key =" route.id" >
2631 <IconTextBlock icon =" mdi-pencil" :allowSelected =" true" @selected =" launchEditor(route)" >
@@ -86,7 +91,9 @@ export default defineComponent({
8691 }
8792
8893 function addNew () {
89- launchEditor (new RouteLocation ());
94+ let routeLocation = new RouteLocation ();
95+ routeLocation .name = " Reunification Plan " + String .fromCharCode (" A" .charCodeAt (0 ) + routes .value .length );
96+ launchEditor (routeLocation);
9097 }
9198
9299 return {
You can’t perform that action at this time.
0 commit comments