Skip to content

Commit

Permalink
Update view
Browse files Browse the repository at this point in the history
We have some new data it is useful to show
  • Loading branch information
rich committed Sep 11, 2024
1 parent 9ade1bb commit 1399faa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,17 @@
{% else %}
There are <span class="font-bold">{{ totalRepos }}</span> repositories
{% endif %}
that Towtruck is tracking for <span class="font-bold">{{ name }}</span>.
that Towtruck is tracking for <span class="font-bold">{{ org }}</span>.
</p>
<div class="mx-4">
<table class="table-auto w-full mb-4 border-y border-stone-200">
<thead class="bg-white border-b border-stone-200 text-left">
<tr class="space-x-2">
<th class="py-2 pl-2" scope="col">Name</th>
<th class="py-2 pl-2" scope="col">Description</th>
<th class="py-2 pl-2" scope="col">Language</th>
<th class="py-2 pl-2" scope="col">Owners</th>
<th class="py-2 pl-2" scope="col">Open issues count</th>
<th class="py-2 pl-2 last:pr-2" scope="col">Last updated</th>
</tr>
</thead>
Expand All @@ -40,6 +43,9 @@
<tr class="even:bg-white">
<td class="py-2 pl-2"><a target="_blank" class="text-blue-600 dark:text-blue-500 hover:underline" href="{{repo.url}}">{{ repo.name }}</a></td>
<td class="py-2 pl-2">{{ repo.description }}</td>
<td class="py-2 pl-2">{{ repo.language }}</td>
<td class="py-2 pl-2">{{ repo.topics | join(", ")}}</td>
<td class="py-2 pl-2">{{ repo.openIssues }}</td>
<td class="py-2 pl-2 last:pr-2">{{ repo.updatedAt }}</td>
</tr>
{% else %}
Expand Down

0 comments on commit 1399faa

Please sign in to comment.