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
d2f3d23e
Commit
d2f3d23e
authored
May 04, 2021
by
Keith Becker
Browse files
clean up from merge
parent
3ad4dc91
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
26 deletions
+6
-26
src/components/Dialogs/AddStudentsToCourseDialog.vue
src/components/Dialogs/AddStudentsToCourseDialog.vue
+3
-4
src/components/Dialogs/SelectAddStudentsToCourseDialog.vue
src/components/Dialogs/SelectAddStudentsToCourseDialog.vue
+1
-13
src/components/Training/TrainingAttendance.vue
src/components/Training/TrainingAttendance.vue
+1
-8
src/views/TrainingDetails.vue
src/views/TrainingDetails.vue
+1
-1
No files found.
src/components/Dialogs/AddStudentsToCourseDialog.vue
View file @
d2f3d23e
...
@@ -11,14 +11,14 @@
...
@@ -11,14 +11,14 @@
availableSeatsInCourse(
availableSeatsInCourse(
this.course.capacity,
this.course.capacity,
this.courseMembers,
this.courseMembers,
this.course
R
egistrations
this.course
.r
egistrations
)
<
0
)
<
0
"
"
:available-seats-in-course=
"
:available-seats-in-course=
"
availableSeatsInCourse(
availableSeatsInCourse(
this.course.capacity,
this.course.capacity,
this.courseMembers,
this.courseMembers,
this.course
R
egistrations
this.course
.r
egistrations
)
)
"
"
:update-course-members=
"updateCourseMembers"
:update-course-members=
"updateCourseMembers"
...
@@ -99,7 +99,6 @@ export default {
...
@@ -99,7 +99,6 @@ export default {
name
:
""
,
name
:
""
,
startDate
:
""
,
startDate
:
""
,
},
},
courseRegistrations
:
[],
courseMembers
:
[],
courseMembers
:
[],
};
};
},
},
...
@@ -118,7 +117,7 @@ export default {
...
@@ -118,7 +117,7 @@ export default {
const
result
=
await
CourseService
.
getCourseRegistrationsById
(
const
result
=
await
CourseService
.
getCourseRegistrationsById
(
this
.
course
.
id
this
.
course
.
id
);
);
this
.
course
R
egistrations
=
result
.
registrations
;
this
.
course
.
r
egistrations
=
result
.
registrations
;
},
},
};
};
</
script
>
</
script
>
src/components/Dialogs/SelectAddStudentsToCourseDialog.vue
View file @
d2f3d23e
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
hint=
"* Required"
hint=
"* Required"
:persistent-hint=
"true"
:persistent-hint=
"true"
></v-text-field>
></v-text-field>
<div
id=
"select-add-student-dialog-text-divider
"
></div>
<div
class=
"mt-5
"
></div>
<UserSelectForCourse
<UserSelectForCourse
:are-no-available-seats=
"
:are-no-available-seats=
"
availableSeatsInCourse(
availableSeatsInCourse(
...
@@ -156,15 +156,3 @@ export default {
...
@@ -156,15 +156,3 @@ export default {
},
},
};
};
</
script
>
</
script
>
<
style
scoped
>
.course-select-dialog-user-select
{
margin-top
:
40px
;
}
#select-add-student-dialog-text
{
height
:
400px
!important
;
}
#select-add-student-dialog-text-divider
{
height
:
40px
!important
;
}
</
style
>
src/components/Training/TrainingAttendance.vue
View file @
d2f3d23e
...
@@ -118,17 +118,10 @@
...
@@ -118,17 +118,10 @@
Email Selected
Email Selected
</v-btn>
</v-btn>
</div>
</div>
<AddStudentsToCourseDialog
:course-id=
"currentCourseId"
:show-dialog=
"state.isAddingStudent"
v-on:close-dialog=
"closeAddStudentDialog"
v-on:update-students=
"fetchDebounced"
/>
</v-container>
</v-container>
</template>
</template>
<
script
>
<
script
>
import
AddStudentsToCourseDialog
from
"
@/components/Dialogs/AddStudentsToCourseDialog
"
;
import
TrainingService
from
"
@/api/services/training
"
;
import
TrainingService
from
"
@/api/services/training
"
;
import
{
debounceTimeout
}
from
"
@/config/config
"
;
import
{
debounceTimeout
}
from
"
@/config/config
"
;
import
inputRules
from
"
@/utils/inputRules
"
;
import
inputRules
from
"
@/utils/inputRules
"
;
...
@@ -146,7 +139,7 @@ import { minimumWait } from "@/utils/timing";
...
@@ -146,7 +139,7 @@ import { minimumWait } from "@/utils/timing";
const
minCheckBoxWaitTime
=
500
;
// ms
const
minCheckBoxWaitTime
=
500
;
// ms
export
default
{
export
default
{
name
:
"
TrainingAttendance
"
,
name
:
"
TrainingAttendance
"
,
components
:
{
AddStudentsToCourseDialog
},
components
:
{},
props
:
{
props
:
{
trainingCourse
:
{
trainingCourse
:
{
type
:
Object
,
type
:
Object
,
...
...
src/views/TrainingDetails.vue
View file @
d2f3d23e
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</v-btn>
</v-btn>
<AddStudentsToCourseDialog
<AddStudentsToCourseDialog
:show-dialog=
"state.isAddingStudent"
:show-dialog=
"state.isAddingStudent"
:course-id=
"$route.params.trainingId"
:course-id=
"
Number.parseInt(
$route.params.trainingId
)
"
v-on:close-dialog=
"closeAddStudentDialog"
v-on:close-dialog=
"closeAddStudentDialog"
v-on:update-students=
"fetchDebounced"
v-on:update-students=
"fetchDebounced"
/>
/>
...
...
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