Commit 6b78ed81 authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

revisions as list

parent cb31d147
Pipeline #136396 passed with stages
in 7 minutes and 51 seconds
......@@ -41,14 +41,6 @@
There is a higher revision available!
</section>
</c:if>
<c:if test="${revisions.size() > 0}">
<section class="tgrep sidebar_panel">
<h3 class="tgrep sidebar_subheading">${i18n['revisions']}</h3>
<c:forEach items="${revisions}" var="rev">
<a href="/browse/${rev.value}">${rev.key}</a>
</c:forEach>
</section>
</c:if>
<section class="tgrep sidebar_panel">
<h3 class="tgrep sidebar_subheading">${i18n['metadata']}</h3>
......@@ -97,6 +89,19 @@
</dl>
</section>
<c:if test="${revisions.size() > 1}">
<section class="tgrep sidebar_panel">
<h3 class="tgrep sidebar_subheading">${i18n['revisions']}</h3>
<ul class="tgrep sidebar_list">
<c:forEach items="${revisions}" var="rev">
<li class="tgrep sidebar_item">
<a href="/browse/${rev.value}">${rev.key}</a>
</li>
</c:forEach>
</ul>
</section>
</c:if>
<section class="tgrep sidebar_panel">
<h3 class="tgrep sidebar_subheading">${i18n['download']}</h3>
<ul class="tgrep sidebar_list">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment