From c429a523d108b37decbfad9212c3d43dbc4e2f29 Mon Sep 17 00:00:00 2001 From: Wilson Gaturu Date: Wed, 9 Aug 2023 15:05:33 +0300 Subject: [PATCH] adds help links --- peachjam/templates/peachjam/_help_popover.html | 7 +++++++ peachjam/templates/peachjam/_related_documents.html | 8 +------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 peachjam/templates/peachjam/_help_popover.html diff --git a/peachjam/templates/peachjam/_help_popover.html b/peachjam/templates/peachjam/_help_popover.html new file mode 100644 index 000000000..0d434d06c --- /dev/null +++ b/peachjam/templates/peachjam/_help_popover.html @@ -0,0 +1,7 @@ +
+ {{ btn_text }} +
diff --git a/peachjam/templates/peachjam/_related_documents.html b/peachjam/templates/peachjam/_related_documents.html index a4714d028..3366044cd 100644 --- a/peachjam/templates/peachjam/_related_documents.html +++ b/peachjam/templates/peachjam/_related_documents.html @@ -1,12 +1,6 @@ {% load peachjam i18n %}

{% trans "Related documents" %}

-
- Help -
+{% include 'peachjam/_help_popover.html' with link='#' btn_text='Help' content='This is a list of documents that are related to this one.' %}
{% if relationships_as_subject %}