mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
c0a62793c4
Fixes #8391: Install date should appear empty when exported
8 lines
156 B
Python
8 lines
156 B
Python
def linkify_phone(value):
|
|
"""
|
|
Render a telephone number as a hyperlink.
|
|
"""
|
|
if value is None:
|
|
return None
|
|
return f"tel:{value}"
|