From 9140b0e41d61cc3a0f9c86521fc02fc23cd30952 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 14 Sep 2016 17:07:14 -0400 Subject: [PATCH] Add placeholder for regex field in create event control --- static/directives/create-external-notification.html | 1 + static/js/services/external-notification-data.js | 1 + 2 files changed, 2 insertions(+) diff --git a/static/directives/create-external-notification.html b/static/directives/create-external-notification.html index 8032ed04a..3ff3e2056 100644 --- a/static/directives/create-external-notification.html +++ b/static/directives/create-external-notification.html @@ -40,6 +40,7 @@ diff --git a/static/js/services/external-notification-data.js b/static/js/services/external-notification-data.js index 1618b7909..997fe96d8 100644 --- a/static/js/services/external-notification-data.js +++ b/static/js/services/external-notification-data.js @@ -29,6 +29,7 @@ function(Config, Features, VulnerabilityService) { 'help_text': 'An optional regular expression for matching the git branch or tag ' + 'git ref. If left blank, the notification will fire for all builds.', 'optional': true, + 'placeholder': '(refs/heads/somebranch)|(refs/tags/sometag)' } ] },