- commit
- 3eb94cf
- parent
- 5703a1f
- author
- Eric Bower
- date
- 2024-12-21 15:21:59 -0500 EST
feat: filter links for pr-table
2 files changed,
+17,
-1
+13,
-1
1@@ -211,11 +211,23 @@ git rebase -i origin/main
2 git push origin main
3
4 # Done!
5-```</pre>
6+</pre>
7 </details>
8 </header>
9
10 <main>
11+ <div>
12+ filter
13+ <a href="/">all</a>
14+ ·
15+ <a href="/?status=open">open</a>
16+ ·
17+ <a href="/?status=reviewed">reviewed</a>
18+ ·
19+ <a href="/?status=accepted">accepted</a>
20+ ·
21+ <a href="/?status=closed">closed</a>
22+ </div>
23 {{template "pr-table" .Prs}}
24 </main>
25
+4,
-0
1@@ -24,6 +24,10 @@
2 </td>
3 <td><date>{{.Date}}</date></td>
4 </tr>
5+ {{else}}
6+ <tr>
7+ <td colspan="5">No patch requests found.</td>
8+ </tr>
9 {{end}}
10 </tbody>
11 </table>