This commit is contained in:
rimu 2024-01-05 12:08:30 +13:00
parent a2aee59e7f
commit cb185648d2
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,8 @@
{% for post in posts %}
{% include 'post/_post_teaser.html' %}
{% else %}
<p>{{ _('No posts yet.') }}</p>
<p>{{ _('No posts yet. Subscribe to some communities to see more.') }}</p>
<p><a class="btn btn-primary" href="/communities">{{ _('Explore communities') }}</a></p>
{% endfor %}
</div>
@ -50,7 +51,7 @@
</li>
{% endfor %}
</ul>
<p class="mt-4"><a class="btn btn-primary" href="/communities">Explore communities</a></p>
<p class="mt-4"><a class="btn btn-primary" href="/communities">{{ _('Explore communities') }}</a></p>
</div>
</div>

View file

@ -147,7 +147,6 @@ def change_settings(actor):
return redirect(url_for('user.change_settings', actor=actor))
elif request.method == 'GET':
form.newsletter.data = current_user.newsletter
form.bot.data = current_user.bot
form.ignore_bots.data = current_user.ignore_bots
form.nsfw.data = current_user.show_nsfw
form.nsfl.data = current_user.show_nsfl