[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-qa
Subject:    [PHP-QA] com web/qa: Attempt at fixing the "()" bug with Github PRs if no PR is active for a reposit
From:       Kalle Sommer Nielsen <kalle () php ! net>
Date:       2016-10-02 1:00:23
Message-ID: php-mail-4d63b84f720c2a0389d686d5351829b8911852244 () git ! php ! net
[Download RAW message or body]

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>


--
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic