mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
Improve ui for builds
This commit is contained in:
@@ -472,6 +472,9 @@ func NewFuncMap() []template.FuncMap {
|
||||
curBranch,
|
||||
)
|
||||
},
|
||||
"RefShortName": func(ref string) string {
|
||||
return git.RefName(ref).ShortName()
|
||||
},
|
||||
}}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user