com web/qa: Only show repos with open pull requests: pulls/index.php
| From: | Johannes Schlüter | Date: | Mon, 24 Jul 2017 21:53:25 +0000 |
| Subject: | com web/qa: Only show repos with open pull requests: pulls/index.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-67977@lists.php.net to get a copy of this message | ||
Commit: 3dc264bdfbf67c3931b0685d23d41a61908fd069
Author: Johannes Schlüter <johannes@schlueters.de> Mon, 24 Jul 2017 23:53:25 +0200
Parents: fb8ee8e13f40a8faa5b101d627416418ec90fd1d
Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=3dc264bdfbf67c3931b0685d23d41a61908fd069
Log:
Only show repos with open pull requests
Changed paths:
M pulls/index.php
Diff:
diff --git a/pulls/index.php b/pulls/index.php
index 6a5bef8..5745553 100644
--- a/pulls/index.php
+++ b/pulls/index.php
@@ -61,7 +61,9 @@ common_header();
}
</style>
<script id="repoListItemTemplate" type="text/x-jquery-tmpl">
+ {{if open_issues}}
<li data-repo="{{=name}}"><b><a
href="#">{{=name}}:</a></b> {{=description}} ({{=open_issues}})</li>
+ {{/if}}
</script>
<script id="repoOverviewTemplate" type="text/x-jquery-tmpl">
<h2>{{=repoName}}</h2>