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