File tree Expand file tree Collapse file tree 4 files changed +35
-3
lines changed
app/shared/vulnerability/list Expand file tree Collapse file tree 4 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 27
27
< div class ="description ">
28
28
< markdown [data] ="v.description "> </ markdown >
29
29
</ div >
30
+ < a class ="pointing " (click) ="showMore = !showMore ">
31
+ < span *ngIf ="showMore "> {{ 'vunerability_hide' | translate }}</ span >
32
+ < span *ngIf ="!showMore "> {{ 'vulnerability_showmore' | translate }}</ span >
33
+ </ a >
34
+ < div class ="more " *ngIf ="showMore ">
35
+ < div class ="origin ">
36
+ < h4 > {{ 'vulnerability_origin' | translate }}</ h4 >
37
+ < pre > {{v.origin}}</ pre >
38
+ </ div >
39
+ < div class ="fixin ">
40
+ < h4 > {{ 'vulnerability_fixin' | translate }}</ h4 >
41
+ < pre > {{v.fix_in}}</ pre >
42
+ </ div >
43
+ </ div >
30
44
</ div >
31
45
</ li >
32
46
</ ul >
Original file line number Diff line number Diff line change 68
68
69
69
.resume {
70
70
padding-top : 10px ;
71
+
72
+ .description {
73
+ pre {
74
+ white-space : initial ;
75
+ }
76
+ }
77
+ .more {
78
+ margin-top : 10px ;
79
+
80
+ pre {
81
+ white-space : pre-line ;
82
+ }
83
+ }
71
84
}
72
85
}
73
86
li :first-child {
85
98
}
86
99
}
87
100
88
- pre {
89
- white-space : initial ;
90
- }
Original file line number Diff line number Diff line change 717
717
"vcs_ssh_key" : " SSH key" ,
718
718
"vcs_pgp_key" : " PGP key" ,
719
719
720
+ "vulnerability_fixin" : " Fix in" ,
721
+ "vunerability_hide" : " Hide" ,
720
722
"vulnerability_ignore" : " Ignore" ,
721
723
"vulnerability_no" : " No vulnerabilities detected" ,
724
+ "vulnerability_origin" : " Origin" ,
725
+ "vulnerability_showmore" : " Show more" ,
722
726
"vulnerability_updated" : " Vulnerability updated" ,
723
727
724
728
"warning_context" : " Context" ,
Original file line number Diff line number Diff line change 717
717
"vcs_ssh_key" : " Clé SSH" ,
718
718
"vcs_pgp_key" : " Clé PGP" ,
719
719
720
+ "vulnerability_fixin" : " Fixé en" ,
721
+ "vunerability_hide" : " Cacher" ,
720
722
"vulnerability_ignore" : " Ignorer" ,
721
723
"vulnerability_no" : " Aucune vulnérabilité détectée" ,
724
+ "vulnerability_origin" : " Origine" ,
725
+ "vulnerability_showmore" : " Voir plus" ,
722
726
"vulnerability_updated" : " Vulnérabilité mise à jour" ,
723
727
724
728
"warning_context" : " Contexte" ,
You can’t perform that action at this time.
0 commit comments