summaryrefslogtreecommitdiff
path: root/web/views/taginfo
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-02-17 19:19:29 +0100
committerJochen Topf <jochen@topf.org>2014-02-17 19:19:29 +0100
commit176e54e15fda739bdf60bafe0ec37661d455a805 (patch)
treed8d7d0faaa247799eb67e437424003ec548b7cea /web/views/taginfo
parent7ad1d2ab1a29ced35f0f7af03477c5d09137b3e5 (diff)
downloadtaginfo-176e54e15fda739bdf60bafe0ec37661d455a805.tar
taginfo-176e54e15fda739bdf60bafe0ec37661d455a805.tar.gz
Add git commit SHA to /taginfo output
This way we can see what software version the server is running.
Diffstat (limited to 'web/views/taginfo')
-rw-r--r--web/views/taginfo/index.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/views/taginfo/index.erb b/web/views/taginfo/index.erb
index 4f2875c..9bd0752 100644
--- a/web/views/taginfo/index.erb
+++ b/web/views/taginfo/index.erb
@@ -8,6 +8,8 @@
<li><a href="/taginfo/apidoc"><%= t.taginfo.apidoc %></a></li>
<li><a href="/taginfo/i18n">taginfo text translations</a></li>
</ul>
+ <h2>Software Version</h2>
+ <p><%= @commit %></p>
<h2>Config Settings</h2>
<table class="list">
<tr><th class="tl">Variable</th><th class="tl">Setting</th></tr>