Skip to content
Snippets Groups Projects
contact.md 1018 B
Newer Older
  • Learn to ignore specific revisions
  • ![Contact](../../../assets/webapp/contact.png)
    
    
    Alessandro CERIONI's avatar
    Alessandro CERIONI committed
    The contact page allow a user to send mails to the support team (cf. [email service](../../services/mailer.md)).
    
    Alessandro CERIONI's avatar
    Alessandro CERIONI committed
    User information (firstname, lastname, email) is automatically filled whenever the user is logged in. Otherwise, the task is left to the user.
    
    Alessandro CERIONI's avatar
    Alessandro CERIONI committed
    The message subject can be either chosen from a dropdown list or typed in (custom subject).
    
    Alessandro CERIONI's avatar
    Alessandro CERIONI committed
    The component can read the `subject` query parameter from the current url. If such a query parameter is not trivial, then the component uses its value to sets accordingly the `subject` value of the form. The `Contact Us` feature available on the information tab of each dataset page relies on this fonctionnality. Indeed, when the `Contact Us` button is clicked, the user is redirected to the contact page with a prefilled `subject`, equal to the name of the visited dataset.
    
    Alessandro CERIONI's avatar
    Alessandro CERIONI committed
    In order to activate the submit button, the user has to accept some terms, by checking the dedicated box at the bottom of the form.