Skip to content

Commit 69c0923

Browse files
committed
Index template updated to display package support information (if exists)
1 parent b20fd94 commit 69c0923

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

views/index.html.twig

+12
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,18 @@
6969
</td>
7070
</tr>
7171
{% endif %}
72+
{% if package.highest.support %}
73+
<tr>
74+
<th>Support</th>
75+
<td>
76+
<ul>
77+
{% for support_type, support_url in package.highest.support %}
78+
<li>{{ support_type|capitalize }}: <a href="{{ support_url }}">{{ support_url }}</a></li>
79+
{% endfor %}
80+
</ul>
81+
</tr>
82+
</td>
83+
{% endif %}
7284
<tr>
7385
<th>Releases</th>
7486
<td>

0 commit comments

Comments
 (0)