From 7d7ce3a7902f07deb3b6c69c061b2f62d1289d10 Mon Sep 17 00:00:00 2001
From: Nick Sweeting <git@sweeting.me>
Date: Sat, 28 Nov 2020 01:22:58 -0500
Subject: [PATCH] fix Snapshot count in column header

---
 archivebox/themes/default/core/snapshot_list.html | 2 +-
 archivebox/themes/legacy/main_index.html          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/archivebox/themes/default/core/snapshot_list.html b/archivebox/themes/default/core/snapshot_list.html
index 20d3cd66..73761372 100644
--- a/archivebox/themes/default/core/snapshot_list.html
+++ b/archivebox/themes/default/core/snapshot_list.html
@@ -13,7 +13,7 @@
         <thead>
             <tr>
                 <th style="width: 100px;">Bookmarked</th>
-                <th style="width: 26vw;">Saved Link ({{num_links}})</th>
+                <th style="width: 26vw;">Snapshot ({{object_list|length}})</th>
                 <th style="width: 140px">Files</th>
                 <th style="width: 16vw;whitespace:nowrap;overflow-x:hidden;">Original URL</th>
             </tr>
diff --git a/archivebox/themes/legacy/main_index.html b/archivebox/themes/legacy/main_index.html
index c1d08398..0d8c9e6f 100644
--- a/archivebox/themes/legacy/main_index.html
+++ b/archivebox/themes/legacy/main_index.html
@@ -192,7 +192,7 @@
             <thead>
                 <tr class="thead-tr">
                     <th style="width: 100px;">Bookmarked</th>
-                    <th style="width: 26vw;">Saved Link ($num_links)</th>
+                    <th style="width: 26vw;">Snapshot ($num_links)</th>
                     <th style="width: 50px">Files</th>
                     <th style="width: 16vw;whitespace:nowrap;overflow-x:hidden;">Original URL</th>
                 </tr>