Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Added support for telephone hyperlinks for mobile users. #138

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Added support for telephone hyperlinks for mobile users. #138

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 13, 2014

This pull request will add support for basic support of telephone hyperlinks, this is good for mobile users.

@@ -19,6 +19,8 @@ def render(self, context, instance, placeholder):
link = instance.file.url
elif instance.mailto:
link = "mailto:%s" % _(instance.mailto)
elif instance.tel:
link = "tel:%s" % _(instance.tel)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not only related to this pull request... but why are we translating these?

@mkoistinen
Copy link
Contributor

@ghost are you still pursuing this change? I'd like to see it in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants