diff --git a/css/app.css b/css/app.css
index 13df2863f..bcba11599 100644
--- a/css/app.css
+++ b/css/app.css
@@ -487,7 +487,6 @@ button.save.has-count .count::before {
.icon.back { background-position: -420px 0;}
.icon.forward { background-position: -440px 0;}
.icon.help { background-position: -460px 0;}
-.icon.out-link { background-position: -480px 0;}
.icon.inspect.light { background-position: -220px -20px;}
.icon.geocode.light { background-position: -280px -20px;}
@@ -540,6 +539,11 @@ button[disabled] .icon.nearby { background-position: -340px -40px;}
.icon-operation-disabled-rotate { background-position: -180px -160px;}
.icon-operation-disabled-simplify { background-position: -200px -160px;}
+/* Out link is special */
+
+.icon.out-link { height: 14px; width: 14px; background-position: -500px 0;}
+a:hover .icon.out-link { background-position: -500px -14px;}
+
/* Universal preset icons */
.icon.source { background-position: 0 -200px;}
@@ -1370,6 +1374,11 @@ div.combobox {
overflow: hidden;
}
+.tag-help a {
+ margin-top: 5px;
+ display: block;
+}
+
.grid-pane .tag-reference-wrap {
padding: 10px 0 20px 0;
}
diff --git a/data/core.yaml b/data/core.yaml
index d5fdb8ea8..dd7215070 100644
--- a/data/core.yaml
+++ b/data/core.yaml
@@ -154,12 +154,12 @@ en:
no_documentation_key: There is no documentation available for this key
show_more: Show More
new_tag: New tag
- view_on_osm: View on OSM →
+ view_on_osm: View on openstreetmap.org
editing_feature: "Editing {feature}"
additional: Additional tags
choose: Select feature type
results: "{n} results for {search}"
- reference: View on OpenStreetMap Wiki →
+ reference: View on OpenStreetMap Wiki
back_tooltip: Change feature type
background:
title: Background
diff --git a/data/locales.js b/data/locales.js
index cb299b379..7bd71aa90 100644
--- a/data/locales.js
+++ b/data/locales.js
@@ -192,12 +192,12 @@ locale.en = {
"no_documentation_key": "There is no documentation available for this key",
"show_more": "Show More",
"new_tag": "New tag",
- "view_on_osm": "View on OSM →",
+ "view_on_osm": "View on openstreetmap.org",
"editing_feature": "Editing {feature}",
"additional": "Additional tags",
"choose": "Select feature type",
"results": "{n} results for {search}",
- "reference": "View on OpenStreetMap Wiki →",
+ "reference": "View on OpenStreetMap Wiki",
"back_tooltip": "Change feature type"
},
"background": {
diff --git a/img/sprite.png b/img/sprite.png
index c60de32dc..950e5f89d 100644
Binary files a/img/sprite.png and b/img/sprite.png differ
diff --git a/img/sprite2x.png b/img/sprite2x.png
index e08cb78e0..dfb1a1853 100644
Binary files a/img/sprite2x.png and b/img/sprite2x.png differ
diff --git a/js/id/ui/tag_editor.js b/js/id/ui/tag_editor.js
index a49f19acb..82f01f561 100644
--- a/js/id/ui/tag_editor.js
+++ b/js/id/ui/tag_editor.js
@@ -73,12 +73,16 @@ iD.ui.TagEditor = function(context, entity) {
.call(tagList, preset.id === 'other');
if (!entity.isNew()) {
- tageditorpreset.append('div')
+ osmLink = tageditorpreset.append('div')
.attr('class', 'col12 inspector-inner')
.append('a')
.attr('href', 'http://www.openstreetmap.org/browse/' + entity.type + '/' + entity.osmId())
- .attr('target', '_blank')
- .text(t('inspector.view_on_osm'));
+ .attr('target', '_blank');
+
+ osmLink.append('span')
+ .attr('class','icon icon-pre-text out-link');
+
+ osmLink.append('span').text(t('inspector.view_on_osm'));
}
tageditor.tags(tags);
diff --git a/js/id/ui/tag_reference.js b/js/id/ui/tag_reference.js
index b18ba806b..47261451d 100644
--- a/js/id/ui/tag_reference.js
+++ b/js/id/ui/tag_reference.js
@@ -72,10 +72,15 @@ iD.ui.TagReference = function(entity, tag) {
.append('p')
.text(docs.description);
- referenceBody
+ var wikiLink = referenceBody
.append('a')
.attr('target', '_blank')
- .attr('href', 'http://wiki.openstreetmap.org/wiki/' + docs.title)
+ .attr('href', 'http://wiki.openstreetmap.org/wiki/' + docs.title);
+
+ wikiLink.append('span')
+ .attr('class','icon icon-pre-text out-link');
+
+ wikiLink.append('span')
.text(t('inspector.reference'));
});
diff --git a/svg/sprite.svg b/svg/sprite.svg
index 5395545c8..f38bfabc0 100644
--- a/svg/sprite.svg
+++ b/svg/sprite.svg
@@ -15,7 +15,7 @@
version="1.1"
inkscape:version="0.48.2 r9819"
sodipodi:docname="sprite.svg"
- inkscape:export-filename="/Users/saman/work_repos/iD/img/sprite2x.png"
+ inkscape:export-filename="/Users/saman/work_repos/iD/img/sprite.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
+
@@ -224,7 +228,7 @@
image/svg+xml
-
+
@@ -2607,8 +2611,15 @@
+ d="m 532.5,1.9999969 0,1 1,1 -4.5,4.5000001 0,0.5 0,1 1.5,0 4.5,-4.5000001 1,1 1,0 0,-3.5 0,-1 -1,0 z m -6.5,1 -1,1 0,9.0000001 1,1 9,0 1,-1 0,-5 -2,2 0,2 -1,0 -1,0 -4,0 -1,0 0,-5.0000001 0,-2 1,0 1,0 2,-2 z"
+ id="path3404-8"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccccccccccccccccccccccc" />
+