1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00

ui for adding following repos

This commit is contained in:
Michael Jerger 2024-05-24 13:28:15 +02:00
parent eea841d25d
commit 82cb9e0203
15 changed files with 284 additions and 0 deletions

View file

@ -1,3 +1,4 @@
// Copyright 2024 The Forgejo Authors. All rights reserved.
// Copyright 2018 The Gitea Authors. All rights reserved.
// Copyright 2014 The Gogs Authors. All rights reserved.
// SPDX-License-Identifier: MIT
@ -156,6 +157,9 @@ func NewFuncMap() template.FuncMap {
"MermaidMaxSourceCharacters": func() int {
return setting.MermaidMaxSourceCharacters
},
"FederationEnabled": func() bool {
return setting.Federation.Enabled
},
// -----------------------------------------------------------------
// render