diff --git a/src/app/config/privacy-policy/privacy-policy.ts b/src/app/config/privacy-policy/privacy-policy.ts index 8142d8b08..ebfe968cd 100644 --- a/src/app/config/privacy-policy/privacy-policy.ts +++ b/src/app/config/privacy-policy/privacy-policy.ts @@ -10,7 +10,6 @@ interface Response { @Injectable({ providedIn: 'root' }) - export class PrivacyPolicy { privacy = ''; plagiarism = ''; @@ -22,12 +21,12 @@ export class PrivacyPolicy { const url: string = `${this.API_URL}/settings/privacy`; - this.http - .get(url) - .subscribe(response => { - this.privacy = response.privacy; - this.plagiarism = response.plagiarism; - this.loaded = true; - }); + this.http.get(url) + .subscribe(response => { + this.privacy = response.privacy; + this.plagiarism = response.plagiarism; + this.loaded = true; + } + ); } -} \ No newline at end of file +} diff --git a/src/app/doubtfire-angularjs.module.ts b/src/app/doubtfire-angularjs.module.ts index 68c662043..d9dc6955d 100644 --- a/src/app/doubtfire-angularjs.module.ts +++ b/src/app/doubtfire-angularjs.module.ts @@ -218,7 +218,6 @@ import { ProgressBurndownChartComponent } from './visualisations/progress-burndo import { TaskVisualisationComponent } from './visualisations/task-visualisation/taskvisualisation.component'; import {FUnitsComponent} from './admin/states/units/units.component'; -import {MarkedPipe} from './common/pipes/marked.pipe'; import {AlertService} from './common/services/alert.service'; import {GradeService} from './common/services/grade.service'; @@ -243,7 +242,6 @@ export const DoubtfireAngularJSModule = angular.module('doubtfire', [ DoubtfireAngularJSModule.factory('AboutDoubtfireModal', downgradeInjectable(AboutDoubtfireModal)); DoubtfireAngularJSModule.factory('DoubtfireConstants', downgradeInjectable(DoubtfireConstants)); DoubtfireAngularJSModule.factory('ExtensionModal', downgradeInjectable(ExtensionModalService)); -DoubtfireAngularJSModule.factory('Marked', downgradeInjectable(MarkedPipe)); DoubtfireAngularJSModule.factory('CalendarModal', downgradeInjectable(CalendarModalService)); DoubtfireAngularJSModule.factory('TaskCommentService', downgradeInjectable(TaskCommentService)); DoubtfireAngularJSModule.factory('alertService', downgradeInjectable(AlertService)); diff --git a/src/app/tasks/modals/upload-submission-modal/upload-submission-modal.tpl.html b/src/app/tasks/modals/upload-submission-modal/upload-submission-modal.tpl.html index 9caab7897..92070ac30 100644 --- a/src/app/tasks/modals/upload-submission-modal/upload-submission-modal.tpl.html +++ b/src/app/tasks/modals/upload-submission-modal/upload-submission-modal.tpl.html @@ -167,9 +167,9 @@

- +

{{privacyPolicy.privacy}} - +

Plagiarism and collusion

Plagiarism and Collusion

diff --git a/src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.tpl.html b/src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.tpl.html index 91fdabc35..a89b929a9 100644 --- a/src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.tpl.html +++ b/src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.tpl.html @@ -14,7 +14,7 @@

-
+
Click to add one

diff --git a/src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.tpl.html b/src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.tpl.html index 2032d7bf1..79fc40a50 100644 --- a/src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.tpl.html +++ b/src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.tpl.html @@ -34,7 +34,7 @@

Description
-
+
{{ilo.description}}
Visualisation
@@ -50,7 +50,7 @@
Visualisation
Rationale
-
+
Related Tasks