Merge pull request #844 from andy-g/exclude_pr_from_branches

Exclude Pull Requests from the branches.
This commit is contained in:
Brad Rydzewski 2015-01-22 09:00:08 -08:00
commit 46955db3bd

View file

@ -34,8 +34,7 @@
<p>Add a .drone.yml file and make a commit to trigger a build</p>
<div><i class="fa fa-file-code-o"></i></div>
</section>
<section ng-repeat="group in commits | filter: { pull_request: '' } | unique: 'branch'">
<section ng-repeat="group in commits | filter:{ pull_request: '' }:true | unique: 'branch'">
<div class="pure-g cards">
<h2 class="pure-u-1" style="font-size:22px;margin-bottom:20px;"><i class="fa fa-code-fork"></i> {{group.branch}}</h2>
<a class="pure-u-1 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4 card card" ng-href="/{{ repo | fullPath }}/{{ commit.branch }}/{{ commit.sha }}" ng-repeat="commit in commits | filter:{ branch:group.branch }:true | limitTo:4" data-status="{{ commit.status }}">