(refs #2023)Move GitBucket version from global header to admin page

This commit is contained in:
Naoki Takezoe
2018-05-23 14:50:28 +09:00
parent 31d546fd5a
commit d95a6b8134
3 changed files with 8 additions and 7 deletions

View File

@@ -8,6 +8,10 @@
<th>Property</th>
<th>Value</th>
</tr>
<tr>
<td>GITBUCKET_VERSION</td>
<td>@gitbucket.core.GitBucketCoreModule.getVersions.last.getVersion</td>
</tr>
<tr>
<td>GITBUCKET_HOME</td>
<td>@gitbucket.core.util.Directory.GitBucketHome</td>

View File

@@ -48,9 +48,10 @@
<header class="main-header">
<a href="@context.path/" class="logo">
<span class="logo-mini"><img src="@helpers.assets("/common/images/gitbucket.svg")" alt="GitBucket" /></span>
<span class="logo-lg"><img src="@helpers.assets("/common/images/gitbucket.svg")" alt="GitBucket" />
<span class="header-title strong">GitBucket</span>
<span class="header-version">@gitbucket.core.GitBucketCoreModule.getVersions.last.getVersion</span></span>
<span class="logo-lg">
<img src="@helpers.assets("/common/images/gitbucket.svg")" alt="GitBucket" />
<span class="header-title strong">GitBucket</span>
</span>
</a>
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->

View File

@@ -138,10 +138,6 @@ div.content-wrapper {
/* ======================================================================== */
/* Global Header */
/* ======================================================================== */
span.header-version {
font-size: small;
}
.main-header .logo img {
width: 24px;
height: 24px;