Show a default text for contact in default terms text when no contact is

filled

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-09-07 17:41:27 +02:00
parent bc1f71e742
commit c2c3014c2b
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ defmodule Mobilizon.Config do
cond do
is_nil(contact) ->
nil
"<b>Contact information not filled</b>"
String.contains?(contact, "@") ->
"<a href=\"mailto:#{contact}\">#{contact}</a>"