Add message to clarify profile picture requirements

This commit is contained in:
rubenwardy 2024-03-03 22:50:34 +00:00
parent f9c75c2749
commit ba6b7d6dcf

@ -24,7 +24,7 @@
{% if user.forums_username %} {% if user.forums_username %}
<form method="post" action="{{ url_for('users.user_check_forums', username=user.username) }}" class="" style="display:inline-block;"> <form method="post" action="{{ url_for('users.user_check_forums', username=user.username) }}" class="" style="display:inline-block;">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="submit" class="btn btn-primary" value="{{ _('Sync with Forums') }}" /> <input type="submit" class="btn btn-primary" value="{{ _('Import from forums') }}" />
</form> </form>
{% endif %} {% endif %}
{% if user.profile_pic %} {% if user.profile_pic %}
@ -42,6 +42,11 @@
{% endif %} {% endif %}
</div> </div>
</div> </div>
{% if user.forums_username %}
<p class="text-muted mt-3">
{{ _("Profile pictures should be square, at least 64x64px, and one of the following formats: jpeg, png, or webp.") }}
</p>
{% endif %}
<h3>{{ _("Profile Information") }}</h3> <h3>{{ _("Profile Information") }}</h3>