Skip to content

Commit

Permalink
fix rxjs (#3276)
Browse files Browse the repository at this point in the history
  • Loading branch information
sguiheux authored Aug 31, 2018
1 parent a4bb0f2 commit 8a3799e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@
"ngx-infinite-scroll": "^6.0.1",
"ngx-markdown": "6.1.0",
"prismjs": "^1.15.0",
"rxjs": "^6.2.0",
"rxjs-compat": "^6.2.0",
"rxjs": "6.2.0",
"rxjs-compat": "6.2.0",

"semantic-ui": "2.2.13",
"string-format-obj": "^1.1.1",
"ts-helpers": "^1.1.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
<span>{{ ' ' + v.version}}</span>
<span class="title">{{ v.title + ' '}}<a [href]="v.link" target="_blank">{{v.cve}}<i class="external alternate icon"></i></a></span>
</div>
<div class="ui brown tag label">{{v.type}}</div>
<div class="action" *ngIf="edit">
<button class="ui tiny icon button" (click)="ignoreVulnerability(v)" [class.loading]="v.loading" [class.disabled]="v.loading">
<i class="undo icon" *ngIf="v.ignored"></i>
<i class="trash icon" *ngIf="!v.ignored"></i>
<i class="eye slash outline icon" *ngIf="!v.ignored" title="{{ 'vulnerability_ignore' | translate }}"></i>
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ ul {
padding-top: 10px;
padding-bottom: 10px;

.ui.tag.label {
margin-left: 20px;
font-size: 0.75em;
}

.dot {
width: 13px;
height: 13px;
Expand Down Expand Up @@ -78,4 +83,8 @@ ul {
li.inactive {
color: grey;
}
}

pre {
white-space: initial;
}
1 change: 1 addition & 0 deletions ui/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,7 @@
"vcs_ssh_key" : "SSH key",
"vcs_pgp_key" : "PGP key",

"vulnerability_ignore": "Ignore",
"vulnerability_no" : "No vulnerabilities detected",
"vulnerability_updated" : "Vulnerability updated",

Expand Down
1 change: 1 addition & 0 deletions ui/src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,7 @@
"vcs_ssh_key" : "Clé SSH",
"vcs_pgp_key" : "Clé PGP",

"vulnerability_ignore": "Ignorer",
"vulnerability_no" : "Aucune vulnérabilité détectée",
"vulnerability_updated" : "Vulnérabilité mise à jour",

Expand Down

0 comments on commit 8a3799e

Please sign in to comment.