diff options
| author | Joe Mou <dev@mou.fo> | 2026-01-28 22:41:00 -0500 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-01-28 23:03:09 -0500 |
| commit | 94fcda59a064b5e8952d1bccb6b9a153c39acda1 (patch) | |
| tree | 849ac2b7f33f62f774d145856eaee5267e3593ae /cgithub/views/layout.eta | |
| parent | 631bc70d94cd12d0432cca1a220a3642eea6976a (diff) | |
Commits list
Diffstat (limited to 'cgithub/views/layout.eta')
| -rw-r--r-- | cgithub/views/layout.eta | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cgithub/views/layout.eta b/cgithub/views/layout.eta index f4535df..a404437 100644 --- a/cgithub/views/layout.eta +++ b/cgithub/views/layout.eta @@ -13,6 +13,9 @@ git clone git@github.com:<%= it.repo.owner %>/<%= it.repo.name %>.git</code></pr <nav> <a href="/<%= it.repo.owner %>/<%= it.repo.name %>">Code</a> <a href="/<%= it.repo.owner %>/<%= it.repo.name %>/issues">Issues</a> + <% if (it.branch) { %> + <a href="/<%= it.repo.owner %>/<%= it.repo.name %>/commits/<%= it.branch %><%= it.path && it.path !== '/' ? '/' + it.path : '' %>">Commits</a> + <% } %> </nav> </div> |
