Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
64 changed files
with
4,131 additions
and
1,735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
bookwyrm/templates/settings/dashboard/warnings/domain_review.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% extends 'settings/dashboard/warnings/layout.html' %} | ||
{% load i18n %} | ||
{% load humanize %} | ||
|
||
{% block warning_link %}{% url 'settings-link-domain' %}{% endblock %} | ||
|
||
{% block warning_text %} | ||
|
||
{% blocktrans trimmed count counter=pending_domains with display_count=pending_domains|intcomma %} | ||
{{ display_count }} domain needs review | ||
{% plural %} | ||
{{ display_count }} domains need review | ||
{% endblocktrans %} | ||
|
||
{% endblock %} |
13 changes: 13 additions & 0 deletions
13
bookwyrm/templates/settings/dashboard/warnings/email_config.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% extends 'settings/dashboard/warnings/layout.html' %} | ||
{% load i18n %} | ||
|
||
{% block warning_link %}https://docs.joinbookwyrm.com/install-prod.html{% endblock %} | ||
|
||
{% block warning_text %} | ||
|
||
{% blocktrans trimmed %} | ||
Your outgoing email address, <code>{{ email_sender }}</code>, may be misconfigured. | ||
{% endblocktrans %} | ||
{% trans "Check the <code>EMAIL_SENDER_NAME</code> and <code>EMAIL_SENDER_DOMAIN</code> in your <code>.env</code> file." %} | ||
|
||
{% endblock %} |
15 changes: 15 additions & 0 deletions
15
bookwyrm/templates/settings/dashboard/warnings/invites.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% extends 'settings/dashboard/warnings/layout.html' %} | ||
{% load i18n %} | ||
{% load humanize %} | ||
|
||
{% block warning_link %}{% url 'settings-invite-requests' %}{% endblock %} | ||
|
||
{% block warning_text %} | ||
|
||
{% blocktrans trimmed count counter=invite_requests with display_count=invite_requests|intcomma %} | ||
{{ display_count }} invite request | ||
{% plural %} | ||
{{ display_count }} invite requests | ||
{% endblocktrans %} | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div class="column is-flex{% if fullwidth %} is-12{% endif %}"> | ||
<a href="{% block warning_link %}{% endblock %}" class="notification is-{{ warning_level }} is-block is-flex-grow-1"> | ||
{% block warning_text %}{% endblock %} | ||
</a> | ||
</div> |
10 changes: 10 additions & 0 deletions
10
bookwyrm/templates/settings/dashboard/warnings/missing_conduct.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% extends 'settings/dashboard/warnings/layout.html' %} | ||
{% load i18n %} | ||
|
||
{% block warning_link %}{% url 'settings-site' %}#instance-info{% endblock %} | ||
|
||
{% block warning_text %} | ||
|
||
{% trans "Your instance is missing a code of conduct." %} | ||
|
||
{% endblock %} |
10 changes: 10 additions & 0 deletions
10
bookwyrm/templates/settings/dashboard/warnings/missing_privacy.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% extends 'settings/dashboard/warnings/layout.html' %} | ||
{% load i18n %} | ||
|
||
{% block warning_link %}{% url 'settings-site' %}#instance-info{% endblock %} | ||
|
||
{% block warning_text %} | ||
|
||
{% trans "Your instance is missing a privacy policy." %} | ||
|
||
{% endblock %} |
15 changes: 15 additions & 0 deletions
15
bookwyrm/templates/settings/dashboard/warnings/reports.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% extends 'settings/dashboard/warnings/layout.html' %} | ||
{% load i18n %} | ||
{% load humanize %} | ||
|
||
{% block warning_link %}{% url 'settings-reports' %}{% endblock %} | ||
|
||
{% block warning_text %} | ||
|
||
{% blocktrans trimmed count counter=reports with display_count=reports|intcomma %} | ||
{{ display_count }} open report | ||
{% plural %} | ||
{{ display_count }} open reports | ||
{% endblocktrans %} | ||
|
||
{% endblock %} |
12 changes: 12 additions & 0 deletions
12
bookwyrm/templates/settings/dashboard/warnings/update_version.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% extends 'settings/dashboard/warnings/layout.html' %} | ||
{% load i18n %} | ||
|
||
{% block warning_link %}https://docs.joinbookwyrm.com/updating.html{% endblock %} | ||
|
||
{% block warning_text %} | ||
|
||
{% blocktrans trimmed with current=current_version available=available_version %} | ||
An update is available! You're running v{{ current }} and the latest release is {{ available }}. | ||
{% endblocktrans %} | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.