Skip to content
Snippets Groups Projects
Commit 493884f2 authored by Louis Peter's avatar Louis Peter Committed by Lukas Mauß
Browse files

Merged settings and edit button into one button. Update localization for this button

parent d1e98e03
No related merge requests found
......@@ -3,8 +3,6 @@
<mat-progress-spinner *ngIf="isLoading" color="accent" mode="indeterminate"></mat-progress-spinner>
<mat-card *ngIf="room">
<mat-card-header fxLayoutAlign="center" fxLayout="row">
<span class="fill-remaining-space"></span>
<div fxLayout="column" id="sessionHeader">
<mat-card-title fxLayoutAlign="center">
<h2>{{ room.name }}</h2>
</mat-card-title>
......@@ -13,11 +11,6 @@
{{ room.shortId.slice(0,4) }} {{ room.shortId.slice(4,8) }}
</h3>
</mat-card-subtitle>
</div>
<span class="fill-remaining-space"></span>
<button mat-icon-button id= "sessionSettingsButton" color="primary" matTooltip="{{ 'room-page.session-settings' | translate}}">
<mat-icon>settings</mat-icon>
</button>
</mat-card-header>
<mat-divider></mat-divider>
<mat-card-content fxLayoutAlign="center">
......@@ -45,8 +38,8 @@
</mat-grid-tile>
<mat-grid-tile>
<button mat-icon-button *ngIf="!modify" (click)="showEditDialog()" color="accent"
matTooltip="{{ 'room-page.edit-room' | translate}}">
<mat-icon>create</mat-icon>
matTooltip="{{ 'room-page.session-settings' | translate}}">
<mat-icon>settings</mat-icon>
</button>
</mat-grid-tile>
</mat-grid-list>
......
......@@ -79,12 +79,3 @@ mat-expansion-panel {
background-color: var(--content-mat-card)!important;
min-width: 200px;
}
#sessionHeader {
width: auto;
}
#sessionSettingsButton {
width: 10%;
float: right;
}
......@@ -10,7 +10,6 @@
"create-content": "Frage erstellen",
"live-feedback": "Live Feedback",
"answer-statistics": "Statistiken",
"edit-room": "Session bearbeiten",
"delete-room": "Session löschen",
"sure": "Sind Sie sicher?",
"reallySession": "Wollen Sie die Session ",
......
......@@ -10,7 +10,6 @@
"create-content": "Create content",
"live-feedback": "Live feedback",
"answer-statistics": "Statistics",
"edit-room": "Edit session",
"delete-room": "Delete session",
"sure": "Are you sure?",
"reallySession": "Do you really want to delete session ",
......
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