mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Splitting success.help_html
In ref issue: https://github.com/openstreetmap/iD/issues/2940
This commit is contained in:
committed by
Bryan Housel
parent
459f2929ce
commit
427d08a7b8
@@ -2460,9 +2460,11 @@ div.full-screen > button:hover {
|
||||
------------------------------------------------------- */
|
||||
|
||||
.save-success p {
|
||||
padding: 15px;
|
||||
padding: 15px 15px 0 15px;
|
||||
}
|
||||
.save-success a.details {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.save-success .button {
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
@@ -373,9 +373,9 @@ en:
|
||||
facebook: "Share on Facebook"
|
||||
twitter: "Share on Twitter"
|
||||
google: "Share on Google+"
|
||||
help_html: |
|
||||
Your changes should appear in the "Standard" layer in a few minutes. Other layers, and certain features, may take longer
|
||||
(<a href='https://help.openstreetmap.org/questions/4705/why-havent-my-changes-appeared-on-the-map' target='_blank'>details</a>).
|
||||
help_html: Your changes should appear in the "Standard" layer in a few minutes. Other layers, and certain features, may take longer.
|
||||
help_link_text: Details
|
||||
help_link_url: https://wiki.openstreetmap.org/wiki/FAQ#I_have_just_made_some_changes_to_the_map._How_do_I_get_to_see_my_changes.3F
|
||||
confirm:
|
||||
okay: "Okay"
|
||||
cancel: "Cancel"
|
||||
|
||||
2
dist/locales/en.json
vendored
2
dist/locales/en.json
vendored
File diff suppressed because one or more lines are too long
@@ -23,6 +23,15 @@ iD.ui.Success = function(context) {
|
||||
body.append('p')
|
||||
.html(t('success.help_html'));
|
||||
|
||||
body.append('a')
|
||||
.attr('class', 'details')
|
||||
.attr('target', '_blank')
|
||||
.attr('tabindex', -1)
|
||||
.call(iD.svg.Icon('#icon-out-link', 'inline'))
|
||||
.attr('href', t('success.help_link_url'))
|
||||
.append('span')
|
||||
.text(t('success.help_link_text'));
|
||||
|
||||
var changesetURL = context.connection().changesetURL(changeset.id);
|
||||
|
||||
body.append('a')
|
||||
|
||||
Reference in New Issue
Block a user