diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 556b854b1af33a36d08b40fcc5ec54019c491826..b7ab49cb683e8bd6724fc74ff08fe6cb9b1330ab 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -77,7 +77,7 @@ import { AddContentComponent } from './components/pages/add-content/add-content. import { ParticipantContentCarouselPageComponent } from './components/pages/participant-content-carousel-page/participant-content-carousel-page.component'; -import { ParticipantTextContentComponent } from './components/fragments/participant-text-content/participant-text-content.component'; +import { ParticipantTextContentComponent } from './components/fragments/content-text-participant/content-text-participant.component'; import { CreatorTextContentComponent } from './components/fragments/content-text-creator/content-text-creator.component'; import { AuthenticationInterceptor } from './interceptors/authentication.interceptor'; diff --git a/src/app/components/fragments/participant-text-content/participant-text-content.component.html b/src/app/components/fragments/content-text-participant/content-text-participant.component.html similarity index 100% rename from src/app/components/fragments/participant-text-content/participant-text-content.component.html rename to src/app/components/fragments/content-text-participant/content-text-participant.component.html diff --git a/src/app/components/fragments/participant-text-content/participant-text-content.component.scss b/src/app/components/fragments/content-text-participant/content-text-participant.component.scss similarity index 100% rename from src/app/components/fragments/participant-text-content/participant-text-content.component.scss rename to src/app/components/fragments/content-text-participant/content-text-participant.component.scss diff --git a/src/app/components/fragments/participant-text-content/participant-text-content.component.spec.ts b/src/app/components/fragments/content-text-participant/content-text-participant.component.spec.ts similarity index 88% rename from src/app/components/fragments/participant-text-content/participant-text-content.component.spec.ts rename to src/app/components/fragments/content-text-participant/content-text-participant.component.spec.ts index b1855b0d1641f97fd5bc391e0ec509c755389bad..e609aa2daf0886c997c06e68b2bfda4984a24757 100644 --- a/src/app/components/fragments/participant-text-content/participant-text-content.component.spec.ts +++ b/src/app/components/fragments/content-text-participant/content-text-participant.component.spec.ts @@ -1,6 +1,6 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; -import { ParticipantTextContentComponent } from './participant-text-content.component'; +import { ParticipantTextContentComponent } from './content-text-participant.component'; describe('ParticipantTextContentComponent', () => { let component: ParticipantTextContentComponent; diff --git a/src/app/components/fragments/participant-text-content/participant-text-content.component.ts b/src/app/components/fragments/content-text-participant/content-text-participant.component.ts similarity index 88% rename from src/app/components/fragments/participant-text-content/participant-text-content.component.ts rename to src/app/components/fragments/content-text-participant/content-text-participant.component.ts index 793191db7cd1d00eea88e2cb998dfd8beeb1e596..da27dda59b665deea3db3aff6cacb5201cf8b5da 100644 --- a/src/app/components/fragments/participant-text-content/participant-text-content.component.ts +++ b/src/app/components/fragments/content-text-participant/content-text-participant.component.ts @@ -5,8 +5,8 @@ import { AnswerText } from '../../../models/answer-text'; @Component({ selector: 'app-participant-text-content', - templateUrl: './participant-text-content.component.html', - styleUrls: ['./participant-text-content.component.scss'] + templateUrl: './content-text-participant.component.html', + styleUrls: ['./content-text-participant.component.scss'] }) export class ParticipantTextContentComponent implements OnInit { content: TextContent = new TextContent('1', diff --git a/src/app/components/pages/participant-content-carousel-page/participant-content-carousel-page.component.html b/src/app/components/pages/participant-content-carousel-page/participant-content-carousel-page.component.html index 30dc5b72c116d440071695a6c2c9dc7c5f18e764..38bc1431a8faf7ca7e2bc54dd22147ac8f0051d3 100644 --- a/src/app/components/pages/participant-content-carousel-page/participant-content-carousel-page.component.html +++ b/src/app/components/pages/participant-content-carousel-page/participant-content-carousel-page.component.html @@ -4,7 +4,7 @@ <!-- <mat-tab *ngFor="let content of contents"> <app-content-choice-participant *ngIf="content.format === ContentType.CHOICE"></app-content-choice-participant> - <app-participant-text-content *ngIf="content.format === ContentType.TEXT"></app-participant-text-content> + <app-content-text-participant *ngIf="content.format === ContentType.TEXT"></app-content-text-participant> </mat-tab> --> <mat-tab label="Text">