Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
51246e61
Commit
51246e61
authored
7 years ago
by
srosse
Browse files
Options
Downloads
Plain Diff
Merge OpenOLAT 12.1 to OpenOLAT default branch with 9bcae0b6f6b9cec17ef75b66d43a2c5b69e6d02d
parents
6274a3e0
81bb7a4c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/course/nodes/gta/ui/GTARevisionAndCorrectionEditController.java
+4
-0
4 additions, 0 deletions
.../nodes/gta/ui/GTARevisionAndCorrectionEditController.java
with
4 additions
and
0 deletions
src/main/java/org/olat/course/nodes/gta/ui/GTARevisionAndCorrectionEditController.java
+
4
−
0
View file @
51246e61
...
@@ -62,6 +62,10 @@ public class GTARevisionAndCorrectionEditController extends FormBasicController
...
@@ -62,6 +62,10 @@ public class GTARevisionAndCorrectionEditController extends FormBasicController
int
maxDocs
=
config
.
getIntegerSafe
(
GTACourseNode
.
GTASK_MAX_REVISED_DOCS
,
-
1
);
int
maxDocs
=
config
.
getIntegerSafe
(
GTACourseNode
.
GTASK_MAX_REVISED_DOCS
,
-
1
);
String
maxVal
=
""
;
String
maxVal
=
""
;
if
(
maxDocs
==
-
1
)
{
// !this only works because there is not another configuration in the controller
maxDocs
=
config
.
getIntegerSafe
(
GTACourseNode
.
GTASK_MAX_SUBMITTED_DOCS
,
-
1
);
}
if
(
maxDocs
>
0
)
{
if
(
maxDocs
>
0
)
{
maxVal
=
Integer
.
toString
(
maxDocs
);
maxVal
=
Integer
.
toString
(
maxDocs
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment