mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 19:26:41 +02:00
Move link to imagery faq, reword as "Imagery Info / Report a Problem"
(closes #4546)
This commit is contained in:
@@ -2246,6 +2246,7 @@ div.full-screen > button:hover {
|
||||
|
||||
.imagery-faq {
|
||||
margin-bottom: 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.layer-list, .controls-list {
|
||||
|
||||
+1
-1
@@ -380,7 +380,7 @@ en:
|
||||
custom_button: Edit custom background
|
||||
custom_prompt: "Enter a tile URL template. Valid tokens are:\n - {zoom}/{z}, {x}, {y} for Z/X/Y tile scheme\n - {ty} for flipped TMS-style Y coordinates\n - {u} for quadtile scheme\n - {switch:a,b,c} for DNS server multiplexing\n\nExample:\n{example}"
|
||||
overlays: Overlays
|
||||
imagery_source_faq: Where does this imagery come from?
|
||||
imagery_source_faq: Imagery Info / Report a Problem
|
||||
reset: reset
|
||||
display_options: Display Options
|
||||
brightness: Brightness
|
||||
|
||||
Vendored
+1
-1
@@ -468,7 +468,7 @@
|
||||
"custom_button": "Edit custom background",
|
||||
"custom_prompt": "Enter a tile URL template. Valid tokens are:\n - {zoom}/{z}, {x}, {y} for Z/X/Y tile scheme\n - {ty} for flipped TMS-style Y coordinates\n - {u} for quadtile scheme\n - {switch:a,b,c} for DNS server multiplexing\n\nExample:\n{example}",
|
||||
"overlays": "Overlays",
|
||||
"imagery_source_faq": "Where does this imagery come from?",
|
||||
"imagery_source_faq": "Imagery Info / Report a Problem",
|
||||
"reset": "reset",
|
||||
"display_options": "Display Options",
|
||||
"brightness": "Brightness",
|
||||
|
||||
+20
-17
@@ -192,10 +192,11 @@ export function uiBackground(context) {
|
||||
|
||||
|
||||
function renderBackgroundList(selection) {
|
||||
var container = selection.selectAll('layer-background-list')
|
||||
.data([0]);
|
||||
|
||||
// the background list
|
||||
var container = selection.selectAll('.layer-background-list')
|
||||
.data([0]);
|
||||
|
||||
_backgroundList = container.enter()
|
||||
.append('ul')
|
||||
.attr('class', 'layer-list layer-background-list')
|
||||
@@ -204,7 +205,7 @@ export function uiBackground(context) {
|
||||
|
||||
|
||||
// add minimap toggle below list
|
||||
var minimapEnter = selection.selectAll('minimap-toggle-list')
|
||||
var minimapEnter = selection.selectAll('.minimap-toggle-list')
|
||||
.data([0])
|
||||
.enter()
|
||||
.append('ul')
|
||||
@@ -231,11 +232,26 @@ export function uiBackground(context) {
|
||||
minimapLabelEnter
|
||||
.append('span')
|
||||
.text(t('background.minimap.description'));
|
||||
|
||||
|
||||
// "Info / Report a Problem" link
|
||||
selection.selectAll('.imagery-faq')
|
||||
.data([0])
|
||||
.enter()
|
||||
.append('div')
|
||||
.attr('class', 'imagery-faq')
|
||||
.append('a')
|
||||
.attr('target', '_blank')
|
||||
.attr('tabindex', -1)
|
||||
.call(svgIcon('#icon-out-link', 'inline'))
|
||||
.attr('href', 'https://github.com/openstreetmap/iD/blob/master/FAQ.md#how-can-i-report-an-issue-with-background-imagery')
|
||||
.append('span')
|
||||
.text(t('background.imagery_source_faq'));
|
||||
}
|
||||
|
||||
|
||||
function renderOverlayList(selection) {
|
||||
var container = selection.selectAll('layer-overlay-list')
|
||||
var container = selection.selectAll('.layer-overlay-list')
|
||||
.data([0]);
|
||||
|
||||
_overlayList = container.enter()
|
||||
@@ -345,19 +361,6 @@ export function uiBackground(context) {
|
||||
.content(renderBackgroundList)
|
||||
);
|
||||
|
||||
// "Where does this imagery come from?"
|
||||
// pane
|
||||
// .append('div')
|
||||
// .attr('class', 'imagery-faq')
|
||||
// .append('a')
|
||||
// .attr('target', '_blank')
|
||||
// .attr('tabindex', -1)
|
||||
// .call(svgIcon('#icon-out-link', 'inline'))
|
||||
// .attr('href', 'https://github.com/openstreetmap/iD/blob/master/FAQ.md#how-can-i-report-an-issue-with-background-imagery')
|
||||
// .append('span')
|
||||
// .text(t('background.imagery_source_faq'));
|
||||
|
||||
|
||||
// overlay list
|
||||
pane
|
||||
.append('div')
|
||||
|
||||
Reference in New Issue
Block a user