* dashboard start slide navigation button removed when team is not selected
* watcher table icons changed
This commit is contained in:
parent
80dc5b54e8
commit
79227258e8
@ -2,7 +2,7 @@
|
|||||||
<h1 class="ui dividing header">Dashboard</h1>
|
<h1 class="ui dividing header">Dashboard</h1>
|
||||||
|
|
||||||
<div class="ui four cards">
|
<div class="ui four cards">
|
||||||
<a class="ui raised yellow card" [routerLink]="['/kanban']">
|
<a class="ui raised yellow card" [routerLink]="['/kanban']" *ngIf="hasTeamSelected">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="header">Start slideshow</div>
|
<div class="header">Start slideshow</div>
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
|
|||||||
8
src/app/admin/dashboard/dashboard.component.ts
Normal file → Executable file
8
src/app/admin/dashboard/dashboard.component.ts
Normal file → Executable file
@ -1,5 +1,6 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { Title } from '@angular/platform-browser';
|
import { Title } from '@angular/platform-browser';
|
||||||
|
import {SettingsService} from '../../shared/service/settings.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-dashboard',
|
selector: 'app-dashboard',
|
||||||
@ -8,10 +9,15 @@ import { Title } from '@angular/platform-browser';
|
|||||||
})
|
})
|
||||||
export class DashboardComponent implements OnInit {
|
export class DashboardComponent implements OnInit {
|
||||||
|
|
||||||
constructor(private titleService: Title) { }
|
constructor(private titleService: Title,
|
||||||
|
private settingService: SettingsService) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.titleService.setTitle('Dashboard : MTAStv');
|
this.titleService.setTitle('Dashboard : MTAStv');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get hasTeamSelected(): boolean {
|
||||||
|
return this.settingService.team.id !== null;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,9 +2,9 @@
|
|||||||
<table class="ui large padded inverted celled2 table" *ngIf="watchers.length">
|
<table class="ui large padded inverted celled2 table" *ngIf="watchers.length">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="collapsing"><i class="user icon"></i>Assignee</th>
|
<th class="collapsing"><i class="user icon"></i></th>
|
||||||
<th><i class="clock outline icon"></i>Issue</th>
|
<th><i class="tasks icon"></i>JIRA</th>
|
||||||
<th><i class="sticky note outline icon"></i>Last comment</th>
|
<th><i class="envelope open outline icon"></i>Last comment</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user