mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Display Go version on /about
Translations are copy-paste best effort from the equivalent Postgres string, and might not account for grammatical gender, etc.
This commit is contained in:
parent
93277f4307
commit
7111b3749d
16 changed files with 18 additions and 1 deletions
|
@ -6,6 +6,7 @@ package ui // import "miniflux.app/ui"
|
|||
|
||||
import (
|
||||
"net/http"
|
||||
"runtime"
|
||||
|
||||
"miniflux.app/config"
|
||||
"miniflux.app/http/request"
|
||||
|
@ -33,6 +34,7 @@ func (h *handler) showAboutPage(w http.ResponseWriter, r *http.Request) {
|
|||
view.Set("countErrorFeeds", h.store.CountUserFeedsWithErrors(user.ID))
|
||||
view.Set("globalConfigOptions", config.Opts.SortedOptions(true))
|
||||
view.Set("postgres_version", h.store.DatabaseVersion())
|
||||
view.Set("go_version", runtime.Version())
|
||||
|
||||
html.OK(w, r, view.Render("about"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue