From 08371d580f30524ec4f9f62c96be3e1337300e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 10 Sep 2018 09:47:56 +0200 Subject: [PATCH 1/2] MOBILE-2567 grades: Fix rowspan problem --- .../components/course/core-grades-course.html | 22 ++++++++++--------- src/core/grades/providers/helper.ts | 2 -- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/core/grades/components/course/core-grades-course.html b/src/core/grades/components/course/core-grades-course.html index fcfe59d9b..637e22a35 100644 --- a/src/core/grades/components/course/core-grades-course.html +++ b/src/core/grades/components/course/core-grades-course.html @@ -10,23 +10,25 @@ - - - - - + + + + diff --git a/src/core/grades/providers/helper.ts b/src/core/grades/providers/helper.ts index dd176b35e..7f2e5f4be 100644 --- a/src/core/grades/providers/helper.ts +++ b/src/core/grades/providers/helper.ts @@ -156,8 +156,6 @@ export class CoreGradesHelperProvider { }; formatted.rows = table.tabledata.map((row: any) => { return this.formatGradeRowForTable(row); - }).filter((row: any) => { - return typeof row.gradeitem !== 'undefined'; }); // Get a row with some info. From 799f2b7478f593b45e6b3abb931ed75f50b380bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 10 Sep 2018 10:25:55 +0200 Subject: [PATCH 2/2] MOBILE-2567 rtl: Fix ion tabs slide next/prev --- src/components/tabs/tabs.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/components/tabs/tabs.scss b/src/components/tabs/tabs.scss index b39c0f89e..e16a1cbd4 100644 --- a/src/components/tabs/tabs.scss +++ b/src/components/tabs/tabs.scss @@ -48,6 +48,18 @@ ion-app.app-root .core-tabs-bar { } } + + @include rtl() { + .swiper-container-horizontal { + transform: scaleX(-1); + .swiper-wrapper { + flex-direction: row-reverse; + ion-slide { + transform: scaleX(-1); + } + } + } + } } ion-app.app-root.md .core-tabs-bar a.tab-slide {
+ {{ 'core.grades.' + column.name | translate }}
- - - - - + + + + + + +