display branchtag regex when manually invoking build triggers to avoid confusion when multiple triggers

This commit is contained in:
Alec Merdler 2017-07-12 15:09:27 -04:00
parent 21ecc2eadd
commit 2814df482b
10 changed files with 70 additions and 37 deletions

View file

@ -0,0 +1,20 @@
import { Component, Input, Inject } from 'ng-metadata/core';
import { Trigger } from '../../../types/common.types';
/**
* A component which displays information about a build trigger.
*/
@Component({
selector: 'trigger-description',
templateUrl: '/static/js/directives/ui/trigger-description/trigger-description.component.html'
})
export class TriggerDescriptionComponent {
@Input('<') public trigger: Trigger;
constructor(@Inject('TriggerService') private triggerService: any,
@Inject('KeyService') private keyService: any) {
}
}