diff --git a/swh/web/browse/views/utils/snapshot_context.py b/swh/web/browse/views/utils/snapshot_context.py
index b8f97ae3a80cc9fc917c88a2b7cfff18d8ff7e4e..9afe63b453883bf2c0911fd50d387c41b8ae4a84 100644
--- a/swh/web/browse/views/utils/snapshot_context.py
+++ b/swh/web/browse/views/utils/snapshot_context.py
@@ -334,6 +334,7 @@ def browse_snapshot_directory(request, snapshot_id=None, origin_type=None,
     }
 
     swh_dir_id = get_swh_persistent_id('directory', sha1_git)
+    swh_rev_id = get_swh_persistent_id('revision', revision_id)
     swh_snp_id = get_swh_persistent_id('snapshot', snapshot_id)
 
     swh_ids = [
@@ -345,6 +346,14 @@ def browse_snapshot_directory(request, snapshot_id=None, origin_type=None,
                                   kwargs={'swh_id': swh_dir_id}),
             'show_options': snapshot_context['origin_info'] is not None
         },
+        {
+            'object_type': 'revision',
+            'title': 'Revision ' + revision_id,
+            'swh_id': swh_rev_id,
+            'swh_id_url': reverse('browse-swh-id',
+                                  kwargs={'swh_id': swh_rev_id}),
+            'show_options': snapshot_context['origin_info'] is not None
+        },
         {
             'object_type': 'snapshot',
             'title': 'Snapshot ' + snapshot_id,
@@ -490,6 +499,7 @@ def browse_snapshot_content(request, snapshot_id=None, origin_type=None,
 
     cnt_sha1_git = content_data['checksums']['sha1_git']
     swh_cnt_id = get_swh_persistent_id('content', cnt_sha1_git)
+    swh_rev_id = get_swh_persistent_id('revision', revision_id)
     swh_snp_id = get_swh_persistent_id('snapshot', snapshot_id)
 
     swh_ids = [
@@ -501,6 +511,14 @@ def browse_snapshot_content(request, snapshot_id=None, origin_type=None,
                                   kwargs={'swh_id': swh_cnt_id}),
             'show_options': True
         },
+        {
+            'object_type': 'revision',
+            'title': 'Revision ' + revision_id,
+            'swh_id': swh_rev_id,
+            'swh_id_url': reverse('browse-swh-id',
+                                  kwargs={'swh_id': swh_rev_id}),
+            'show_options': snapshot_context['origin_info'] is not None
+        },
         {
             'object_type': 'snapshot',
             'title': 'Snapshot ' + snapshot_id,
@@ -634,8 +652,17 @@ def browse_snapshot_log(request, snapshot_id=None, origin_type=None,
                                  'role': 'button'})
         revision_metadata['snapshot context'] = browse_snapshot_link
 
+    swh_rev_id = get_swh_persistent_id('revision', revision_id)
     swh_snp_id = get_swh_persistent_id('snapshot', snapshot_id)
     swh_ids = [
+        {
+            'object_type': 'revision',
+            'title': 'Revision ' + revision_id,
+            'swh_id': swh_rev_id,
+            'swh_id_url': reverse('browse-swh-id',
+                                  kwargs={'swh_id': swh_rev_id}),
+            'show_options': snapshot_context['origin_info'] is not None
+        },
         {
             'object_type': 'snapshot',
             'title': 'Snapshot ' + snapshot_id,
diff --git a/swh/web/templates/includes/show-swh-ids.html b/swh/web/templates/includes/show-swh-ids.html
index e3924a4c0e2e656beff103d56b934aeff88c0484..a39346e24113f7e3e1d5090685ebb9d627e8ca79 100644
--- a/swh/web/templates/includes/show-swh-ids.html
+++ b/swh/web/templates/includes/show-swh-ids.html
@@ -25,7 +25,7 @@ See top-level LICENSE file for more information
 
         <ul class="nav nav-pills ml-auto p-2">
           {% for swh_id in swh_ids %}
-            {% if swh_id.object_type != 'snapshot' %}
+            {% if forloop.counter == 1 %}
               <li class="nav-item"><a class="nav-link active" href="#swh-id-tab-{{ swh_id.object_type }}" data-toggle="tab" onclick="swh.browse.swhIdObjectTypeToggled(event)">{{ swh_id.object_type }}</a></li>
             {% else %}
               <li class="nav-item"><a class="nav-link" href="#swh-id-tab-{{ swh_id.object_type }}" data-toggle="tab" onclick="swh.browse.swhIdObjectTypeToggled(event)">{{ swh_id.object_type }}</a></li>
@@ -35,7 +35,7 @@ See top-level LICENSE file for more information
 
         <div class="tab-content">
           {% for swh_id in swh_ids %}
-            {% if swh_id.object_type != 'snapshot' %}
+            {% if forloop.counter == 1 %}
               <div class="tab-pane active" id="swh-id-tab-{{ swh_id.object_type }}">
             {% else %}
               <div class="tab-pane" id="swh-id-tab-{{ swh_id.object_type }}">