blob: 195ea0776d41cca58778b99ed14cdcc1c21e957a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
{{define "bugs"}}
<div class="row">
<div class="col-md-9">
{{$general_bugs := 0}}
{{$stabilization_bugs := 0}}
{{$keywording_bugs := 0}}
{{range .Package.AllBugs}}
{{if eq .Component "Current packages"}}
{{$general_bugs = (add $general_bugs 1)}}
{{else if eq .Component "Stabilization"}}
{{$stabilization_bugs = (add $stabilization_bugs 1)}}
{{else if eq .Component "Keywording"}}
{{$keywording_bugs = (add $keywording_bugs 1)}}
{{end}}
{{end}}
{{if .Package.AllBugs}}
{{if $general_bugs}}
<h3 id="packages" class="mb-4">Bug Reports</h3>
<ul class="list-group">
{{range .Package.Bugs}}
{{if eq .Component "Current packages"}}
<li class="list-group-item">
<div class="row">
<div class="col-md-12">
<i class="fa fa-bug" aria-hidden="true"></i>
<a href="https://bugs.gentoo.org/{{.Id}}" class="text-dark"><b>{{.Summary}}</b></a>
</div>
<div class="col-md-12 text-muted">
{{.Id}} - Assigned to {{.Assignee}}
</div>
</div>
</li>
{{end}}
{{end}}
</ul>
{{end}}
{{if $stabilization_bugs}}
<h3 id="stabilization" class="my-4">Stabilization Bug Reports</h3>
<ul class="list-group">
{{range .Package.AllBugs}}
{{if eq .Component "Stabilization"}}
<li class="list-group-item">
<div class="row">
<div class="col-md-12">
<i class="fa fa-bug" aria-hidden="true"></i>
<a href="https://bugs.gentoo.org/{{.Id}}" class="text-dark"><b>{{.Summary}}</b></a>
</div>
<div class="col-md-12 text-muted">
{{.Id}} - Assigned to {{.Assignee}}
</div>
</div>
</li>
{{end}}
{{end}}
</ul>
{{end}}
{{if $keywording_bugs}}
<h3 id="keywording" class="my-4">Keywording Bug Reports</h3>
<ul class="list-group">
{{range .Package.AllBugs}}
{{if eq .Component "Keywording"}}
<li class="list-group-item">
<div class="row">
<div class="col-md-12">
<i class="fa fa-bug" aria-hidden="true"></i>
<a href="https://bugs.gentoo.org/{{.Id}}" class="text-dark"><b>{{.Summary}}</b></a>
</div>
<div class="col-md-12 text-muted">
{{.Id}} - Assigned to {{.Assignee}}
</div>
</div>
</li>
{{end}}
{{end}}
</ul>
{{end}}
{{else}}
<div class="row pt-5">
<div class="col-md-4">
<img style="width: 100%;" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Larry-the-cow-full.svg/1200px-Larry-the-cow-full.svg.png"/>
</div>
<div class="col-md-8 pt-3">
<h2>Good job! There are no bugs.</h2>
<span>You think something is missing here? <br/> Start with filling a <a href="https://bugs.gentoo.org/enter_bug.cgi">new bug</a>.</span>
</div>
</div>
{{end}}
</div>
<div class="col-md-3 pt-5">
<h4 class="">
<a class="collapseLink" style="color:#000000;" data-toggle="collapse" href="#collapseDescription" role="button" aria-expanded="false" aria-controls="collapseDescription">
Description
</a>
</h4>
<div class="collapse show" id="collapseDescription">
<span class="text-muted">
Gentoo Bugzilla is where we track bugs of Gentoo and its packages; you are welcome to report, confirm and resolve bugs:
<ul>
<li><a href="https://bugs.gentoo.org/enter_bug.cgi">File a new Bug</a></li>
<li><a href="https://bugs.gentoo.org/">Confirm a bug</a></li>
<li><a href="https://sites.google.com/site/yacoset/Home/how-to-fix-bugs-step-by-step">Offer solutions for open bugs</a></li>
<li><a href="https://wiki.gentoo.org/wiki/Bugday">Participate in our monthly Bugday</a></li>
</ul>
</span>
</div>
<h4 class="">
<a class="collapseLink" style="color:#000000;" data-toggle="collapse" href="#collapseShortcuts" role="button" aria-expanded="false" aria-controls="collapseShortcuts">
Shortcuts
</a>
</h4>
<div class="collapse show" id="collapseShortcuts">
<ul>
<li>{{if $general_bugs}}<a href="#packages">Packages Bugs ({{$general_bugs}})</a>{{else}}<a>Packages Bugs (0)</a>{{end}}</li>
<li>{{if $stabilization_bugs}}<a href="#stabilization">Stabilization Bugs ({{$stabilization_bugs}})</a>{{else}}<a>Stabilization Bugs (0)</a>{{end}}</li>
<li>{{if $keywording_bugs}}<a href="#keywording">Keywording Bugs ({{$keywording_bugs}})</a>{{else}}<a>Keywording Bugs (0)</a>{{end}}</li>
</ul>
</div>
</div>
</div>
{{end}}
|