aboutsummaryrefslogtreecommitdiff
path: root/views/pulls.eta
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-05-27 14:02:36 -0400
committerJoe Mou <dev@mou.fo>2026-05-27 23:38:34 -0400
commit15206d169c89b8a337b3f929a23ff3f71cdd5a89 (patch)
treea6abab640b3b5e7e18edf2e70714261f8cf68fe0 /views/pulls.eta
parent96396c4ed853652ea311d006b4ebe6af15b40684 (diff)
Pull request index
Diffstat (limited to 'views/pulls.eta')
-rw-r--r--views/pulls.eta15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/pulls.eta b/views/pulls.eta
new file mode 100644
index 0000000..9ec5ca1
--- /dev/null
+++ b/views/pulls.eta
@@ -0,0 +1,15 @@
+<% layout("./layout"); it.searchType = "pullrequests" %>
+
+<table>
+ <% for (const pull of it.pulls) { %>
+ <tr>
+ <td>#<%= pull.number %></td>
+ <td>
+ <a href="/<%= it.repo.owner %>/<%= it.repo.name %>/pull/<%= pull.number %>">
+ <%= pull.title %>
+ </a>
+ </td>
+ <td class="timestamp"><time title="<%= pull.createdAt %>"><%= pull.createdAt.split("T")[0] %></time></td>
+ </tr>
+ <% } %>
+</table>