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:
parent
eea841d25d
commit
82cb9e0203
15 changed files with 284 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue