This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Merge pull request '调整方法名 mp_color - pm_color' (
#191
) from KingChan/forgeplus:pm_project_develop into pm_project_develop
pull/347/head
KingChan
2 years ago
parent
130024677f
7fb462d2db
commit
2cb7a1cf7e
4 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/issue_priority.rb
+1
-1
app/models/issue_status.rb
+1
-1
app/views/api/v1/issues/issue_priorities/_simple_detail.json.jbuilder
+1
-1
app/views/api/v1/issues/statues/_simple_detail.json.jbuilder
+ 1
- 1
app/models/issue_priority.rb
View File
@@ -39,7 +39,7 @@ class IssuePriority < ApplicationRecord
end
end
def
m
p_color
def p
m
_color
case name
when '低'
'#13b33e'
+ 1
- 1
app/models/issue_status.rb
View File
@@ -51,7 +51,7 @@ class IssueStatus < ApplicationRecord
end
end
def
m
p_color
def p
m
_color
case name
when '新增'
'#ff6f00'
+ 1
- 1
app/views/api/v1/issues/issue_priorities/_simple_detail.json.jbuilder
View File
@@ -1 +1 @@
json.(priority, :id, :name,:
m
p_color)
json.(priority, :id, :name,:p
m
_color)
+ 1
- 1
app/views/api/v1/issues/statues/_simple_detail.json.jbuilder
View File
@@ -1 +1 @@
json.(status, :id, :name, :
m
p_color)
json.(status, :id, :name, :p
m
_color)
Write
Preview
Loading…
Cancel
Save