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
55a8f548
Commit
55a8f548
authored
7 years ago
by
srosse
Browse files
Options
Downloads
Plain Diff
Merge OpenOLAT 12.1 to OpenOLAT default branch with c435039fbca17f65efba6a3a1a3064a6a3582b37
parents
eed66507
de098faa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/ims/qti21/ui/statistics/QTI21PrintController.java
+4
-3
4 additions, 3 deletions
...rg/olat/ims/qti21/ui/statistics/QTI21PrintController.java
with
4 additions
and
3 deletions
src/main/java/org/olat/ims/qti21/ui/statistics/QTI21PrintController.java
+
4
−
3
View file @
55a8f548
...
...
@@ -34,7 +34,6 @@ import org.olat.core.gui.control.controller.BasicController;
import
org.olat.core.util.nodes.INode
;
import
org.olat.course.CourseFactory
;
import
org.olat.course.ICourse
;
import
org.olat.course.statistic.StatisticResourceNode
;
/**
*
...
...
@@ -59,11 +58,13 @@ public class QTI21PrintController extends BasicController {
}
private
void
initView
(
UserRequest
ureq
,
QTI21StatisticResourceResult
resourceResult
)
{
StatisticResourceNode
rootNode
=
(
StatisticResourceNode
)
resourceResult
.
getSubTreeModel
().
getRootNode
();
TreeNode
rootNode
;
if
(
resourceResult
.
getCourseEntry
()
!=
null
)
{
rootNode
=
resourceResult
.
getSubTreeModel
().
getRootNode
();
ICourse
course
=
CourseFactory
.
loadCourse
(
resourceResult
.
getCourseEntry
());
mainVC
.
contextPut
(
"courseTitle"
,
course
.
getCourseTitle
());
}
else
{
rootNode
=
resourceResult
.
getTreeModel
().
getRootNode
();
}
String
testTitle
=
resourceResult
.
getTestEntry
().
getDisplayname
();
mainVC
.
contextPut
(
"testTitle"
,
testTitle
);
...
...
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