mirror of
https://github.com/minetest/contentdb.git
synced 2025-03-14 14:22:30 +01:00
Add notice to notification settings
This commit is contained in:
@ -77,5 +77,5 @@ def settings():
|
||||
return redirect(url_for("notifications.settings"))
|
||||
|
||||
return render_template("notifications/settings.html",
|
||||
form=form, user=current_user, types=types,
|
||||
form=form, user=current_user, types=types, is_new=is_new,
|
||||
tabs=get_setting_tabs(current_user), current_tab="notifications")
|
||||
|
@ -7,6 +7,12 @@
|
||||
{% block pane %}
|
||||
<h2 class="mt-0">{{ _("Email and Notifications") }}</h2>
|
||||
|
||||
{% if is_new %}
|
||||
<p class="alert alert-info">
|
||||
{{ _("Email notifications are currently turned off. Click 'Save' to apply recommended settings.") }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% from "macros/forms.html" import render_field, render_submit_field, render_checkbox_field %}
|
||||
<form action="" method="POST" class="form" role="form">
|
||||
{{ form.hidden_tag() }}
|
||||
|
Reference in New Issue
Block a user