diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-08-21 09:15:34 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-08-21 09:15:34 +0100 |
commit | d685d9d1230e958a8525e33dbe3fa2819afbad48 (patch) | |
tree | a6e9122af1a2341473debbd6a5a315e940ab9d52 /templates | |
parent | 0caded8cc55ef78d9e65089387e97532566d0182 (diff) | |
parent | 45e2366c1f86339b33218074a0ac1359250e6d89 (diff) |
Merge branch 'user-agent-in-contact'
Diffstat (limited to 'templates')
-rw-r--r-- | templates/email/default/contact.html | 5 | ||||
-rw-r--r-- | templates/email/default/contact.txt | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/templates/email/default/contact.html b/templates/email/default/contact.html index d9e9b060a..8dc9f3af0 100644 --- a/templates/email/default/contact.html +++ b/templates/email/default/contact.html @@ -33,6 +33,11 @@ INCLUDE '_email_top.html'; - <a href="[% admin_url %]">Admin</a> </p> [%~ END %] + [%~ IF user_agent %] + <p style="[% secondary_p_style %]"> + User Agent: [% user_agent | html %] + </p> + [%~ END %] </th> [% INCLUDE '_email_bottom.html' %] diff --git a/templates/email/default/contact.txt b/templates/email/default/contact.txt index 6e1fd5ac9..545b1632c 100644 --- a/templates/email/default/contact.txt +++ b/templates/email/default/contact.txt @@ -6,4 +6,6 @@ Subject: FMS message: [% subject %] [ [% complaint %] - [% problem_url %] - [% admin_url %] ] [% END %] -[ Sent by contact.cgi on [% host %]. IP address [% ip %] ] +-- +Sent by contact form on [% host %]. +IP address [% ip %], user agent [% user_agent %] |