diff --git a/src/addons/mod/workshop/components/phase/phase.html b/src/addons/mod/workshop/components/phase/phase.html index b51588d75..5edd54561 100644 --- a/src/addons/mod/workshop/components/phase/phase.html +++ b/src/addons/mod/workshop/components/phase/phase.html @@ -21,7 +21,7 @@
-{{ 'addon.mod_workshop.switchphase' + phase.code | translate }}
diff --git a/src/core/features/grades/services/grades-helper.ts b/src/core/features/grades/services/grades-helper.ts index f75d1185e..4a836cca5 100644 --- a/src/core/features/grades/services/grades-helper.ts +++ b/src/core/features/grades/services/grades-helper.ts @@ -43,7 +43,6 @@ import { CoreError } from '@classes/errors/error'; import { CoreCourseHelper } from '@features/course/services/course-helper'; import { CoreCourseModuleDelegate } from '@features/course/services/module-delegate'; import { CoreCourseAccess } from '@features/course/services/course-options-delegate'; -import { CorePlatform } from '@services/platform'; export const GRADES_PAGE_NAME = 'grades'; export const GRADES_PARTICIPANTS_PAGE_NAME = 'participant-grades'; @@ -105,8 +104,8 @@ export class CoreGradesHelperProvider { row.rowclass += itemNameColumn.class.indexOf('hidden') >= 0 ? ' hidden' : ''; row.rowclass += itemNameColumn.class.indexOf('dimmed_text') >= 0 ? ' dimmed_text' : ''; - if (!useLegacyLayout && !CorePlatform.isAutomated()) { - // Activity name is only included in the webservice response from the latest version when behat is not running. + if (!useLegacyLayout) { + // Remove the "title" of the row (activity name, 'Manual item', 'Aggregation', etc.). content = content.replace(/]+>.+?<\/span>/i, ''); }