fix legalnotice and privacy z-index issue

This commit is contained in:
Maximilian Krambach 2019-03-01 11:51:33 +01:00 committed by Emanuel Schütze
parent cc21c77667
commit 9cdc909d25
3 changed files with 9 additions and 13 deletions

View File

@ -1,8 +1,8 @@
<mat-card class="os-card on-transition-fade">
<mat-card class="os-card">
<div>
<div class='legal-notice-text' [innerHtml]='legalNotice'></div>
<div class="legal-notice-text" [innerHtml]="legalNotice"></div>
<mat-divider></mat-divider>
<div *ngIf="versionInfo" class='version-text'>
<div *ngIf="versionInfo" class="version-text">
<a [attr.href]="versionInfo.openslides_url" target="_blank">
OpenSlides {{ versionInfo.openslides_version }}
</a>
@ -11,12 +11,8 @@
<div *ngIf="versionInfo.plugins.length">
<p><span translate>Installed plugins</span>:</p>
<div *ngFor="let plugin of versionInfo.plugins">
<a [attr.href]="plugin.url" target="_blank">
{{ plugin.verbose_name }} {{ plugin.version }}
</a>
<div *ngIf="plugin.license">
(<span translate>License</span>: {{ plugin.license }})
</div>
<a [attr.href]="plugin.url" target="_blank"> {{ plugin.verbose_name }} {{ plugin.version }} </a>
<div *ngIf="plugin.license">(<span translate>License</span>: {{ plugin.license }})</div>
</div>
</div>
</div>

View File

@ -1,6 +1,6 @@
<mat-card class='os-card on-transition-fade'>
<div *ngIf='privacyPolicy' [innerHtml]='privacyPolicy'></div>
<div *ngIf='!privacyPolicy' translate>
<mat-card class="os-card">
<div *ngIf="privacyPolicy" [innerHtml]="privacyPolicy"></div>
<div *ngIf="!privacyPolicy" translate>
The event manager hasn't set up a privacy policy yet.
</div>
</mat-card>

View File

@ -24,7 +24,7 @@
</div>
</os-head-bar>
<mat-card *ngIf="topic || editTopic" [ngClass]="editTopic ? 'os-form-card' : 'os-card'" class="on-transition-fade">
<mat-card *ngIf="topic || editTopic" [ngClass]="editTopic ? 'os-form-card' : 'os-card'">
<div *ngIf="!editTopic">
<h1>{{ topic.getTitle() }}</h1>
</div>