-
-
-
-
@@ -18,7 +18,7 @@
-
+
-
+
-
+
{{ 'addon.mod_forum.reply' | translate }}
@@ -130,8 +130,8 @@
[attr.aria-controls]="'addon-forum-reply-edit-form-advanced-' + uniqueId"
[attr.aria-label]="(advanced ? 'core.hideadvanced' : 'core.showadvanced') | translate"
>
-
-
+
+
{{ 'addon.mod_forum.advanced' | translate }}
diff --git a/src/addons/mod/forum/pages/discussion/discussion.html b/src/addons/mod/forum/pages/discussion/discussion.html
index 426832a08..b76be7a5a 100644
--- a/src/addons/mod/forum/pages/discussion/discussion.html
+++ b/src/addons/mod/forum/pages/discussion/discussion.html
@@ -23,39 +23,39 @@
(action)="doRefresh(null, $event, true)">
@@ -84,7 +84,7 @@
-
+
{{ 'addon.mod_forum.discussionlocked' | translate }}
diff --git a/src/addons/mod/forum/pages/new-discussion/new-discussion.html b/src/addons/mod/forum/pages/new-discussion/new-discussion.html
index 7120b5455..c37f3edef 100644
--- a/src/addons/mod/forum/pages/new-discussion/new-discussion.html
+++ b/src/addons/mod/forum/pages/new-discussion/new-discussion.html
@@ -41,8 +41,8 @@
role="heading"
aria-controls="addon-mod-forum-new-discussion-advanced"
>
-
-
+
+
{{ 'addon.mod_forum.advanced' | translate }}
diff --git a/src/core/features/block/classes/base-block-handler.ts b/src/core/features/block/classes/base-block-handler.ts
index 89c0fef81..161e7e319 100644
--- a/src/core/features/block/classes/base-block-handler.ts
+++ b/src/core/features/block/classes/base-block-handler.ts
@@ -13,7 +13,6 @@
// limitations under the License.
import { CoreCourseBlock } from '@features/course/services/course';
-import { CoreBlockPreRenderedComponent } from '../components/pre-rendered-block/pre-rendered-block';
import { CoreBlockHandler, CoreBlockHandlerData } from '../services/block-delegate';
/**
@@ -48,14 +47,9 @@ export class CoreBlockBaseHandler implements CoreBlockHandler {
block: CoreCourseBlock, // eslint-disable-line @typescript-eslint/no-unused-vars
contextLevel: string, // eslint-disable-line @typescript-eslint/no-unused-vars
instanceId: number, // eslint-disable-line @typescript-eslint/no-unused-vars
- ): CoreBlockHandlerData | Promise
{
-
+ ): undefined | CoreBlockHandlerData | Promise {
// To be overridden.
- return {
- title: '',
- class: '',
- component: CoreBlockPreRenderedComponent,
- };
+ return undefined;
}
}
diff --git a/src/core/features/block/services/block-delegate.ts b/src/core/features/block/services/block-delegate.ts
index 481fdfaa2..593b4edbb 100644
--- a/src/core/features/block/services/block-delegate.ts
+++ b/src/core/features/block/services/block-delegate.ts
@@ -44,7 +44,7 @@ export interface CoreBlockHandler extends CoreDelegateHandler {
block: CoreCourseBlock,
contextLevel: string,
instanceId: number,
- ): CoreBlockHandlerData | Promise;
+ ): undefined | CoreBlockHandlerData | Promise;
}
/**
diff --git a/src/core/features/course/pages/contents/contents.html b/src/core/features/course/pages/contents/contents.html
index 288737a8b..13ad9ebba 100644
--- a/src/core/features/course/pages/contents/contents.html
+++ b/src/core/features/course/pages/contents/contents.html
@@ -8,7 +8,7 @@
[iconAction]="prefetchCourseData.icon" [closeOnClick]="false">
+ iconAction="fas-graduation-cap">
diff --git a/src/core/features/tag/pages/index/index.html b/src/core/features/tag/pages/index/index.html
index afa93e4a8..8e9376122 100644
--- a/src/core/features/tag/pages/index/index.html
+++ b/src/core/features/tag/pages/index/index.html
@@ -30,7 +30,7 @@
-
diff --git a/src/core/features/user/pages/about/about.html b/src/core/features/user/pages/about/about.html
index 41072034b..2e21f945a 100644
--- a/src/core/features/user/pages/about/about.html
+++ b/src/core/features/user/pages/about/about.html
@@ -90,7 +90,7 @@
-
diff --git a/src/core/features/user/pages/profile/profile.html b/src/core/features/user/pages/profile/profile.html
index 85eaaa7a3..2bedd26e5 100644
--- a/src/core/features/user/pages/profile/profile.html
+++ b/src/core/features/user/pages/profile/profile.html
@@ -22,7 +22,7 @@
fill="clear"
color="dark"
>
-
+
@@ -55,7 +55,7 @@
-
+
{{ 'core.user.details' | translate }}