merged
This commit is contained in:
parent
ddb52c3fb4
commit
91fcf7f2e5
|
@ -450,65 +450,45 @@
|
|||
</mat-menu>
|
||||
|
||||
<mat-menu #informationMenu="matMenu">
|
||||
<<<<<<< HEAD
|
||||
<div
|
||||
class="version-info-container menu-item"
|
||||
(click)="$event.stopPropagation()"
|
||||
>
|
||||
<div class="version-info-now" >
|
||||
<span class="version-info-item">
|
||||
{{ 'information.installedVersion' | translate }}:<span class="info-content">{{ appVersion }}</span>
|
||||
</span>
|
||||
</div>
|
||||
<div *ngIf="checkingUpdate" class="version-info-newest">
|
||||
<div *ngIf="checkingUpdateIsProcessing">
|
||||
<span class="version-info-item">
|
||||
{{ 'information.checkForUpdatesInProgress' | translate }}
|
||||
<span class="info-content"> <mat-spinner *ngIf="checkingUpdate && checkingUpdateIsProcessing" diameter="20" strokeWidth="1"></mat-spinner></span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div *ngIf="!checkingUpdateIsProcessing" style="display: flex;">
|
||||
<span class="version-info-item">
|
||||
{{ 'information.latestVersion' | translate }}:<span class="info-content">{{
|
||||
checkingUpdateAppVersion
|
||||
}}</span>
|
||||
</span>
|
||||
<span class="version-info-button">
|
||||
<button *ngIf="checkingUpdateIsExist" mat-flat-button
|
||||
class="mat-primary" (click)="onClickApplyUpdate($event)">{{ 'information.applyUpdates' | translate }}</button>
|
||||
=======
|
||||
<ng-template matMenuContent>
|
||||
<div
|
||||
class="version-info-container menu-item"
|
||||
(click)="$event.stopPropagation()"
|
||||
>
|
||||
<div>
|
||||
<span>
|
||||
{{ 'information.installedVersion' | translate }}:{{ appVersion }}
|
||||
>>>>>>> 86c2a7cb2a2195023425b1653f1cc8472b09a8d9
|
||||
<div class="version-info-now">
|
||||
<span class="version-info-item">
|
||||
{{ 'information.installedVersion' | translate }}:<span
|
||||
class="info-content"
|
||||
>{{ appVersion }}</span
|
||||
>
|
||||
</span>
|
||||
</div>
|
||||
<div *ngIf="checkingUpdate">
|
||||
<div *ngIf="checkingUpdateIsProcessing" style="display: flex;">
|
||||
<mat-spinner
|
||||
*ngIf="checkingUpdate && checkingUpdateIsProcessing"
|
||||
diameter="20"
|
||||
strokeWidth="1"
|
||||
></mat-spinner>
|
||||
{{ 'information.checkForUpdatesInProgress' | translate }}
|
||||
<div *ngIf="checkingUpdate" class="version-info-newest">
|
||||
<div *ngIf="checkingUpdateIsProcessing">
|
||||
<span class="version-info-item">
|
||||
{{ 'information.checkForUpdatesInProgress' | translate }}
|
||||
<span class="info-content">
|
||||
<mat-spinner
|
||||
*ngIf="checkingUpdate && checkingUpdateIsProcessing"
|
||||
diameter="20"
|
||||
strokeWidth="1"
|
||||
></mat-spinner>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div *ngIf="!checkingUpdateIsProcessing" style="display: flex;">
|
||||
<span>
|
||||
{{ 'information.latestVersion' | translate }}:{{
|
||||
checkingUpdateAppVersion
|
||||
}}
|
||||
<span class="version-info-item">
|
||||
{{ 'information.latestVersion' | translate }}:<span
|
||||
class="info-content"
|
||||
>{{ checkingUpdateAppVersion }}</span
|
||||
>
|
||||
</span>
|
||||
<span>
|
||||
<span class="version-info-button">
|
||||
<button
|
||||
*ngIf="checkingUpdateIsExist"
|
||||
mat-button
|
||||
mat-flat-button
|
||||
class="mat-primary"
|
||||
(click)="onClickApplyUpdate($event)"
|
||||
>
|
||||
{{ 'information.applyUpdates' | translate }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user