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 +
'/?lang=' + this.zgoLanguage +
'&component=' + viewName,
{ headers : reqHeaders });
'&component=' + viewName
,
{ headers : reqHeaders }
);
}
}

View file

@ -2,6 +2,20 @@
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 {
font-family: 'Roboto Mono';
font-size: 14px;

View file

@ -1,11 +1,19 @@
<app-header></app-header>
<div align="center">
<h3 class="text">{{(ownerUpdate | async)!.name}}</h3>
<p class="text">{{ vE.listordersEndDate }}{{(ownerUpdate | async)!.expiration | date}}
<div class="text1">{{(ownerUpdate | async)!.name}}</div>
<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">
<mat-icon class="icon">queue</mat-icon>
</button>
</p>
</td>
</tr>
</table>
<table >
<tr>
<td width="45%">

View file

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