mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Show Postgres version in about page
This commit is contained in:
parent
dde2ca06c3
commit
421bb467d0
16 changed files with 70 additions and 45 deletions
|
@ -32,6 +32,7 @@ func (h *handler) showAboutPage(w http.ResponseWriter, r *http.Request) {
|
|||
view.Set("countUnread", h.store.CountUnreadEntries(user.ID))
|
||||
view.Set("countErrorFeeds", h.store.CountUserFeedsWithErrors(user.ID))
|
||||
view.Set("globalConfigOptions", config.Opts.SortedOptions())
|
||||
view.Set("postgres_version", h.store.DatabaseVersion())
|
||||
|
||||
html.OK(w, r, view.Render("about"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue