From 1209ad3b2f78fdc4c9d9c4ce79a786c60b68c73a Mon Sep 17 00:00:00 2001 From: Samuel Padgett Date: Thu, 19 Jan 2017 12:46:44 -0500 Subject: [PATCH] Don't show full editor for one-line post-commit scripts --- app/views/directives/build-hooks.html | 11 ++++++++++- dist/scripts/templates.js | 8 ++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/app/views/directives/build-hooks.html b/app/views/directives/build-hooks.html index f591bd44c7..3aab9db9c3 100644 --- a/app/views/directives/build-hooks.html +++ b/app/views/directives/build-hooks.html @@ -2,7 +2,7 @@ Use `dl-horizontal left` style unless there's a script. Otherwise use the default `dl` style because it looks strange with the block editor. --> -
+
Command:
@@ -17,7 +17,16 @@
Script:
+ + + +
\n" + + "
\n" + "
Command:
\n" + "
\n" + "\n" + @@ -6068,7 +6068,11 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "
Script:
\n" + "
\n" + - "
\n" + + "\n" + + "\n" + + "\n" + + "