mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
Add link to report missing info in the community list
This commit is contained in:
@@ -3630,6 +3630,11 @@ img.tile-debug {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.save-success .link-out {
|
||||
margin: 0px 5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.save-summary,
|
||||
.save-communityLinks {
|
||||
padding: 0px 20px 15px 20px;
|
||||
@@ -3674,10 +3679,6 @@ img.tile-debug {
|
||||
.community-languages:only-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.save-summary .details {
|
||||
margin: 0px 5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.community-detail a.hide-toggle,
|
||||
.community-detail a:visited.hide-toggle {
|
||||
@@ -3710,6 +3711,11 @@ img.tile-debug {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.community-missing {
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
/* Splash Modal
|
||||
------------------------------------------------------- */
|
||||
|
||||
@@ -539,6 +539,8 @@ en:
|
||||
more: More
|
||||
events: Events
|
||||
languages: "Languages: {languages}"
|
||||
missing: "Is something missing from this list?"
|
||||
tell_us: "Tell us!"
|
||||
confirm:
|
||||
okay: "OK"
|
||||
cancel: "Cancel"
|
||||
|
||||
4
dist/locales/en.json
vendored
4
dist/locales/en.json
vendored
@@ -655,7 +655,9 @@
|
||||
"like_osm": "Like OpenStreetMap? Connect with others:",
|
||||
"more": "More",
|
||||
"events": "Events",
|
||||
"languages": "Languages: {languages}"
|
||||
"languages": "Languages: {languages}",
|
||||
"missing": "Is something missing from this list?",
|
||||
"tell_us": "Tell us!"
|
||||
},
|
||||
"confirm": {
|
||||
"okay": "OK",
|
||||
|
||||
@@ -50,7 +50,7 @@ export function uiSuccess(context) {
|
||||
.append('p')
|
||||
.text(t('success.help_html'))
|
||||
.append('a')
|
||||
.attr('class', 'details')
|
||||
.attr('class', 'link-out')
|
||||
.attr('target', '_blank')
|
||||
.attr('tabindex', -1)
|
||||
.attr('href', t('success.help_link_url'))
|
||||
@@ -164,6 +164,19 @@ export function uiSuccess(context) {
|
||||
|
||||
communityDetail
|
||||
.each(showCommunityDetails);
|
||||
|
||||
communityLinks
|
||||
.append('div')
|
||||
.attr('class', 'community-missing')
|
||||
.text(t('success.missing'))
|
||||
.append('a')
|
||||
.attr('class', 'link-out')
|
||||
.attr('target', '_blank')
|
||||
.attr('tabindex', -1)
|
||||
.call(svgIcon('#icon-out-link', 'inline'))
|
||||
.attr('href', 'https://github.com/osmlab/osm-community-index/issues')
|
||||
.append('span')
|
||||
.text(t('success.tell_us'));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user