[openstreetmap-website] Added telephone links into tag detail browser. (#717)

Štefan Baebler notifications at github.com
Tue Mar 11 02:00:46 UTC 2014


International phone numbers become links to IANA official URI scheme
"tel:"+number as per http://tools.ietf.org/html/rfc3966
eg: "+1 (234) 56/78-90.1 " -> "tel:+1(234)56/78-90.1"
It is not limited to key="phone"
(http://wiki.openstreetmap.org/wiki/Key:phone), so it can be used in
other keys as well.
You can merge this Pull Request by running:

  git pull https://github.com/stefanb/openstreetmap-website telephoneLinks

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/717

-- Commit Summary --

  * Added telephone links into tag detail browser.

-- File Changes --

    M app/helpers/browse_helper.rb (13)
    M config/locales/en.yml (1)
    M test/helpers/browse_helper_test.rb (49)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/717.patch
https://github.com/openstreetmap/openstreetmap-website/pull/717.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/717
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140310/91824877/attachment-0001.html>


More information about the rails-dev mailing list