summaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-02-13 19:49:42 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-02-13 19:49:42 +0800
commit5cc275b1defc56d54bec23d1a5740c3fadcff2b0 (patch)
tree77bbff1e221e5a3b60044ba4b33d55ba5a251d45 /templates/admin
parent091f0637060f62b5a94e9594b062f56919c2192c (diff)
downloadgitea-5cc275b1defc56d54bec23d1a5740c3fadcff2b0.tar.gz
gitea-5cc275b1defc56d54bec23d1a5740c3fadcff2b0.zip
feat: add git version on admin panel. (#921)
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/config.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index f0c349b1de..12a25e8e5d 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -32,6 +32,11 @@
<div class="ui divider"></div>
+ <dt>{{.i18n.Tr "admin.config.git_version"}}</dt>
+ <dd>{{.GitVersion}}</dd>
+
+ <div class="ui divider"></div>
+
<dt>{{.i18n.Tr "admin.config.repo_root_path"}}</dt>
<dd>{{.RepoRootPath}}</dd>
<dt>{{.i18n.Tr "admin.config.static_file_root_path"}}</dt>