com web/qa: Attempt at fixing the "()" bug with Github PRs if no PR is active for a repository: pulls/index.php
| From: | Kalle Sommer Nielsen | Date: | Sun, 02 Oct 2016 01:00:23 +0000 |
| Subject: | com web/qa: Attempt at fixing the "()" bug with Github PRs if no PR is active for a repository: pulls/index.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-67820@lists.php.net to get a copy of this message | ||
Commit: 5daf8b8af1a46baf2403d802d8bd88794052e02e
Author: Kalle Sommer Nielsen <kalle@php.net> Sun, 2 Oct 2016 03:00:23 +0200
Parents: 5605a4b79dc1d6f44473cfcb6669c96aed373e29
Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=5daf8b8af1a46baf2403d802d8bd88794052e02e
Log:
Attempt at fixing the "()" bug with Github PRs if no PR is active for a repository
Changed paths:
M pulls/index.php
Diff:
diff --git a/pulls/index.php b/pulls/index.php
index 4c59bc3..0172892 100644
--- a/pulls/index.php
+++ b/pulls/index.php
@@ -61,7 +61,13 @@ common_header();
}
</style>
<script id="repoListItemTemplate" type="text/x-jquery-tmpl">
- <li data-repo="{{=name}}"><b><a
href="#">{{=name}}:</a></b> {{=description}} ({{=open_issues}})</li>
+ <li data-repo="{{=name}}">
+ <b><a href="#">{{=name}}:</a></b> {{=description}}
+
+ {{if open_issues > 0}}
+ ({{=open_issues}})
+ {{/if}}
+ </li>
</script>
<script id="repoOverviewTemplate" type="text/x-jquery-tmpl">
<h2>{{=repoName}}</h2>