You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2021/12/03 18:20:33 UTC

[allura] 01/02: Add block to permit customization of user message notices

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 5be93b41020a81502179ff3aa43a8df6949329ce
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Fri Dec 3 13:20:05 2021 -0500

    Add block to permit customization of user message notices
---
 Allura/allura/ext/user_profile/templates/send_message_form.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Allura/allura/ext/user_profile/templates/send_message_form.html b/Allura/allura/ext/user_profile/templates/send_message_form.html
index 26caa8f..184b719 100644
--- a/Allura/allura/ext/user_profile/templates/send_message_form.html
+++ b/Allura/allura/ext/user_profile/templates/send_message_form.html
@@ -20,12 +20,14 @@
 
 
 <div class="editbox">
+    {% block reply_notice %}
     {% if  c.user.get_pref('disable_user_messages') %}
     <div class="grid-19 notice">
         Note: you currently have user messages disabled; you can send this user a note, but you'll be unable to receive any reply without first
         <a href="/auth/preferences">changing your settings</a>, or providing your email address in the body of the note.
     </div>
     {% endif %}
+    {% endblock %}
 
     <div class="grid-19">
         <b>To:</b> <a href="{{user.url()}}">{{user.display_name|default(user.username)}}</a>