Skip to content

Commit

Permalink
Merge pull request #1003 from bcgov/feature/edx-1723
Browse files Browse the repository at this point in the history
Prohibit editing offshore school mailing addresses
  • Loading branch information
arcshiftsolutions authored Aug 29, 2023
2 parents b78fed2 + 1c45c4d commit e6880d1
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions frontend/src/components/common/forms/SchoolDetailsForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@
>
<v-col>
<v-row class="d-flex justify-start">
<v-col
cols="11"
class="d-flex justify-start"
>
<v-col class="d-flex justify-start">
<h2 id="schoolMincodeTitle">
{{ school.mincode }}
</h2>
Expand All @@ -63,13 +60,14 @@
</v-col>
<v-col
v-if="!editing"
cols="1"
class="d-flex justify-end"
cols=4
lg=5
class="text-right"
>
<PrimaryButton
v-if="showContactButton()"
id="viewContactsButton"
class="mr-2"
class="mt-1"
secondary
icon="mdi-account-multiple-outline"
text="View School Contacts"
Expand All @@ -78,7 +76,7 @@
<PrimaryButton
v-if="canEditSchoolDetails()"
id="schoolDetailsEditButton"
class="mr-0"
class="mr-0 mt-1 ml-2"
icon="mdi-pencil"
text="Edit"
:click-action="toggleEdit"
Expand Down Expand Up @@ -633,7 +631,7 @@
</v-col>
</v-row>
<v-row
v-if="!editing"
v-if="!editing || isOffshoreSchool"
no-gutters
>
<v-col>
Expand Down

0 comments on commit e6880d1

Please sign in to comment.