diff --git a/src/addon/competency/competency.module.ts b/src/addon/competency/competency.module.ts
new file mode 100644
index 000000000..a2a7b5dac
--- /dev/null
+++ b/src/addon/competency/competency.module.ts
@@ -0,0 +1,68 @@
+// (C) Copyright 2015 Martin Dougiamas
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import { NgModule } from '@angular/core';
+import { AddonCompetencyProvider } from './providers/competency';
+import { AddonCompetencyHelperProvider } from './providers/helper';
+import { AddonCompetencyCourseOptionHandler } from './providers/course-option-handler';
+import { AddonCompetencyMainMenuHandler } from './providers/mainmenu-handler';
+import { AddonCompetencyUserHandler } from './providers/user-handler';
+import { AddonCompetencyComponentsModule } from './components/components.module';
+import { CoreCourseProvider } from '../../core/course/providers/course';
+import { CoreCourseOptionsDelegate } from '../../core/course/providers/options-delegate';
+import { CoreMainMenuDelegate } from '../../core/mainmenu/providers/delegate';
+import { CoreUserDelegate } from '../../core/user/providers/user-delegate';
+import { CoreUserProvider } from '../../core/user/providers/user';
+import { CoreEventsProvider } from '../../providers/events';
+import { CoreSitesProvider } from '../../providers/sites';
+import { CoreCoursesProvider } from '../../core/courses/providers/courses';
+
+@NgModule({
+ declarations: [
+ ],
+ imports: [
+ AddonCompetencyComponentsModule
+ ],
+ providers: [
+ AddonCompetencyProvider,
+ AddonCompetencyHelperProvider,
+ AddonCompetencyCourseOptionHandler,
+ AddonCompetencyMainMenuHandler,
+ AddonCompetencyUserHandler
+ ]
+})
+export class AddonCompetencyModule {
+ constructor(mainMenuDelegate: CoreMainMenuDelegate, mainMenuHandler: AddonCompetencyMainMenuHandler,
+ courseOptionsDelegate: CoreCourseOptionsDelegate, courseOptionHandler: AddonCompetencyCourseOptionHandler,
+ userDelegate: CoreUserDelegate, userHandler: AddonCompetencyUserHandler,
+ eventsProvider: CoreEventsProvider, sitesProvider: CoreSitesProvider) {
+
+ mainMenuDelegate.registerHandler(mainMenuHandler);
+ courseOptionsDelegate.registerHandler(courseOptionHandler);
+ userDelegate.registerHandler(userHandler);
+
+ eventsProvider.on(CoreEventsProvider.LOGOUT, () => {
+ courseOptionHandler.clearCoursesNavCache();
+ userHandler.clearUsersNavCache();
+ }, sitesProvider.getCurrentSiteId());
+
+ eventsProvider.on(CoreCoursesProvider.EVENT_MY_COURSES_REFRESHED, () => {
+ courseOptionHandler.clearCoursesNavCache();
+ }, sitesProvider.getCurrentSiteId());
+
+ eventsProvider.on(CoreUserProvider.PROFILE_REFRESHED, () => {
+ userHandler.clearUsersNavCache();
+ }, sitesProvider.getCurrentSiteId());
+ }
+}
diff --git a/src/addon/competency/components/components.module.ts b/src/addon/competency/components/components.module.ts
new file mode 100644
index 000000000..651b2a9aa
--- /dev/null
+++ b/src/addon/competency/components/components.module.ts
@@ -0,0 +1,45 @@
+// (C) Copyright 2015 Martin Dougiamas
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+import { IonicModule } from 'ionic-angular';
+import { TranslateModule } from '@ngx-translate/core';
+import { CoreComponentsModule } from '../../../components/components.module';
+import { CoreDirectivesModule } from '../../../directives/directives.module';
+import { CorePipesModule } from '../../../pipes/pipes.module';
+import { AddonCompetencyCourseComponent } from './course/course';
+
+@NgModule({
+ declarations: [
+ AddonCompetencyCourseComponent
+ ],
+ imports: [
+ CommonModule,
+ IonicModule,
+ TranslateModule.forChild(),
+ CoreComponentsModule,
+ CoreDirectivesModule,
+ CorePipesModule
+ ],
+ providers: [
+ ],
+ exports: [
+ AddonCompetencyCourseComponent
+ ],
+ entryComponents: [
+ AddonCompetencyCourseComponent
+ ]
+})
+export class AddonCompetencyComponentsModule {}
diff --git a/src/addon/competency/components/course/course.html b/src/addon/competency/components/course/course.html
new file mode 100644
index 000000000..c1344b369
--- /dev/null
+++ b/src/addon/competency/components/course/course.html
@@ -0,0 +1,73 @@
+
+
+
+
+
+ 0">
+
+ {{ 'addon.competency.coursecompetencyratingsarepushedtouserplans' | translate }}
+
+
+ {{ 'addon.competency.coursecompetencyratingsarenotpushedtouserplans' | translate }}
+
+
+ {{ 'addon.competency.progress' | translate }}:
+ {{ 'addon.competency.xcompetenciesproficientoutofyincourse' | translate:{$a: {x: competencies.statistics.proficientcompetencycount, y: competencies.statistics.competencycount} } }} ({{ competencies.statistics.proficientcompetencypercentageformatted }}%)
+
+
+ 0">
+ {{ 'addon.competency.competenciesmostoftennotproficientincourse' | translate }}:
+