UI language management: Fix session end date format in listorders component

This commit is contained in:
Rene V. Vergara A. 2023-02-27 22:39:06 -05:00
parent 10963a3817
commit 1dddcb74ff
4 changed files with 33 additions and 9 deletions

View file

@ -47,7 +47,9 @@ export class LanguageService {
// //
return this.http.get<LanguageData>(this.baseURL + return this.http.get<LanguageData>(this.baseURL +
'/?lang=' + this.zgoLanguage + '/?lang=' + this.zgoLanguage +
'&component=' + viewName, '&component=' + viewName
{ headers : reqHeaders }); ,
{ headers : reqHeaders }
);
} }
} }

View file

@ -2,6 +2,20 @@
font-family: 'Spartan', sans-serif; font-family: 'Spartan', sans-serif;
} }
.text1{
font-family: 'Spartan', sans-serif;
font-size: 24px;
font-weight: 700;
padding-top: 15px;
}
.text1a{
font-family: 'Spartan', sans-serif;
font-size: 16px;
font-weight: 600;
padding-top: 10px;
}
.text2 { .text2 {
font-family: 'Roboto Mono'; font-family: 'Roboto Mono';
font-size: 14px; font-size: 14px;

View file

@ -1,11 +1,19 @@
<app-header></app-header> <app-header></app-header>
<div align="center"> <div align="center">
<h3 class="text">{{(ownerUpdate | async)!.name}}</h3> <div class="text1">{{(ownerUpdate | async)!.name}}</div>
<p class="text">{{ vE.listordersEndDate }}{{(ownerUpdate | async)!.expiration | date}} <table style="padding-top: 10px;
padding-bottom: 10px;">
<tr class="text1a">
<td>
{{ vE.listordersEndDate }}{{(ownerUpdate | async)!.expiration | date: 'YYYY-MM-dd'}}
</td>
<td>
<button mat-icon-button color="primary"> <button mat-icon-button color="primary">
<mat-icon class="icon">queue</mat-icon> <mat-icon class="icon">queue</mat-icon>
</button> </button>
</p> </td>
</tr>
</table>
<table > <table >
<tr> <tr>
<td width="45%"> <td width="45%">

View file

@ -18,7 +18,7 @@
font-size: 16px; font-size: 16px;
font-weight: 700; font-weight: 700;
color: black; color: black;
height: 30px; height: 60px;
margin-bottom: 20 !important; margin-bottom: 20 !important;
} }