fe79a6f7b67a772d1a02540857cab7debd7b51e4
[mixstore.git] / src / Mixstore / StoreBundle / Resources / views / Package / list_content.html.twig
1 <table class="sortable">
2 <thead>
3 <th data-sort="string">Name</th>
4 <th>Headline</th>
5 <th data-sort="string">Language</th>
6 <th>Grade/10 &ndash; #feedbacks</th>
7 </thead>
8 <tbody>
9 {% for pkg in packages %}
10 <tr>
11 <td><a href="{{ path('mixstore_store_package_view', { id: pkg.id }) }}">{{ pkg.name }}</a></td>
12 <td><a href="{{ path('mixstore_store_package_view', { id: pkg.id }) }}">{{ pkg.headline }}</a></td>
13 <td>{{ pkg.language.name }}</td>
14 <td>
15 <a href="{{ path('mixstore_store_usecase_list', { pkgid: pkg.id }) }}">
16 {% if pkg.rating != 'NA' %} {{ pkg.rating | number_format(2, '.', '') }} {% else %} NA {% endif %} &ndash; {{ pkg.ucscount }}
17 </a>
18 </td>
19 </tr>
20 {% endfor %}
21 </tbody>
22 </table>