Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 6087f7c8 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

small fixes

parent d443d864
No related branches found
No related tags found
No related merge requests found
export class SmpConstants {
public static readonly NULL_VALUE: string = "-----------"
public static readonly DATE_TIME_FORMAT = 'dd/MM/yyyy, HH:mm:ss z';
public static readonly DATE_TIME_FORMAT = 'dd/MM/yyyy HH:mm:ss z';
public static readonly DATE_FORMAT = 'dd/MM/yyyy';
public static readonly PATH_PARAM_ENC_USER_ID = '{user-id}';
......
......@@ -87,7 +87,9 @@
value="{{!userForm.get('lastFailedLoginAttempt').value?nullValue:userForm.get('lastFailedLoginAttempt').value | date:dateTimeFormat}}"
maxlength="255" disabled>
</mat-form-field>
<mat-form-field>
</div>
<div style="display: flex;flex-flow: row wrap;">
<mat-form-field style="flex-grow: 1">
<input matInput placeholder="Suspended until"
value="{{!userForm.get('suspendedUtil').value?nullValue:userForm.get('suspendedUtil').value | date:dateTimeFormat}}"
maxlength="255" disabled>
......@@ -151,7 +153,9 @@
value="{{!userForm.get('lastTokenFailedLoginAttempt').value?nullValue:userForm.get('lastTokenFailedLoginAttempt').value | date:dateTimeFormat}}"
maxlength="255" disabled>
</mat-form-field>
<mat-form-field>
</div>
<div style="display: flex;flex-flow: row wrap;">
<mat-form-field style="flex-grow: 1">
<input matInput placeholder="Suspended until"
value="{{!userForm.get('tokenSuspendedUtil').value?nullValue:userForm.get('tokenSuspendedUtil').value | date:dateTimeFormat}}"
maxlength="255" disabled>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment