Revert "* avatar added to commit-tracker to replace signum"
This reverts commit 625f3f46ea764d74b5b4aea082c34440df5fbb07.
This commit is contained in:
parent
10d03ea0c7
commit
7e0d842897
@ -33,19 +33,6 @@
|
|||||||
#db2828 55%);
|
#db2828 55%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.jira-avatar.image {
|
|
||||||
width: 45px;
|
|
||||||
height: auto;
|
|
||||||
/*font-size: 1em;*/
|
|
||||||
margin-right: 4px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui.jira-avatar.image > img {
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@keyframes label-progress-active {
|
@keyframes label-progress-active {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
|||||||
@ -13,11 +13,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let commit of commits">
|
<tr *ngFor="let commit of commits">
|
||||||
<td class="collapsing">
|
<td class="collapsing">{{commit.owner}}</td>
|
||||||
<div class="ui jira-avatar image">
|
|
||||||
<img src="{{avatarUrl(commit.owner)}}" [title]="commit.owner">
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td class="collapsing">{{commit.gerrit_time}}</td>
|
<td class="collapsing">{{commit.gerrit_time}}</td>
|
||||||
<td>{{commit.gerrit_change_subject}}</td>
|
<td>{{commit.gerrit_change_subject}}</td>
|
||||||
<td class="collapsing">{{commit.gerrit_project}}</td>
|
<td class="collapsing">{{commit.gerrit_project}}</td>
|
||||||
|
|||||||
@ -11,10 +11,8 @@ import { Commit } from '../../shared/commit';
|
|||||||
import { CommitStatus } from '../../shared/commit-status.enum';
|
import { CommitStatus } from '../../shared/commit-status.enum';
|
||||||
import { Result } from '../../shared/result.enum';
|
import { Result } from '../../shared/result.enum';
|
||||||
import { Build } from '../../shared/build';
|
import { Build } from '../../shared/build';
|
||||||
import { environment } from '../../../environments/environment';
|
|
||||||
|
|
||||||
const TIMER_COMMITTRACKER_REFRESH = 10000;
|
const TIMER_COMMITTRACKER_REFRESH = 10000;
|
||||||
const DEFAULT_AVATAR = '/assets/riddler.png';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-commit-tracker',
|
selector: 'app-commit-tracker',
|
||||||
@ -142,8 +140,4 @@ export class CommitTrackerComponent implements OnInit, OnDestroy {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public avatarUrl(signum: string): string {
|
|
||||||
return environment.apiUrl + (signum ? `/avatars/${signum}` : DEFAULT_AVATAR);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -51,13 +51,6 @@ const routes: Routes = [
|
|||||||
data: {
|
data: {
|
||||||
autoSwitchable: true
|
autoSwitchable: true
|
||||||
}
|
}
|
||||||
}, {
|
|
||||||
path: 'commit-tracker-fixed',
|
|
||||||
component: CommitTrackerComponent,
|
|
||||||
// canActivate: [AuthGuardService, RoleGuardService],
|
|
||||||
resolve: {
|
|
||||||
commits: CommitTrackerService,
|
|
||||||
}
|
|
||||||
}, {
|
}, {
|
||||||
path: 'kanban',
|
path: 'kanban',
|
||||||
component: KanbanBoardComponent,
|
component: KanbanBoardComponent,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user