Browse Source

Merge pull request #591 from venyii/add-package-type

Show the package type in the package view
Jordi Boggiano 9 years ago
parent
commit
95839f49ae

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

@@ -152,6 +152,7 @@
                             {% if package.gitHubForks is not null %}<p><span>Forks:</span> {{ package.gitHubForks|number_format(0, '.', '&#8201;')|raw }}</p>{% endif %}
                             {% if package.gitHubOpenIssues is not null %}<p><span>Open Issues:</span> {{ package.gitHubOpenIssues|number_format(0, '.', '&#8201;')|raw }}</p>{% endif %}
                             {% if package.language is not empty %}<p><span>Language:</span> {{ package.language }}</p>{% endif %}
+                            {% if package.type is not empty %}<p><span>Type:</span> {{ package.type }}</p>{% endif %}
                         </div>
                     </div>
                 </div>