(refs #24)Add GitBucket version to the header.

This commit is contained in:
takezoe
2013-07-06 03:11:05 +09:00
parent 5ea250d89d
commit bcd88a1342
2 changed files with 10 additions and 0 deletions

View File

@@ -52,6 +52,9 @@
</div><!--/.nav-collapse -->
</div>
</div>
@defining(servlet.AutoUpdate.getCurrentVersion){ version =>
<div class="gitbucket-version">version @version.majorVersion.@version.minorVersion</div>
}
</div>
<div class="container body">
@body

View File

@@ -5,6 +5,13 @@ body {
color: #333;
}
div.gitbucket-version {
font-size: small;
color: silver;
float: right;
margin-right: 10px;
}
table.global-nav {
width: 920px;
margin-bottom: 10px;