mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
clickable commit hash link
This commit is contained in:
parent
7970f51353
commit
8161d21f98
5 changed files with 5 additions and 4 deletions
|
@ -32,5 +32,5 @@
|
|||
|
||||
.footer.text-right
|
||||
Version
|
||||
= CURRENT_COMMIT_HASH
|
||||
= link_to "#{CURRENT_COMMIT_HASH}", "#{CURRENT_COMMIT_REPO}/commits/#{CURRENT_COMMIT_HASH}"
|
||||
= javascript_include_tag 'admin-manifest', async: true
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
</div>
|
||||
<div class="col-md-6 text-right">
|
||||
Version
|
||||
<%= CURRENT_COMMIT_HASH %>
|
||||
<%= link_to(CURRENT_COMMIT_HASH, CURRENT_COMMIT_REPO/commits/CURRENT_COMMIT_HASH) %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
</div>
|
||||
<div class="col-md-6 text-right">
|
||||
Version
|
||||
<%= CURRENT_COMMIT_HASH %>
|
||||
<%= link_to(CURRENT_COMMIT_HASH, CURRENT_COMMIT_REPO/commits/CURRENT_COMMIT_HASH) %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
</div>
|
||||
<div class="col-md-6 text-right">
|
||||
Version
|
||||
<%= CURRENT_COMMIT_HASH %>
|
||||
<%= link_to(CURRENT_COMMIT_HASH, CURRENT_COMMIT_REPO/commits/CURRENT_COMMIT_HASH) %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
CURRENT_COMMIT_HASH = `git rev-parse --short HEAD`
|
||||
CURRENT_COMMIT_REPO = `git remote get-url origin`
|
Loading…
Add table
Add a link
Reference in a new issue