Display branch and commit info in dashboard

This commit is contained in:
Maximilian Grundke
2018-10-10 13:41:05 +02:00
parent 58db646e3e
commit 2bb5ea138c

View File

@ -4,6 +4,15 @@
h1 = t('breadcrumbs.dashboard.show') h1 = t('breadcrumbs.dashboard.show')
h2 Version
div
= "Branch:"
pre = `git rev-parse --abbrev-ref HEAD`
div
= "Commit:"
pre = `git log -n 1 --pretty`
h2 Docker h2 Docker
- if DockerContainerPool.config[:active] - if DockerContainerPool.config[:active]