diff options
| author | Joe Mou <dev@mou.fo> | 2026-07-15 01:18:50 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-07-15 01:18:50 -0400 |
| commit | d1cf004c578821a2025c1cd3a23fcb57b6d5ad51 (patch) | |
| tree | e731e82b1b8618d87b1903d28615ff0c17d4af4d /views | |
| parent | 18db9dae971a0681c8537d94092cd68fe8f65fa5 (diff) | |
Add organization support to owner pages
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'views')
| -rw-r--r-- | views/home.eta | 2 | ||||
| -rw-r--r-- | views/owner.eta (renamed from views/user.eta) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/home.eta b/views/home.eta index 0026ea3..604e4d0 100644 --- a/views/home.eta +++ b/views/home.eta @@ -12,7 +12,7 @@ </header> <main> - <p>Browse any GitHub repository by navigating to <code>/:owner/:repo</code>, or a user profile at <code>/:user</code></p> + <p>Browse any GitHub repository by navigating to <code>/:owner/:repo</code>, or a user or organization profile at <code>/:owner</code></p> </main> <h2>Credits</h2> diff --git a/views/user.eta b/views/owner.eta index cf2da94..4426400 100644 --- a/views/user.eta +++ b/views/owner.eta @@ -12,7 +12,7 @@ <img class="avatar" src="<%= it.avatarUrl %>" alt="" width="64" height="64"> <% } %> <div class="repo"><%= it.name || it.login %></div> - <div class="detail"><%= it.login %></div> + <div class="detail"><%= it.login %><%= it.type === "organization" ? " (organization)" : "" %></div> <% if (it.bio) { %> <div class="description"><%= it.bio %></div> <% } %> |
