mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-21 23:44:30 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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