diff options
author | a1012112796 <1012112796@qq.com> | 2021-09-06 22:11:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 16:11:17 +0200 |
commit | 82da380af73cba733f15f12f12807a12f8efcc56 (patch) | |
tree | da4c59d5406a3436b0f2ca9ececf8719a8a58c5b /modules | |
parent | 0767fe0d806a36b5d23bc2714c740be93a6b18dc (diff) | |
download | gitea-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.go | 2 |
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" |