- Add a build trigger link to the builds menu in the repo view

- Have the dialog dismiss auto-delete the trigger
- Have the github trigger setup choose the first directory, if any
This commit is contained in:
Joseph Schorr 2014-02-25 15:25:24 -05:00
parent bc26029951
commit c3c26ba199
4 changed files with 20 additions and 2 deletions

View file

@ -32,6 +32,11 @@
<i class="fa fa-plus" style="margin-left: 1px; margin-right: 8px;"></i>New Dockerfile Build
</a>
</li>
<li ng-show="repo.can_admin">
<a href="/repository/{{ repo.namespace }}/{{ repo.name }}/admin?tab=trigger">
<span style="display: inline-block; width: 20px;"></span>Build Triggers
</a>
</li>
<li role="presentation" class="divider" ng-show="buildsInfo && repo.can_write"></li>
<li role="presentation" class="dropdown-header" ng-show="buildsInfo">Current Builds</li>
<li ng-repeat="buildInfo in buildsInfo">