mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-18 17:29:03 +00:00
Various little improvements. More work on permissions
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
{{"account.username" | translate}}:
|
||||
<pre>{{authService.account.username}}</pre>
|
||||
</mat-list-item>
|
||||
<mat-list-item>
|
||||
{{"account.register_time" | translate}}:
|
||||
<pre>{{moment.unix(authService.account.register_time).utc().format("YYYY-MM-DD HH:mm:ss UTC")}}</pre>
|
||||
</mat-list-item>
|
||||
</mat-list>
|
||||
|
||||
<mat-expansion-panel>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {AuthService} from "../auth.service";
|
||||
|
||||
import * as moment from "moment"
|
||||
|
||||
@Component({
|
||||
selector: 'app-account-details',
|
||||
templateUrl: './account-details.component.html',
|
||||
@@ -8,6 +10,8 @@ import {AuthService} from "../auth.service";
|
||||
})
|
||||
export class AccountDetailsComponent implements OnInit {
|
||||
|
||||
public moment = moment;
|
||||
|
||||
constructor(public authService: AuthService) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user