Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Queue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
Queue
Merge requests
!372
Add a required check for exam lab percentage
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Add a required check for exam lab percentage
quickfix-lab-validation
into
development
Overview
1
Commits
1
Pipelines
0
Changes
2
Merged
Add a required check for exam lab percentage
Chris Lemaire
requested to merge
quickfix-lab-validation
into
development
Jun 25, 2020
Overview
1
Commits
1
Pipelines
0
Changes
2
Make sure to read our
contributing guide
0
0
Merge request reports
Compare
development
version 1
193b6c22
Jun 25, 2020
development (base)
and
latest version
latest version
1f34f7a9
1 commit,
Jun 25, 2020
version 1
193b6c22
1 commit,
Jun 25, 2020
2 files
+
7
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
src/main/resources/templates/lab/create.html
+
2
−
0
View file @ 1f34f7a9
Edit in single-file editor
Open in Web IDE
Show full file
@@ -330,10 +330,12 @@
@@ -330,10 +330,12 @@
$
(
'
#inputExamLab
'
).
change
(
function
()
{
$
(
'
#inputExamLab
'
).
change
(
function
()
{
if
(
$
(
'
#inputExamLab
'
).
is
(
'
:checked
'
))
{
if
(
$
(
'
#inputExamLab
'
).
is
(
'
:checked
'
))
{
$
(
'
#percentageExamLab
'
).
prop
(
'
disabled
'
,
false
)
$
(
'
#percentageExamLab
'
).
prop
(
'
disabled
'
,
false
)
.
attr
(
'
required
'
,
true
);
$
(
'
#inputTimeIntervals
'
).
prop
(
'
checked
'
,
true
);
$
(
'
#inputTimeIntervals
'
).
prop
(
'
checked
'
,
true
);
toggleTimeIntervals
();
toggleTimeIntervals
();
}
else
{
}
else
{
$
(
'
#percentageExamLab
'
).
prop
(
'
disabled
'
,
true
)
$
(
'
#percentageExamLab
'
).
prop
(
'
disabled
'
,
true
)
.
removeAttr
(
'
required
'
,
false
);
}
}
});
});
});
});
Loading