diff --git a/src/addon/mod/feedback/components/index/addon-mod-feedback-index.html b/src/addon/mod/feedback/components/index/addon-mod-feedback-index.html index 152bc23c8..ac5eacd51 100644 --- a/src/addon/mod/feedback/components/index/addon-mod-feedback-index.html +++ b/src/addon/mod/feedback/components/index/addon-mod-feedback-index.html @@ -43,7 +43,7 @@ - + {{ 'core.groupsseparate' | translate }} {{ 'core.groupsvisible' | translate }} @@ -51,14 +51,14 @@ {{groupOpt.name}} - +

{{ 'addon.mod_feedback.completed_feedbacks' | translate }}

{{feedback.completedCount}}

{{ 'addon.mod_feedback.show_nonrespondents' | translate }}

- +

{{ 'addon.mod_feedback.questions' | translate }}

{{feedback.itemsCount}}
diff --git a/src/addon/mod/feedback/components/index/index.ts b/src/addon/mod/feedback/components/index/index.ts index b24f1e5bb..14fbf05c3 100644 --- a/src/addon/mod/feedback/components/index/index.ts +++ b/src/addon/mod/feedback/components/index/index.ts @@ -212,7 +212,8 @@ export class AddonModFeedbackIndexComponent extends CoreCourseModuleMainActivity this.overview.timeclose = parseInt(this.feedback.timeclose) * 1000 || 0; this.overview.closeTimeReadable = this.overview.timeclose ? moment(this.overview.timeclose).format('LLL') : ''; - + } + if (accessData.canviewanalysis) { // Get groups (only for teachers). promises.push(this.fetchGroupInfo(this.feedback.coursemodule)); }