forked from mirrors/bookwyrm
Adds set reading goal display control in user settings
This commit is contained in:
parent
baee0796cd
commit
91aaf704f5
2 changed files with 7 additions and 1 deletions
|
@ -115,7 +115,7 @@ class StatusForm(CustomForm):
|
|||
class EditUserForm(CustomForm):
|
||||
class Meta:
|
||||
model = models.User
|
||||
fields = ["avatar", "name", "email", "summary", "manually_approves_followers"]
|
||||
fields = ["avatar", "name", "email", "summary", "manually_approves_followers", "show_goal"]
|
||||
help_texts = {f: None for f in fields}
|
||||
|
||||
|
||||
|
|
|
@ -41,6 +41,12 @@
|
|||
<p class="help is-danger">{{ error | escape }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="block">
|
||||
<label class="checkbox label" for="id_show_goal">
|
||||
{% trans "Show set reading goal prompt in feed:" %}
|
||||
{{ form.show_goal }}
|
||||
</label>
|
||||
</div>
|
||||
<div class="block">
|
||||
<label class="checkbox label" for="id_manually_approves_followers">
|
||||
{% trans "Manually approve followers:" %}
|
||||
|
|
Loading…
Reference in a new issue