File tree Expand file tree Collapse file tree 5 files changed +40
-29
lines changed
scanpipe/templates/scanpipe Expand file tree Collapse file tree 5 files changed +40
-29
lines changed Original file line number Diff line number Diff line change 50
50
{% empty %}
51
51
< tr >
52
52
< td colspan ="42 " class ="has-text-centered p-3 ">
53
- No Licenses detected. < a href ="? "> Clear search and filters</ a >
53
+ No licenses detected. < a href ="? "> Clear search and filters</ a >
54
54
</ td >
55
55
</ tr >
56
56
{% endfor %}
Original file line number Diff line number Diff line change 3
3
< div class ="column is-half ">
4
4
< nav class ="panel is-info ">
5
5
< p class ="panel-heading py-2 is-size-6 ">
6
- Unique License detections
6
+ Unique license detections
7
7
</ p >
8
8
{% for license_expression, count in license_detection_summary.items %}
9
9
< a class ="panel-block is-align-items-flex-start break-word is-flex is-align-items-center " href ="{{ project_licenses_url }}?license_expression={{ license_expression|default:'_EMPTY_' }} " target ="_blank ">
16
16
{% endfor %}
17
17
{% if total_counts.all %}
18
18
< a class ="panel-block is-align-items-flex-start break-word is-flex is-align-items-center " href ="{{ project_licenses_url }} " target ="_blank ">
19
- See all License Detections
19
+ See all license detections
20
20
< span class ="tag is-rounded ml-1 "> {{ total_counts.all|intcomma }}</ span >
21
21
{% if total_counts.with_compliance_error %}
22
22
< span class ="has-text-danger is-size-6 ml-2 ">
Original file line number Diff line number Diff line change 2
2
< table class ="table is-bordered is-striped is-narrow is-hoverable is-fullwidth ">
3
3
< thead >
4
4
< tr >
5
- < th > License Expression</ th >
6
- < th > Origin Resource Path</ th >
5
+ < th > License expression</ th >
6
+ < th > Origin resource path</ th >
7
+ < th > Matched text</ th >
7
8
< th > Rule URL</ th >
8
9
< th > Score</ th >
9
10
< th > Matcher</ th >
10
- < th > Match Length </ th >
11
- < th > Match Coverage </ th >
12
- < th > Rule Relevance </ th >
11
+ < th > Match length </ th >
12
+ < th > Match coverage </ th >
13
+ < th > Rule relevance </ th >
13
14
</ tr >
14
15
</ thead >
15
16
< tbody >
22
23
< a href ="{% url 'resource_detail' project.slug match.from_file %}#detection "> {{ match.from_file }}</ a >
23
24
</ td >
24
25
< td class ="break-all ">
25
- {{ match.rule_url }}
26
+ {{ match.matched_text }}
27
+ </ td >
28
+ < td class ="break-all ">
29
+ {% if match.rule_url %}
30
+ < a href ="{{match.rule_url}} ">
31
+ {{ match.rule_identifier }}
32
+ < i class ="fa-solid fa-up-right-from-square is-small "> </ i >
33
+ </ a >
34
+ {% else %}
35
+ {{ match.rule_identifier }}
36
+ {% endif %}
26
37
</ td >
27
38
< td class ="break-all ">
28
39
{{ match.score }}
47
58
< table class ="table is-bordered is-striped is-narrow is-hoverable is-fullwidth ">
48
59
< thead >
49
60
< tr >
50
- < th > Detection Log </ th >
61
+ < th > Detection log </ th >
51
62
</ tr >
52
63
</ thead >
53
64
< tbody >
64
75
< table class ="table is-bordered is-striped is-narrow is-hoverable is-fullwidth ">
65
76
< thead >
66
77
< tr >
67
- < th > Resource Path </ th >
68
- < th > Start Line </ th >
69
- < th > End Line </ th >
78
+ < th > Resource path </ th >
79
+ < th > Start line </ th >
80
+ < th > End line </ th >
70
81
</ tr >
71
82
</ thead >
72
83
< tbody >
Original file line number Diff line number Diff line change 2
2
< table class ="table is-bordered is-striped is-narrow is-hoverable is-fullwidth ">
3
3
< thead >
4
4
< tr >
5
- < th > Datafile Paths </ th >
5
+ < th > Datafile paths </ th >
6
6
</ tr >
7
7
</ thead >
8
8
< tbody >
35
35
< table class ="table is-bordered is-striped is-narrow is-hoverable is-fullwidth ">
36
36
< thead >
37
37
< tr >
38
- < th > License Detections </ th >
39
- < th > License Expression </ th >
40
- < th > License Expression SPDX</ th >
38
+ < th > License detections </ th >
39
+ < th > License expression </ th >
40
+ < th > License expression SPDX</ th >
41
41
</ tr >
42
42
</ thead >
43
43
< tbody >
61
61
< table class ="table is-bordered is-striped is-narrow is-hoverable is-fullwidth ">
62
62
< thead >
63
63
< tr >
64
- < th > License Detections </ th >
65
- < th > License Expression </ th >
66
- < th > License Expression SPDX</ th >
64
+ < th > License detections </ th >
65
+ < th > License expression </ th >
66
+ < th > License expression SPDX</ th >
67
67
</ tr >
68
68
</ thead >
69
69
< tbody >
Original file line number Diff line number Diff line change 3
3
< table class ="table is-bordered is-striped is-narrow is-hoverable is-fullwidth ">
4
4
< thead >
5
5
< tr >
6
- < th > License Detections </ th >
7
- < th > License Expression </ th >
8
- < th > License Expression SPDX</ th >
6
+ < th > License detections </ th >
7
+ < th > License expression </ th >
8
+ < th > License expression SPDX</ th >
9
9
</ tr >
10
10
</ thead >
11
11
< tbody >
29
29
< table class ="table is-bordered is-striped is-narrow is-hoverable is-fullwidth ">
30
30
< thead >
31
31
< tr >
32
- < th > License Expression </ th >
33
- < th > License Clue Detials </ th >
32
+ < th > License expression </ th >
33
+ < th > License clue detials </ th >
34
34
</ tr >
35
35
</ thead >
36
36
< tbody >
52
52
< thead >
53
53
< tr >
54
54
< th > Email</ th >
55
- < th > Start Line </ th >
56
- < th > End Line </ th >
55
+ < th > Start line </ th >
56
+ < th > End line </ th >
57
57
</ tr >
58
58
</ thead >
59
59
< tbody >
78
78
< thead >
79
79
< tr >
80
80
< th > URL</ th >
81
- < th > Start Line </ th >
82
- < th > End Line </ th >
81
+ < th > Start line </ th >
82
+ < th > End line </ th >
83
83
</ tr >
84
84
</ thead >
85
85
< tbody >
You can’t perform that action at this time.
0 commit comments