mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-08 14:03:24 +09:00
chore(actions): Add icon for status filter (#38082)
<img width="352" height="391" alt="image" src="https://github.com/user-attachments/assets/261dd567-49c2-4fc6-a646-5f8641e08192" /> --------- Co-authored-by: bircni <bircni@icloud.com>
This commit is contained in:
@@ -111,6 +111,7 @@ func (opts FindRunOptions) ToOrders() string {
|
||||
|
||||
type StatusInfo struct {
|
||||
Status int
|
||||
StatusName string
|
||||
DisplayedStatus string
|
||||
}
|
||||
|
||||
@@ -122,6 +123,7 @@ func GetStatusInfoList(ctx context.Context, lang translation.Locale) []StatusInf
|
||||
for _, s := range allStatus {
|
||||
statusInfoList = append(statusInfoList, StatusInfo{
|
||||
Status: int(s),
|
||||
StatusName: s.String(),
|
||||
DisplayedStatus: s.LocaleString(lang),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user