From 06d822d9e031afedd5e2b6bd2e73a63684afd712 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 6 Nov 2023 09:35:04 -0800 Subject: [PATCH] Alternative format for user import guide --- bookwyrm/templates/import/import_user.html | 179 +++++++++++++-------- 1 file changed, 109 insertions(+), 70 deletions(-) diff --git a/bookwyrm/templates/import/import_user.html b/bookwyrm/templates/import/import_user.html index 1871da84f..3f0f7453d 100644 --- a/bookwyrm/templates/import/import_user.html +++ b/bookwyrm/templates/import/import_user.html @@ -29,85 +29,124 @@

{% blocktrans %}You will next be able to import a user file at {{ next_available }}{% endblocktrans %}

{% else %} -
+ {% csrf_token %} -
-
-
+
+
+

{% trans "Step 1:" %}

+

+ {% blocktrans trimmed %} + Select an export file generated from another BookWyrm account. The file format should be .tar.gz. + {% endblocktrans %} +

+
+
{{ import_form.archive_file }}
-
- {% blocktrans trimmed %} -

Deselect any checkboxes for data you do not wish to include in your import.

-

Importing this file will not delete any data but will overwrite the following information:

-
    -
  • Profile
  • -
      -
    • name
    • -
    • summary
    • -
    • avatar
    • -
    -
  • Settings
  • -
      -
    • whether manual approval is required for other users to follow your account
    • -
    • whether following/followers are shown on your profile
    • -
    • whether your reading goal is shown on your profile
    • -
    • whether you see user follow suggestions
    • -
    • whether your account is suggested to others
    • -
    • your timezone
    • -
    • your default post privacy setting
    • -
    -
  • Reading goals for all years listed in the import file
  • -
-

All other imported data will be added if it does not already exist. For example, if you have an existing list with the same name as an imported list, the existing list settings will not change, any new list items will be added, and no existing list items will be deleted.

+
- {% endblocktrans %} + + +
+
+

{% trans "Step 2:" %}

+

+ {% blocktrans trimmed %} + Deselect any checkboxes for data you do not wish to include in your import. + {% endblocktrans %} +

+

Unless specified below, importing will not delete any data. Imported data will be added if it does not already exist. For example, if you have an existing list with the same name as an imported list, the existing list settings will not change, any new list items will be added, and no existing list items will be deleted.

+
+
+
+
+ +

+ {% trans "Overwrites display name, summary, and avatar" %} +

+
+
+ +
+ {% trans "Overwrites:" %} +
    +
  • + {% trans "Whether manual approval is required for other users to follow your account" %} +
  • +
  • + {% trans "Whether following/followers are shown on your profile" %} +
  • +
  • + {% trans "Whether your reading goal is shown on your profile" %} +
  • +
  • + {% trans "Whether you see user follow suggestions" %} +
  • +
  • + {% trans "Whether your account is suggested to others" %} +
  • +
  • + {% trans "Your timezone" %} +
  • +
  • + {% trans "Your default post privacy setting" %} +
  • +
+
+
+
+ +
+ +
+
+
+ +

+ {% trans "Reading goals for all years listed in the import file" %} +

+
+ + + + + + + +
-
-
- - - - - - - - - - - - -
-
-
{% if not import_limit_reset and not import_size_limit or allowed_imports > 0 %} {% else %}