From a2b6a606d7f4a94967405c415435a6060f5e53cf Mon Sep 17 00:00:00 2001 From: Tom Huybrechts Date: Tue, 14 Dec 2010 09:48:49 +0100 Subject: [PATCH] - add 'disable project' button on matrix and maven builds - remove it from sub-projects (maven modules and matrix configurations) --- .../hudson/matrix/MatrixProject/index.jelly | 31 ++++++++----- .../resources/hudson/model/Job/index.jelly | 44 ++++++++++--------- .../hudson/maven/MavenModuleSet/index.jelly | 15 ++++++- 3 files changed, 57 insertions(+), 33 deletions(-) diff --git a/core/src/main/resources/hudson/matrix/MatrixProject/index.jelly b/core/src/main/resources/hudson/matrix/MatrixProject/index.jelly index 55f0c76ca9..bb6b522255 100644 --- a/core/src/main/resources/hudson/matrix/MatrixProject/index.jelly +++ b/core/src/main/resources/hudson/matrix/MatrixProject/index.jelly @@ -30,16 +30,27 @@ THE SOFTWARE.

${%Project} ${it.name}

- -
-
- ${%This project is currently disabled} - - - -
-
-
+ + +
+
+ ${%This project is currently disabled} + + + +
+
+
+ +
+
+ + + +
+
+
+
diff --git a/core/src/main/resources/hudson/model/Job/index.jelly b/core/src/main/resources/hudson/model/Job/index.jelly index 5c922ba4ec..a976d2eee2 100644 --- a/core/src/main/resources/hudson/model/Job/index.jelly +++ b/core/src/main/resources/hudson/model/Job/index.jelly @@ -29,27 +29,29 @@ THE SOFTWARE.

${it.pronoun} ${it.displayName}

- - -
-
- ${%This project is currently disabled} - - - -
-
-
- -
-
- - - -
-
-
-
+ + + +
+
+ ${%This project is currently disabled} + + + +
+
+
+ +
+
+ + + +
+
+
+
+
diff --git a/maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/index.jelly b/maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/index.jelly index c7b04562e2..0db3522ca3 100644 --- a/maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/index.jelly +++ b/maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/index.jelly @@ -30,7 +30,8 @@ THE SOFTWARE.

${it.pronoun} ${it.displayName}

- + +
${%This project is currently disabled} @@ -39,7 +40,17 @@ THE SOFTWARE.
-
+ + +
+
+ + + +
+
+
+ -- GitLab