{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    @template theme_boost_union/accessibility-support-email-body

    Boost Union accessibility support email body.

    Context variables required for this template:
    * name - The sender's name
    * email - The sender's email
    * subject - The email subject
    * message - The email message

    Example context (json):
    {
        "notloggedinuser": true,
        "sendanonymous": false,
        "sendtechinfo": true,
        "name": "Sender name",
        "email": "sender@mail.com",
        "subject": "email subject",
        "message": "Support request message",
        "techinfo": "Referrer page: http://localhost/foo/bar"
    }
}}
{{#notloggedinuser}}
**{{#str}}supportmessagesentforloggedoutuser, user{{/str}}**

{{/notloggedinuser}}
{{#sendanonymous}}
**{{#str}}accessibilitysupportsentforanonymoususer, theme_boost_union{{/str}}**

{{/sendanonymous}}
{{#str}}name{{/str}}: {{name}}
{{#str}}email{{/str}}: {{email}}
{{#str}}subject{{/str}}: {{subject}}

{{#str}}message{{/str}}:
{{message}}

============================================================================

{{#str}}accessibilitysupporttechinfo, theme_boost_union{{/str}}:

{{#sendtechinfo}}
{{techinfo}}
{{/sendtechinfo}}
{{^sendtechinfo}}
{{#str}}none{{/str}}
{{/sendtechinfo}}
