Merge pull request #5399 from quincylvania/osm-type-label-incomplete-relation-member

Adds the member geometry type to the label of non-downloaded relation members
This commit is contained in:
Bryan Housel
2018-10-11 23:51:55 -04:00
committed by GitHub
+8 -1
View File
@@ -141,7 +141,14 @@ export function uiRawMemberEditor(context) {
} else {
var incompleteLabel = d3_select(this).append('label')
.attr('class', 'form-label')
.attr('class', 'form-label');
incompleteLabel.append('span')
.attr('class', 'member-entity-type')
.text(t('inspector.'+d.type, { id: d.id }));
incompleteLabel.append('span')
.attr('class', 'member-entity-name')
.text(t('inspector.incomplete', { id: d.id }));
var wrap = incompleteLabel.append('div')