From eddc03c9593cd0b448d1926ab780533ec3d133ab Mon Sep 17 00:00:00 2001
From: Lars Eggert <lars@eggert.org>
Date: Wed, 10 Nov 2021 10:24:46 +0000
Subject: [PATCH] Fix revision list  - Legacy-Id: 19615

---
 ietf/templates/doc/revisions_list.html | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/ietf/templates/doc/revisions_list.html b/ietf/templates/doc/revisions_list.html
index a45a5b25d..bb66f3de5 100644
--- a/ietf/templates/doc/revisions_list.html
+++ b/ietf/templates/doc/revisions_list.html
@@ -1,9 +1,7 @@
 {# Copyright The IETF Trust 2015, All Rights Reserved #}{% load origin %}{% origin %}
-<ul class="pagination revlist">
-    <li class="disabled"><a><b>Versions</b></a></li>
+<b>Versions:</b>
+<div class="btn-group btn-group-sm py-3">
     {% for rev in revisions %}
-        <li {% if rev == doc.rev %}{% if snapshot or not doc.get_state_slug == "rfc" %}{% if rev == latest_rev and not doc.get_state_slug == "rfc" %}class="active"{% else %}class="warning"{% endif %}{% endif %}{% endif %}>
-            <a href="{% if snapshot and doc.get_state_slug == "rfc" %}{% url "ietf.doc.views_doc.document_main" name=doc.doc.name %}{% else %}{% url "ietf.doc.views_doc.document_main" name=doc.name %}{% endif %}{% if rev %}{{ rev }}/{% endif %}" {% if rev != "00" and rev != latest_rev %}rel="nofollow"{% endif %} >{% if rev %}{{ rev }}{% else %}{{ doc.name }}{% endif %}</a>
-        </li>
+        <a class="btn btn-outline-primary {% if rev == doc.rev %}{% if snapshot or not doc.get_state_slug == "rfc" %}{% if rev == latest_rev and not doc.get_state_slug == "rfc" %}active{% else %}btn-warning{% endif %}{% endif %}{% endif %}" href="{% if snapshot and doc.get_state_slug == "rfc" %}{% url "ietf.doc.views_doc.document_main" name=doc.doc.name %}{% else %}{% url "ietf.doc.views_doc.document_main" name=doc.name %}{% endif %}{% if rev %}{{ rev }}/{% endif %}" {% if rev != "00" and rev != latest_rev %}rel="nofollow"{% endif %} >{% if rev %}{{ rev }}{% else %}{{ doc.name }}{% endif %}</a>
     {% endfor %}
-</ul>
+</div>
\ No newline at end of file