Various little improvements. More work on permissions

This commit is contained in:
simon987
2019-02-14 22:04:00 -05:00
parent c3e5bd77f7
commit 8fe41b8fbb
31 changed files with 434 additions and 96 deletions

View File

@@ -13,6 +13,10 @@
{{"account.username" | translate}}: 
<pre>{{authService.account.username}}</pre>
</mat-list-item>
<mat-list-item>
{{"account.register_time" | translate}}:&nbsp;
<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>

View File

@@ -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) {
}