Add link to report missing info in the community list

This commit is contained in:
Bryan Housel
2018-04-08 23:41:51 -04:00
parent c35b4906fd
commit 514ddffd22
4 changed files with 29 additions and 6 deletions
+14 -1
View File
@@ -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'));
}