Skip to content
This repository was archived by the owner on Sep 3, 2020. It is now read-only.
This repository was archived by the owner on Sep 3, 2020. It is now read-only.

"Your proposal has been submitted" email results in invalid URL #595

@chrisfosterelli

Description

@chrisfosterelli

In this template here: https://github.com/BCDevExchange/devex/blob/256d610d67a206fcdf0f44ac4f4b0d26a64de2d7/config/email-templates/proposals/proposal-submitted-email.html

The line <h4><a href="{{opportunity.path}}">{{opportunity.name}}</a></h4> does not reference {{domain}}, which results in an invalid path in an email (i.e., the browser tries to open "http:///opportunities/cwu/opp-cloud-migration-and-deployment") which is not a valid URL.

Similar to this template, I think you want the following:

{{ domain }}/{{ opportunity.path }} (or just {{ domain }}{{ opportunity.path }} since it looks like opportunity.path includes the domain, but the double slash is technically fine too)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions