Skip to content

Conversation

SasSwart
Copy link
Contributor

@SasSwart SasSwart commented Oct 14, 2024

This PR closes #15065.

As advised by @mtojek, a template's display name may be set to "", which is not useful in an email notification. We'd like to provide a friendly name for the template, but it also needs to be identifiable.

As such, we fall back to template.Name in the case that the template's display name is empty.

Copy link
Contributor

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with nit.

Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix LGTM 👍

I believe you can quickly fix it for TemplateTemplateDeleted too.

@SasSwart SasSwart marked this pull request as ready for review October 15, 2024 15:39
@SasSwart SasSwart merged commit fac77f9 into main Oct 15, 2024
29 checks passed
@SasSwart SasSwart deleted the jjs/15065 branch October 15, 2024 19:02
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TemplateWorkspaceManualBuildFailed renders an empty template display name
3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy