فهرست منبع

Only show github open issues when no other issue link is present, fixes #715

Jordi Boggiano 8 سال پیش
والد
کامیت
08b2c6e5fc
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/Packagist/WebBundle/Resources/views/Package/viewPackage.html.twig

+ 1 - 1
src/Packagist/WebBundle/Resources/views/Package/viewPackage.html.twig

@@ -210,7 +210,7 @@
                                     {{ package.gitHubForks|number_format(0, '.', ' ')|raw }}
                                 </p>
                             {% endif %}
-                            {% if version and version.support is not null and version.support.issues is defined %}
+                            {% if version and version.support is not null and version.support.issues is defined and version.support.issues starts with 'https://github.com/' %}
                                 <p>
                                     <span>
                                         <a href="{{ version.support.issues }}">Open Issues</a>: