Skip to content
Snippets Groups Projects
Commit 3d533403 authored by Lukas Mauß's avatar Lukas Mauß Committed by Tom Käsler
Browse files

Add content-presentation-mode for creator

parent 041dcc95
No related merge requests found
...@@ -63,6 +63,12 @@ const routes: Routes = [ ...@@ -63,6 +63,12 @@ const routes: Routes = [
canActivate: [AuthenticationGuard], canActivate: [AuthenticationGuard],
data: { roles: [UserRole.CREATOR] } data: { roles: [UserRole.CREATOR] }
}, },
{
path: 'creator/room/:roomId/contents',
component: ContentCarouselPageComponent,
canActivate: [AuthenticationGuard],
data: { roles: [UserRole.CREATOR] }
},
{ {
path: 'creator/room/:roomId/:contentGroup', path: 'creator/room/:roomId/:contentGroup',
component: ContentListComponent, component: ContentListComponent,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<h2>Fragen</h2> <h2>Fragen</h2>
<mat-card-actions> <mat-card-actions>
<button mat-fab color="primary" matTooltip="Fragen präsentieren" <button mat-fab color="primary" matTooltip="Fragen präsentieren"
routerLink="/creator/room/{{ room.shortId }}/create-content"> routerLink="/creator/room/{{ room.shortId }}/contents">
<mat-icon>school</mat-icon> <mat-icon>school</mat-icon>
</button> </button>
<button mat-fab color="primary" matTooltip="Erstelle neue Frage" <button mat-fab color="primary" matTooltip="Erstelle neue Frage"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment