1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Remove unnecessary template helper repoAvatar (#26387)

And simplify the "repo/icon" code
This commit is contained in:
wxiaoguang
2023-08-08 15:29:35 +08:00
committed by GitHub
parent 6913053223
commit 78b2a1cc36
6 changed files with 16 additions and 42 deletions

View File

@@ -59,7 +59,6 @@ func NewFuncMap() template.FuncMap {
"avatarHTML": AvatarHTML,
"avatarByAction": AvatarByAction,
"avatarByEmail": AvatarByEmail,
"repoAvatar": RepoAvatar,
"EntryIcon": base.EntryIcon,
"MigrationIcon": MigrationIcon,
"ActionIcon": ActionIcon,