summaryrefslogtreecommitdiff
path: root/cgithub/views
diff options
context:
space:
mode:
Diffstat (limited to 'cgithub/views')
-rw-r--r--cgithub/views/repo.eta3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgithub/views/repo.eta b/cgithub/views/repo.eta
index 4965e75..5bebb95 100644
--- a/cgithub/views/repo.eta
+++ b/cgithub/views/repo.eta
@@ -17,6 +17,9 @@
<% if (it.info.forks) { %>
<span class="count"><img src="/static/icons/git-fork.svg" alt="forks" class="icon"> <%= it.info.forks %></span>
<% } %>
+ <% if (it.info.numReleases) { %>
+ <div><a href="/<%= it.repo.owner %>/<%= it.repo.name %>/releases" rel="noreferrer"><%= it.info.numReleases %> releases</a></div>
+ <% } %>
</div>
<% } %>