| 1 | namespace AgentForge.Plugin.View.Components.Iop; |
| 2 | |
| 3 | internal static class ForgeViewIopBranchEmpty |
| 4 | { |
| 5 | internal static string Render(string repoName, string branch) => |
| 6 | ForgeHtml.Fragment( |
| 7 | ForgeHtml.P("iop-empty", |
| 8 | ForgeHtml.Text("No open merge request on "), |
| 9 | ForgeHtml.Code(branch), |
| 10 | ForgeHtml.Text(".")), |
| 11 | ForgeHtml.P("iop-meta", |
| 12 | ForgeHtml.A($"/view/repos/{ForgeRepoNames.ToUrlPath(repoName)}?tab=merge-requests", "Merge requests"), |
| 13 | ForgeHtml.Sep(), |
| 14 | ForgeHtml.Text("create via MCP "), |
| 15 | ForgeHtml.Code("create_merge_request"), |
| 16 | ForgeHtml.Text("."))); |
| 17 | } |
| 18 | |
View only · write via MCP/CIDE