ubccr / coldfront

HPC Resource Allocation System
https://coldfront.readthedocs.io
GNU General Public License v3.0
96 stars 76 forks source link

Email URLs #547

Closed cecilialau6776 closed 11 months ago

cecilialau6776 commented 12 months ago

Email templates currently seem to list project URLs as just their path, instead of a full URL (like https://coldfront.example.com/project/1/). It would be more convenient for end users if this was changed to be a full URL.

Project Title: test
Project URL: /project/1/
Project PI: cecilialau6776

I propose a new email setting (such as EMAIL_BASE_URL) that would be the base of the url (https://coldfront.example.com) that gets prepended to the existing URL: Project URL: {{ email_base_url }}{{ project_url.0 }}.

dsajdak commented 11 months ago

@cecilialau6776 if you set CENTER_BASE_URL in your coldfront.env file then the URLs will get properly concatenated into a full and proper URL. See here