mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
tweaks
This commit is contained in:
parent
a2aee59e7f
commit
cb185648d2
2 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue