Commit e78cd990 authored by Tom Käsler's avatar Tom Käsler
Browse files

Reactive full functionality

parent 456575eb
......@@ -25,7 +25,7 @@
{{ room.description.trim() }}
</h4>
</mat-card-content>
<mat-grid-list cols="1" rowHeight="2:1">
<mat-grid-list cols="2" rowHeight="2:1">
<mat-grid-tile>
<button mat-icon-button
routerLink="/creator/room/{{ room.shortId }}/comments">
......@@ -34,8 +34,6 @@
<h4 *ngIf="deviceType === 'mobile'">{{ 'room-page.comments' | translate}}</h4>
</button>
</mat-grid-tile>
</mat-grid-list>
<!-- commented out for EDULEARN19
<mat-grid-tile>
<button mat-icon-button routerLink="/creator/room/{{ room.shortId }}/feedback-barometer">
<mat-icon class="smallerIcon">thumbs_up_down
......@@ -62,7 +60,7 @@
</mat-grid-list>
<app-content-groups *ngIf="room && room.contentGroups" [contentGroups]="room.contentGroups"></app-content-groups>
-->
</mat-card>
<div *ngIf="!isLoading && !room">{{ 'room-page.room-not-found' | translate }}</div>
</div>
......
......@@ -14,7 +14,7 @@
<mat-card-content *ngIf="room.description" fxLayoutAlign="center">
<h4>{{room.description.trim()}}</h4>
</mat-card-content>
<mat-grid-list cols="1" rowHeight="2:1">
<mat-grid-list cols="2" rowHeight="2:1">
<mat-grid-tile>
<button mat-icon-button routerLink="/participant/room/{{ room.shortId }}/comments">
<mat-icon matBadge="{{commentCounter}}" matBadgeColor="primary">question_answer</mat-icon>
......@@ -22,7 +22,6 @@
<h4 *ngIf="deviceType === 'mobile'">{{ 'room-page.create-comment' | translate}}</h4>
</button>
</mat-grid-tile>
<!-- commented out for EDULEARN19
<mat-grid-tile>
<button mat-icon-button routerLink="/participant/room/{{ room.shortId }}/feedback-barometer">
<mat-icon>thumbs_up_down</mat-icon>
......@@ -35,9 +34,9 @@
<mat-icon>insert_chart</mat-icon>
<h3 *ngIf="deviceType === 'desktop'">{{ 'statistic.answer-statistic' | translate}}</h3>
</button>
</mat-grid-tile> -->
</mat-grid-tile>
</mat-grid-list>
<!-- <app-content-groups *ngIf="room && room.contentGroups" [contentGroups]="room.contentGroups"></app-content-groups> -->
<app-content-groups *ngIf="room && room.contentGroups" [contentGroups]="room.contentGroups"></app-content-groups>
</mat-card>
</div>
</div>
Supports Markdown
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