summaryrefslogtreecommitdiff
path: root/cgithub/views/blob.eta
diff options
context:
space:
mode:
Diffstat (limited to 'cgithub/views/blob.eta')
-rw-r--r--cgithub/views/blob.eta3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgithub/views/blob.eta b/cgithub/views/blob.eta
index be9a57e..2014b14 100644
--- a/cgithub/views/blob.eta
+++ b/cgithub/views/blob.eta
@@ -8,6 +8,9 @@
<% } %>
<div><%= it.size %></div>
<div>
+ <a href="/<%= it.repo.owner %>/<%= it.repo.name %>/commits/<%= it.branch %>/<%= it.path %>">History</a>
+ </div>
+ <div>
<a href="/<%= it.repo.owner %>/<%= it.repo.name %>/raw/<%= it.branch %>/<%= it.path %>">View raw</a>
</div>
</div>