From 2bb5ea138c49cdc777a9316c40d7945d83491b7e Mon Sep 17 00:00:00 2001 From: Maximilian Grundke Date: Wed, 10 Oct 2018 13:41:05 +0200 Subject: [PATCH] Display branch and commit info in dashboard --- app/views/admin/dashboard/show.html.slim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/views/admin/dashboard/show.html.slim b/app/views/admin/dashboard/show.html.slim index 805f7819..c09c7f82 100644 --- a/app/views/admin/dashboard/show.html.slim +++ b/app/views/admin/dashboard/show.html.slim @@ -4,6 +4,15 @@ 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 - if DockerContainerPool.config[:active]