More work on perms page

This commit is contained in:
simon987
2019-02-17 14:09:52 -05:00
parent b936513eb9
commit 94c3ce3267
30 changed files with 425 additions and 70 deletions

View File

@@ -0,0 +1,3 @@
<mat-icon *ngIf="project.public" [title]="'project.public' | translate">public</mat-icon>
<mat-icon *ngIf="!project.public && !project.hidden" [title]="'project.private'|translate">lock</mat-icon>
<mat-icon *ngIf="project.hidden" [title]="'project.hidden'|translate">visibility_off</mat-icon>

View File

@@ -0,0 +1,21 @@
import {Component, Input, OnInit} from '@angular/core';
import {Project} from "../models/project";
@Component({
selector: 'project-icon',
templateUrl: './project-icon.component.html',
styleUrls: ['./project-icon.component.css']
})
export class ProjectIconComponent implements OnInit {
@Input()
project: Project;
constructor() {
}
ngOnInit() {
}
}