mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
change name
This commit is contained in:
@@ -39,7 +39,7 @@ class IssuePriority < ApplicationRecord
|
||||
end
|
||||
end
|
||||
|
||||
def mp_color
|
||||
def pm_color
|
||||
case name
|
||||
when '低'
|
||||
'#13b33e'
|
||||
|
||||
@@ -51,7 +51,7 @@ class IssueStatus < ApplicationRecord
|
||||
end
|
||||
end
|
||||
|
||||
def mp_color
|
||||
def pm_color
|
||||
case name
|
||||
when '新增'
|
||||
'#ff6f00'
|
||||
|
||||
@@ -1 +1 @@
|
||||
json.(priority, :id, :name,:mp_color)
|
||||
json.(priority, :id, :name,:pm_color)
|
||||
|
||||
@@ -1 +1 @@
|
||||
json.(status, :id, :name, :mp_color)
|
||||
json.(status, :id, :name, :pm_color)
|
||||
|
||||
Reference in New Issue
Block a user