add post-activation trigger setup dialog
This commit is contained in:
parent
ed88e76843
commit
222101482f
2 changed files with 16 additions and 2 deletions
|
@ -114,6 +114,20 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div class="trigger-option-section" ng-show="currentView == 'postActivation'" ng-switch on="trigger.service">
|
||||
<div ng-switch-when="custom">
|
||||
<div class="alert alert-info">
|
||||
The trigger has been successfully created, but with a caveat:<br>
|
||||
In order for our builders to clone your repository, you must give the following public key read access to the git repository.
|
||||
</div>
|
||||
<p>SSH Public Key:</p>
|
||||
<div class="copy-box" value="trigger.config.public_key"></div>
|
||||
</div>
|
||||
<div ng-switch-default>
|
||||
<div class="alert alert-success">The trigger has been successfully created.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" ng-disabled="!state.stepValid"
|
||||
|
@ -125,7 +139,7 @@
|
|||
ng-click="activate()"
|
||||
ng-show="currentView == 'analyzed'">Create Trigger</button>
|
||||
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{ currentView == 'postActivation' ? 'Done' : 'Cancel' }}</button>
|
||||
</div>
|
||||
</div><!-- /.modal-content -->
|
||||
</div><!-- /.modal-dialog -->
|
||||
|
|
Reference in a new issue