add git commit hash on admin ui
This commit is contained in:
@@ -290,6 +290,9 @@ templ Layout(view ViewContext, content templ.Component) {
|
||||
<div class="container-fluid text-center">
|
||||
<small class="text-muted">
|
||||
© {fmt.Sprintf("%d", time.Now().Year())} SeaweedFS Admin v{version.VERSION_NUMBER}
|
||||
if version.COMMIT != "" {
|
||||
<span class="mx-1">({version.COMMIT})</span>
|
||||
}
|
||||
if !strings.Contains(version.VERSION, "enterprise") {
|
||||
<span class="mx-2">•</span>
|
||||
<a href="https://seaweedfs.com" target="_blank" class="text-decoration-none">
|
||||
|
||||
Reference in New Issue
Block a user