From 69e22c6eaad608f8bf92c865805756c5fbf7332d Mon Sep 17 00:00:00 2001
From: Lukas Kimpel <lukas.kimpel@mni.thm.de>
Date: Tue, 20 Mar 2018 15:24:23 +0100
Subject: [PATCH] Rename content text participant component

---
 src/app/app.module.ts                                         | 2 +-
 .../content-text-participant.component.html}                  | 0
 .../content-text-participant.component.scss}                  | 0
 .../content-text-participant.component.spec.ts}               | 2 +-
 .../content-text-participant.component.ts}                    | 4 ++--
 .../participant-content-carousel-page.component.html          | 2 +-
 6 files changed, 5 insertions(+), 5 deletions(-)
 rename src/app/components/fragments/{participant-text-content/participant-text-content.component.html => content-text-participant/content-text-participant.component.html} (100%)
 rename src/app/components/fragments/{participant-text-content/participant-text-content.component.scss => content-text-participant/content-text-participant.component.scss} (100%)
 rename src/app/components/fragments/{participant-text-content/participant-text-content.component.spec.ts => content-text-participant/content-text-participant.component.spec.ts} (88%)
 rename src/app/components/fragments/{participant-text-content/participant-text-content.component.ts => content-text-participant/content-text-participant.component.ts} (88%)

diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 556b854b1..b7ab49cb6 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 b1855b0d1..e609aa2da 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 793191db7..da27dda59 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 30dc5b72c..38bc1431a 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">
-- 
GitLab