mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-20 01:55:59 +00:00
More work on perms page
This commit is contained in:
@@ -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>
|
||||
21
web/angular/src/app/project-icon/project-icon.component.ts
Normal file
21
web/angular/src/app/project-icon/project-icon.component.ts
Normal 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() {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user