Link to wiki for changeset comments

Added the link:http://wiki.openstreetmap.org/wiki/Good_changeset_comments
below the comment box

Issue: https://github.com/openstreetmap/iD/issues/2923
This commit is contained in:
Kushan Joshi
2016-01-28 11:16:06 +05:30
committed by Bryan Housel
parent 0628377e53
commit 459f2929ce
3 changed files with 14 additions and 2 deletions
+11
View File
@@ -68,6 +68,17 @@ iD.ui.Commit = function(context) {
commentField.call(d3.combobox().data(comments));
});
var changeSetInfo = commentSection.append('div')
.attr('class', 'changeset-info');
changeSetInfo.append('a')
.attr('target', '_blank')
.attr('tabindex', -1)
.call(iD.svg.Icon('#icon-out-link', 'inline'))
.attr('href', t('commit.about_changeset_comments_link'))
.append('span')
.text(t('commit.about_changeset_comments'));
// Warnings
var warnings = body.selectAll('div.warning-section')
.data([context.history().validate(changes)])