From 7bf35f361e70d63a3c46a5636f6651eebee59945 Mon Sep 17 00:00:00 2001 From: RayBB Date: Tue, 17 Dec 2024 13:37:03 -0500 Subject: [PATCH] add diff history links --- openlibrary/i18n/messages.pot | 4 ++++ openlibrary/templates/diff.html | 1 + 2 files changed, 5 insertions(+) diff --git a/openlibrary/i18n/messages.pot b/openlibrary/i18n/messages.pot index d79da54c61e..75f2a2f5e9c 100644 --- a/openlibrary/i18n/messages.pot +++ b/openlibrary/i18n/messages.pot @@ -336,6 +336,10 @@ msgstr "" msgid "by Anonymous" msgstr "" +#: diff.html +msgid "history" +msgstr "" + #: diff.html msgid "Differences" msgstr "" diff --git a/openlibrary/templates/diff.html b/openlibrary/templates/diff.html index a9e8c9a6ef4..dd1a6793229 100644 --- a/openlibrary/templates/diff.html +++ b/openlibrary/templates/diff.html @@ -87,6 +87,7 @@

$title → Diff

$value.excerpt $elif value.key: $(value.name or value.title or value.key) + - $_("history") $value.key $else: $ value = value.dict()