summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authora1012112796 <1012112796@qq.com>2021-09-06 22:11:17 +0800
committerGitHub <noreply@github.com>2021-09-06 16:11:17 +0200
commit82da380af73cba733f15f12f12807a12f8efcc56 (patch)
treeda4c59d5406a3436b0f2ca9ececf8719a8a58c5b /modules
parent0767fe0d806a36b5d23bc2714c740be93a6b18dc (diff)
downloadgitea-82da380af73cba733f15f12f12807a12f8efcc56.tar.gz
gitea-82da380af73cba733f15f12f12807a12f8efcc56.zip
Add missing icon set for `ActionRenameRepo` (#16972)
Signed-off-by: a1012112796 <1012112796@qq.com>
Diffstat (limited to 'modules')
-rw-r--r--modules/templates/helper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index 00b07dcec9..f8a93228dd 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -777,7 +777,7 @@ type Actioner interface {
// ActionIcon accepts an action operation type and returns an icon class name.
func ActionIcon(opType models.ActionType) string {
switch opType {
- case models.ActionCreateRepo, models.ActionTransferRepo:
+ case models.ActionCreateRepo, models.ActionTransferRepo, models.ActionRenameRepo:
return "repo"
case models.ActionCommitRepo, models.ActionPushTag, models.ActionDeleteTag, models.ActionDeleteBranch:
return "git-commit"