From 22fec1650a01ad85c80381f07d3f9c5ed5216da9 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Mon, 27 Mar 2023 19:34:09 +0900 Subject: Add commit info in action page (#23210) Add more commit info in action detail page. ![image](https://user-images.githubusercontent.com/18380374/222069905-a5ab28b1-1cea-4eec-b3b9-f1c74145cb82.png) --- web_src/js/components/RepoActionView.vue | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'web_src') diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue index 079c81921e..72801725d0 100644 --- a/web_src/js/components/RepoActionView.vue +++ b/web_src/js/components/RepoActionView.vue @@ -13,6 +13,15 @@ +
+ {{ run.commit.localeCommit }} + {{ run.commit.shortSHA }} +   + {{ run.commit.branch.name }} + +  {{ run.commit.localePushedBy }} + {{ run.commit.pusher.displayName }} +
@@ -105,6 +114,20 @@ const sfc = { // canRerun: false, // }, ], + commit: { + localeCommit: '', + localePushedBy: '', + shortSHA: '', + link: '', + pusher: { + displayName: '', + link: '', + }, + branch: { + name: '', + link: '', + }, + } }, currentJob: { title: '', @@ -332,6 +355,10 @@ export function initRepositoryActionView() { padding: 0 5px; } +.action-commit-summary { + padding: 10px 10px; +} + /* ================ */ /* action view left */ -- cgit v1.2.3