mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
16460 remove spaces from telephone dialing
This commit is contained in:
parent
cd9244fd4f
commit
207c91ef6b
@ -29,7 +29,7 @@ def linkify_phone(value):
|
|||||||
"""
|
"""
|
||||||
if value is None:
|
if value is None:
|
||||||
return None
|
return None
|
||||||
return f"tel:{value}"
|
return f"tel:{value.replace(' ', '')}"
|
||||||
|
|
||||||
|
|
||||||
def register_table_column(column, name, *tables):
|
def register_table_column(column, name, *tables):
|
||||||
|
Loading…
Reference in New Issue
Block a user