forked from potsda.mn/mobilizon
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:
parent
bc1f71e742
commit
c2c3014c2b
|
@ -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>"
|
||||
|
|
Loading…
Reference in a new issue