From e7db12e2df18e3aa7937939c86d1e7dfd5621f8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de>
Date: Wed, 28 Nov 2018 12:45:57 +0100
Subject: [PATCH] Add new component 'list-statistic'

---
 src/app/components/creator/creator.module.ts  |  4 ++-
 .../list-statistic.component.html             |  3 +++
 .../list-statistic.component.scss             |  0
 .../list-statistic.component.spec.ts          | 25 +++++++++++++++++++
 .../list-statistic.component.ts               | 15 +++++++++++
 5 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 src/app/components/creator/list-statistic/list-statistic.component.html
 create mode 100644 src/app/components/creator/list-statistic/list-statistic.component.scss
 create mode 100644 src/app/components/creator/list-statistic/list-statistic.component.spec.ts
 create mode 100644 src/app/components/creator/list-statistic/list-statistic.component.ts

diff --git a/src/app/components/creator/creator.module.ts b/src/app/components/creator/creator.module.ts
index 4430128da..ac38226e2 100644
--- a/src/app/components/creator/creator.module.ts
+++ b/src/app/components/creator/creator.module.ts
@@ -22,6 +22,7 @@ import { HttpClient } from '@angular/common/http';
 import { TranslateHttpLoader } from '@ngx-translate/http-loader';
 import { ContentCreatorComponent } from './content-creator/content-creator.component';
 import { ContentListComponent } from './content-list/content-list.component';
+import { ListStatisticComponent } from './list-statistic/list-statistic.component';
 
 @NgModule({
   imports: [
@@ -52,7 +53,8 @@ import { ContentListComponent } from './content-list/content-list.component';
     RoomDeleteComponent,
     RoomEditComponent,
     ContentCreatorComponent,
-    ContentListComponent
+    ContentListComponent,
+    ListStatisticComponent
   ],
   entryComponents: [
     RoomCreateComponent,
diff --git a/src/app/components/creator/list-statistic/list-statistic.component.html b/src/app/components/creator/list-statistic/list-statistic.component.html
new file mode 100644
index 000000000..097500088
--- /dev/null
+++ b/src/app/components/creator/list-statistic/list-statistic.component.html
@@ -0,0 +1,3 @@
+<p>
+  list-statistic works!
+</p>
diff --git a/src/app/components/creator/list-statistic/list-statistic.component.scss b/src/app/components/creator/list-statistic/list-statistic.component.scss
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/app/components/creator/list-statistic/list-statistic.component.spec.ts b/src/app/components/creator/list-statistic/list-statistic.component.spec.ts
new file mode 100644
index 000000000..5e765e87b
--- /dev/null
+++ b/src/app/components/creator/list-statistic/list-statistic.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { ListStatisticComponent } from './list-statistic.component';
+
+describe('ListStatisticComponent', () => {
+  let component: ListStatisticComponent;
+  let fixture: ComponentFixture<ListStatisticComponent>;
+
+  beforeEach(async(() => {
+    TestBed.configureTestingModule({
+      declarations: [ ListStatisticComponent ]
+    })
+    .compileComponents();
+  }));
+
+  beforeEach(() => {
+    fixture = TestBed.createComponent(ListStatisticComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});
diff --git a/src/app/components/creator/list-statistic/list-statistic.component.ts b/src/app/components/creator/list-statistic/list-statistic.component.ts
new file mode 100644
index 000000000..048386df1
--- /dev/null
+++ b/src/app/components/creator/list-statistic/list-statistic.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+  selector: 'app-list-statistic',
+  templateUrl: './list-statistic.component.html',
+  styleUrls: ['./list-statistic.component.scss']
+})
+export class ListStatisticComponent implements OnInit {
+
+  constructor() { }
+
+  ngOnInit() {
+  }
+
+}
-- 
GitLab