mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
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 EditUserForm(CustomForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = models.User
|
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}
|
help_texts = {f: None for f in fields}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,12 @@
|
||||||
<p class="help is-danger">{{ error | escape }}</p>
|
<p class="help is-danger">{{ error | escape }}</p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</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">
|
<div class="block">
|
||||||
<label class="checkbox label" for="id_manually_approves_followers">
|
<label class="checkbox label" for="id_manually_approves_followers">
|
||||||
{% trans "Manually approve followers:" %}
|
{% trans "Manually approve followers:" %}
|
||||||
|
|
Loading…
Reference in a new issue