Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iena-course-format
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
iena
iena-course-format
Commits
31fd89dc
Commit
31fd89dc
authored
6 years ago
by
Thomas Fradet
Browse files
Options
Downloads
Patches
Plain Diff
bug divers
parent
d7e0f7dd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+8
-0
8 additions, 0 deletions
CHANGELOG.md
renderer.php
+4
-4
4 additions, 4 deletions
renderer.php
with
12 additions
and
4 deletions
CHANGELOG.md
+
8
−
0
View file @
31fd89dc
...
...
@@ -235,6 +235,14 @@ Ajout d'un else à la condition pour que $date soit toujours instancié.
[x] Solved.
#### 18
Notice sur renderer.php $course->sectionposition la propriété n'existe pas.
Commentaire du code qui semble n'injecter qu'un span vide inutile avec une classe below qui n'existe pas dans le format de base Topic.
[x] Solved.
### Page principale du cours sans achèvement activé dans le cours
Si l'achèvement d'activité n'est pas activé dans le cours.
...
...
This diff is collapsed.
Click to expand it.
renderer.php
+
4
−
4
View file @
31fd89dc
...
...
@@ -855,10 +855,10 @@ public function print_iena_section_pages($course)
}
}
//At this stage nothing is yet displayed except the icon: Your progress
if
(
$course
->
sectionposition
==
1
and
isset
(
$htmlsection0
))
{
if
(
$PAGE
->
user_is_editing
())
echo
html_writer
::
tag
(
'span'
,
$htmlsection0
,
[
'class'
=>
'below'
]);
}
//
if ($course->sectionposition == 1 and isset($htmlsection0)) {
//
if ($PAGE->user_is_editing())
//
echo html_writer::tag('span', $htmlsection0, ['class' => 'below']);
//
}
//Add the + and - at the end of the page to see which part of the code to really keep
if
(
$PAGE
->
user_is_editing
()
and
has_capability
(
'moodle/course:update'
,
$context
))
{
...
...
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