Skip to content

Commit

Permalink
Merge pull request #407 from plone/yurj-link-to-mail-if-name-none
Browse files Browse the repository at this point in the history
Yurj link to mail if name none
  • Loading branch information
yurj authored Sep 9, 2024
2 parents c338327 + af7374e commit bc1bb12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions news/407.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[yurj]
If the name is None, display the mail. Otherwise, a person icon with no useful info is displayed.
2 changes: 1 addition & 1 deletion plone/app/event/browser/event_summary.pt
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<p class="card-text"
tal:condition="mail"
><a class="email"
tal:content="name"
tal:content="python: name if name is not None else mail"
tal:attributes="
href string:mailto:${mail};
"
Expand Down

0 comments on commit bc1bb12

Please sign in to comment.