mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-16 23:18:56 +08:00
可视化创建流水线后端代码
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
json.id template.id
|
||||
json.template_name template.template_name
|
||||
json.stage_type template.stage_type
|
||||
json.category template.category
|
||||
json.content template.content
|
||||
json.created_at template.created_at
|
||||
json.updated_at template.updated_at
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
json.category category
|
||||
json.templates templates do |template|
|
||||
json.partial! "/ci/templates/list", template: template
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
json.templates @templates do |template|
|
||||
json.partial! "/ci/templates/list", template: template
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
json.array! @category_templates do |category, templates|
|
||||
json.partial! "/ci/templates/templates_by_stage", category: category, templates: templates
|
||||
end
|
||||
Reference in New Issue
Block a user