From 95bdf7b787b4d8457b67857bbba2c690567ca40c Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 8 Sep 2021 07:35:49 -0700 Subject: [PATCH] Adds goodreads data tooltip --- bookwyrm/templates/import/import.html | 2 +- bookwyrm/templates/import/tooltip.html | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 bookwyrm/templates/import/tooltip.html diff --git a/bookwyrm/templates/import/import.html b/bookwyrm/templates/import/import.html index cac6fdce..cf911f55 100644 --- a/bookwyrm/templates/import/import.html +++ b/bookwyrm/templates/import/import.html @@ -28,7 +28,7 @@ - {% include 'components/tooltip.html' with controls_text="goodreads-tooltip" %} + {% include 'import/tooltip.html' with controls_text="goodreads-tooltip" %}
{{ import_form.csv_file }} diff --git a/bookwyrm/templates/import/tooltip.html b/bookwyrm/templates/import/tooltip.html new file mode 100644 index 00000000..1cfe5a3b --- /dev/null +++ b/bookwyrm/templates/import/tooltip.html @@ -0,0 +1,8 @@ +{% extends 'components/tooltip.html' %} +{% load i18n %} + +{% block tooltip_content %} + +{% trans 'You can download your GoodReads data from the Import/Export page of your GoodReads account.' %} + +{% endblock %}