<tal:root define="
            portal_state context/@@plone_portal_state;
            plone_mail_password_view nocall:context/@@mail_password_template;
            isAnon portal_state/anonymous;
            randomstring options/randomstring;
          "
          i18n:domain="plone"
>
  <tal:i18n i18n:translate="mailtemplate_text_linkreset">The following link will take you to a page where you can reset your password for
    <tal:i18n tal:content="portal_state/navigation_root_title"
              i18n:name="site_name"
    />
  site:
    <tal:i18n i18n:name="reset_url">${here/absolute_url}/passwordreset/${randomstring}</tal:i18n></tal:i18n>

  <tal:i18n i18n:translate="mailtemplate_text_expirationdate_linkreset">(This link is valid for
    <span tal:replace="plone_mail_password_view/expiration_timeout"
          i18n:name="hours"
    ></span>
  hours)
  </tal:i18n>

  <tal:i18n i18n:translate="mailtemplate_tracking_information">If you didn't expect to receive this email, please ignore it. Your password has not been changed.
   Request made from IP address
    <tal:i18n tal:define="
                host request/HTTP_X_FORWARDED_FOR|request/REMOTE_ADDR;
              "
              tal:content="host"
              i18n:name="ipaddress"
    />
  </tal:i18n>
</tal:root>
