mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-28 20:41:46 +00:00
update import/export user templates
- always explain what export file can be used for - provide more information about overwrite vs upsert when importing
This commit is contained in:
parent
8d3c2d9bd2
commit
93a32f4e15
2 changed files with 30 additions and 7 deletions
|
@ -38,9 +38,32 @@
|
|||
<label class="label" for="id_archive_file">{% trans "Data file:" %}</label>
|
||||
{{ import_form.archive_file }}
|
||||
</div>
|
||||
<div>
|
||||
<p class="block"> {% trans "Importing this file will overwrite any data you currently have saved." %}</p>
|
||||
<p class="block">{% trans "Deselect any data you do not wish to include in your import. Books will always be imported" %}</p>
|
||||
<div class="content">
|
||||
{% blocktrans trimmed %}
|
||||
<p class="block">Deselect any checkboxes for data you do not wish to include in your import.</p>
|
||||
<p class="block">Importing this file will not delete any data but <strong>will overwrite the following information</strong>:</p>
|
||||
<ul>
|
||||
<li>Profile</li>
|
||||
<ul>
|
||||
<li>name</li>
|
||||
<li>summary</li>
|
||||
<li>avatar</li>
|
||||
</ul>
|
||||
<li>Settings</li>
|
||||
<ul>
|
||||
<li>whether manual approval is required for other users to follow your account</li>
|
||||
<li>whether following/followers are shown on your profile</li>
|
||||
<li>whether your reading goal is shown on your profile</li>
|
||||
<li>whether you see user follow suggestions</li>
|
||||
<li>whether your account is suggested to others</li>
|
||||
<li>your timezone</li>
|
||||
<li>your default post privacy setting</li>
|
||||
</ul>
|
||||
<li>Reading goals for all years listed in the import file</li>
|
||||
</ul>
|
||||
<p class="block">All other imported data will be <strong>added if it does not already exist</strong>. 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.</p>
|
||||
|
||||
{% endblocktrans %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -9,16 +9,16 @@
|
|||
|
||||
{% block panel %}
|
||||
<div class="block content">
|
||||
<p class="notification">
|
||||
{% trans "Your exported archive file will include all user data for import into another Bookwyrm server" %}
|
||||
</p>
|
||||
{% if next_available %}
|
||||
<p class="notification is-warning">
|
||||
{% blocktrans %}
|
||||
{% blocktrans trimmed %}
|
||||
You will be able to create a new export file at {{ next_available }}
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
{% else %}
|
||||
<p class="notification">
|
||||
{% trans "Your exported archive file will include all user data for import into another Bookwyrm server" %}
|
||||
</p>
|
||||
<form name="export" method="POST" href="{% url 'prefs-user-export' %}">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="button">
|
||||
|
|
Loading…
Reference in a new issue