Skip to content
Snippets Groups Projects
Commit b9494edd authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Add description-expansion-panel to participants room page

parent 662b6890
Branches
Tags
No related merge requests found
......@@ -8,26 +8,31 @@
</mat-card-header>
<mat-divider></mat-divider>
<mat-card-content fxLayoutAlign="center">
<p>
{{ room.description }}
</p>
<mat-expansion-panel *ngIf="!room.description == ''" class="mat-elevation-z0">
<mat-expansion-panel-header>
<h4>{{ 'room-page.description' | translate }}</h4>
</mat-expansion-panel-header>
<p>
{{ room.description }}
</p>
</mat-expansion-panel>
</mat-card-content>
<mat-divider></mat-divider>
<mat-grid-list cols="3" rowHeight="2:1">
<mat-grid-tile>
<button mat-icon-button color="accent" matTooltip="{{ 'room-page.create-comment' | translate}}"
<button mat-icon-button color="primary" matTooltip="{{ 'room-page.create-comment' | translate}}"
routerLink="/participant/room/{{ room.id }}/create-comment">
<mat-icon>question_answer</mat-icon>
</button>
</mat-grid-tile>
<mat-grid-tile>
<button mat-icon-button color="accent" matTooltip="{{ 'room-page.give-feedback' | translate}}"
<button mat-icon-button color="primary" matTooltip="{{ 'room-page.give-feedback' | translate}}"
routerLink="/participant/room/{{ room.id }}/feedback-barometer">
<mat-icon>thumbs_up_down</mat-icon>
</button>
</mat-grid-tile>
<mat-grid-tile>
<button mat-icon-button color="accent" matTooltip="Lernstand"
<button mat-icon-button color="primary" matTooltip="Lernstand"
routerLink="/participant/room/{{ room.shortId }}/statistics">
<mat-icon>insert_chart</mat-icon>
</button>
......
......@@ -19,3 +19,8 @@ button {
max-width: 30%;
min-width: 30%;
}
mat-expansion-panel {
background-color: #fff8e1!important;
min-width: 200px;
}
......@@ -13,7 +13,8 @@
"give-feedback": "Feedback geben",
"live-feedback": "Live Feedback",
"answer-statistics": "Statistiken",
"default-content-group": "Standard"
"default-content-group": "Standard",
"description": "Beschreibung"
},
"comment-page": {
"enter-title": "Geben Sie einen Titel ein",
......
......@@ -13,7 +13,8 @@
"give-feedback": "Give feedback",
"live-feedback": "Live feedback",
"answer-statistics": "Statistics",
"default-content-group": "Default"
"default-content-group": "Default",
"description": "Description"
},
"comment-page": {
"enter-title": "Enter a title",
......
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