Commit: 5daf8b8af1a46baf2403d802d8bd88794052e02e Author: Kalle Sommer Nielsen <[email protected]> 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> -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
