Skip to content

Commit

Permalink
use report mailname instead of reporter email openrightsgroup/Blockin…
Browse files Browse the repository at this point in the history
  • Loading branch information
dantheta committed Apr 2, 2021
1 parent a4e3c54 commit a77320b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions BlockedFrontend/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@
RANDOMSITE = 'frontpagelists'

DEFAULT_REGION = 'gb'

MAIL_DOMAIN = 'example.com'
2 changes: 1 addition & 1 deletion BlockedFrontend/templates/admin/ispreports_escalate.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h3>Original complaint</h3>
<textarea rows="8" style="width: 100%; font-family: mono" name="original_complaint">{{ report.message }}</textarea>

<h3>Additional contact information</h3>
{{ forms.textarea_field('Submitted by', 'additional_contact', "Request originally submitted by " + report.name + " (" + report.email + ")" ) }}
{{ forms.textarea_field('Submitted by', 'additional_contact', "Request originally submitted by " + report.name + " (" + report.mailname + '@' +config.MAIL_DOMAIN + ")" ) }}

<h3>Mobile network response</h3>
{% if emailreply %}
Expand Down

0 comments on commit a77320b

Please sign in to comment.