From a487d653df29fd2754e3b5450a1d268ad96ae4c0 Mon Sep 17 00:00:00 2001 From: strangelookingnerd <49242855+strangelookingnerd@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:22:15 +0100 Subject: [PATCH] Handle icon and status of a job in jelly views --- .../resources/hudson/model/Job/index.jelly | 32 ++++++++++++++++--- .../hudson/views/IconColumn/column.jelly | 20 ++++++++++-- .../hudson/views/StatusColumn/column.jelly | 26 +++++++-------- .../resources/lib/hudson/projectView.jelly | 4 +-- .../main/resources/images/symbols/empty.svg | 1 + 5 files changed, 61 insertions(+), 22 deletions(-) create mode 100644 war/src/main/resources/images/symbols/empty.svg diff --git a/core/src/main/resources/hudson/model/Job/index.jelly b/core/src/main/resources/hudson/model/Job/index.jelly index d9b214900c7bb..d879c0ca5d216 100644 --- a/core/src/main/resources/hudson/model/Job/index.jelly +++ b/core/src/main/resources/hudson/model/Job/index.jelly @@ -31,11 +31,33 @@ THE SOFTWARE.
- - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +

diff --git a/core/src/main/resources/hudson/views/IconColumn/column.jelly b/core/src/main/resources/hudson/views/IconColumn/column.jelly index 64d859d3c19b1..f3255d2bc4384 100644 --- a/core/src/main/resources/hudson/views/IconColumn/column.jelly +++ b/core/src/main/resources/hudson/views/IconColumn/column.jelly @@ -26,8 +26,24 @@ THE SOFTWARE.
- - + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/core/src/main/resources/hudson/views/StatusColumn/column.jelly b/core/src/main/resources/hudson/views/StatusColumn/column.jelly index 428a173fedf6b..d914ca54d286a 100644 --- a/core/src/main/resources/hudson/views/StatusColumn/column.jelly +++ b/core/src/main/resources/hudson/views/StatusColumn/column.jelly @@ -23,18 +23,18 @@ THE SOFTWARE. --> - - - - -
+ + +
+ + -
- - - - - - - + + + + + + +
+
diff --git a/core/src/main/resources/lib/hudson/projectView.jelly b/core/src/main/resources/lib/hudson/projectView.jelly index 75842abc1e9f6..8a37ea62d0998 100644 --- a/core/src/main/resources/lib/hudson/projectView.jelly +++ b/core/src/main/resources/lib/hudson/projectView.jelly @@ -102,8 +102,8 @@ THE SOFTWARE. - - + +
diff --git a/war/src/main/resources/images/symbols/empty.svg b/war/src/main/resources/images/symbols/empty.svg new file mode 100644 index 0000000000000..08353db9925bb --- /dev/null +++ b/war/src/main/resources/images/symbols/empty.svg @@ -0,0 +1 @@ +Empty \ No newline at end of file