Skip to content

Commit

Permalink
Merge branch 'dev' into categories
Browse files Browse the repository at this point in the history
  • Loading branch information
my-curiosity committed Jan 5, 2024
2 parents 3979461 + 8a9be06 commit 1fab619
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 23 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1']
moodle-branch: ['MOODLE_400_STABLE', 'MOODLE_401_STABLE', 'MOODLE_402_STABLE']
database: [pgsql, mariadb]
php: [ '8.0', '8.1', '8.2' ]
moodle-branch: [ 'MOODLE_401_STABLE', 'MOODLE_402_STABLE', 'MOODLE_403_STABLE' ]
database: [ 'mariadb', 'pgsql' ]
exclude:
- php: '8.1'
moodle-branch: 'MOODLE_400_STABLE'
- php: '7.4'
moodle-branch: 'MOODLE_402_STABLE'
- php: '8.2'
moodle-branch: 'MOODLE_401_STABLE'

steps:
- name: Check out repository code
Expand Down
4 changes: 2 additions & 2 deletions block_overviewmyrolesincourses.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ public function get_courses_enroled_with_roleid(
// Add additional information like url to the course, ...
$url = new moodle_url('/course/view.php', ['id' => $enroledcourse->id]);
$urldelete = new moodle_url('/course/delete.php', ['id' => $enroledcourse->id]);
$enroledcoursewithrole->url = $url;
$enroledcoursewithrole->urldelete = $urldelete;
$enroledcoursewithrole->url = $url.__toString();
$enroledcoursewithrole->urldelete = $urldelete.__toString();
$enroledcoursewithrole->dimmed = $dimmed;
$enroledcoursewithrole->duration = $this->create_duration($enroledcourse)->duration;
$enroledcoursewithrole->durationstatus = $this->create_duration($enroledcourse)->durationstatus;
Expand Down
11 changes: 3 additions & 8 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
padding-left: 5px;
}
.overviewmyrolesincourses-foldonstart {
display: none;
}
display: none;
}

.row.duration {
margin-left: 0px;
margin-left: 0;
}
.row.duration .col-8 {
padding-left: 0;
Expand All @@ -64,11 +64,6 @@
padding-right: 10px;
}






.overviewmyrolesincourses-tools {
text-align: right;
}
Expand Down
12 changes: 6 additions & 6 deletions templates/overviewmyrolesincourses.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"coursefullname": "Mathe fractions xxx",
"visible": "1",
"favourite": true,
"url": {},
"urldelete": {},
"url": "",
"urldelete": "",
"dimmed": "",
"duration": "19\/08\/30 - 19\/08\/40",
"cssselectordurationstatusofcourse": "overviewmyrolesincourses-coursefuture",
Expand All @@ -47,8 +47,8 @@
"coursefullname": "Activities (plugins)",
"visible": "1",
"favourite": true,
"url": {},
"urldelete": {},
"url": "",
"urldelete": "",
"dimmed": "",
"duration": "23\/07\/21 - 24\/07\/23",
"cssselectordurationstatusofcourse": "overviewmyrolesincourses-courseinprogress",
Expand All @@ -63,8 +63,8 @@
"coursefullname": "Testing filters",
"visible": "0",
"favourite": true,
"url": {},
"urldelete": {},
"url": "",
"urldelete": "",
"dimmed": "dimmed",
"duration": "23\/07\/21 - 24\/07\/22",
"cssselectordurationstatusofcourse": "overviewmyrolesincourses-coursefinished",
Expand Down

0 comments on commit 1fab619

Please sign in to comment.