datenspuren food: wheelchair

This commit is contained in:
Astro 2015-09-21 01:51:47 +02:00
parent 9c002a2d40
commit c42cc221ec
2 changed files with 8 additions and 2 deletions

View File

@ -110,7 +110,8 @@ h3.click(function() {
dt.find('a').
attr('href', "https://www.openstreetmap.org/" + poi.info.type + "/" + poi.info.id).
text(poi.info.tags.name)
// TODO: ♿
if (poi.info.tags.wheelchair == 'yes')
dt.append("<span class='wheelchair'>♿</span>")
if (poi.info.tags['addr:street'] && poi.info.tags['addr:housenumber']) {
var addr = $('<span class="addr"></span>')

View File

@ -149,6 +149,11 @@ footer a {
margin-top: 1em;
font-weight: bold;
}
#food dt .wheelchair {
font-size: 120%;
line-height: 1em;
color: #444;
}
#food dt .addr, #food dt .website {
font-weight: normal;
margin-left: 0.8em;
@ -157,7 +162,7 @@ footer a {
#food dd {
color: #444;
font-size: 80%;
margin: 0;
margin: 0 0 0 2em;
}
.geo-arrow {