UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
P
Party Bus
Launchboard
launchboard-fe
Commits
34ad1e6e
Commit
34ad1e6e
authored
May 04, 2021
by
Keith Becker
Browse files
refactor UserSelectForCourse
parent
fa67ac2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
src/components/Dialogs/DialogComponents/UserSelectForCourse.vue
...mponents/Dialogs/DialogComponents/UserSelectForCourse.vue
+16
-4
No files found.
src/components/Dialogs/DialogComponents/UserSelectForCourse.vue
View file @
34ad1e6e
...
@@ -11,15 +11,27 @@
...
@@ -11,15 +11,27 @@
v-on:input=
"updateCourseMembers"
v-on:input=
"updateCourseMembers"
v-bind:value=
"selectedMembers"
v-bind:value=
"selectedMembers"
/>
/>
<label
class=
"text-left w-100 d-block text--white available-seats-label"
v-if=
"availableSeatsInCourse === 0"
>
This course is full. You won't be able to add any students.
</label
>
<label
<label
v-if=
"isCourseSelected && !areNoAvailableSeats"
class=
"text-left w-100 d-block text--white available-seats-label"
class=
"text-left w-100 d-block text--white available-seats-label"
>
You have
v-else-if=
"selectedMembers.length === 0"
>
No users have been selected
</label
>
<label
v-else-if=
"isCourseSelected && !areNoAvailableSeats"
class=
"text-left w-100 d-block text--white available-seats-label"
>
You will have
{{
availableSeatsInCourse
}}
{{
availableSeatsInCourse
}}
available seat reservation
{{
available seat reservation
{{
availableSeatsInCourse
===
1
?
""
:
"
s
"
availableSeatsInCourse
===
1
?
""
:
"
s
"
}}
</label
}}
>
remaining after adding
{{
selectedMembers
.
length
}}
to the course
</label>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment