Commit 1f8e37af authored by pelle's avatar pelle

osm tags ordered + missing message

parent e36c45d7
......@@ -260,7 +260,7 @@
</div>
</div> -->
<div *ngFor="let tag of nodeService.detailView.osmtags"
<!-- <div *ngFor="let tag of nodeService.detailView.osmtags"
class="form-group row item-detail">
<label for="elementKey" class="col-sm-4 col-form-label">
<strong>{{translateTagKey(tag.key)}}</strong>
......@@ -271,7 +271,8 @@
<div class="col-sm-1">
<a href="http://www.openstreetmap.org/copyright" target="_blank"><i aria-hidden="true" class="listicon gp_osmlink"></i></a>
</div>
</div>
</div> -->
<!-- <div *ngFor="let tag of nodeService.detailView.tags"
class="form-group row item-detail">
<label for="elementKey" class="col-sm-4 col-form-label">
......@@ -282,6 +283,160 @@
id="elementKey">{{tag.value}}</span>
</div>
</div> -->
<div class="form-group row item-detail">
<label class="col-sm-4 col-form-label">
<strong>Name</strong>
</label>
<div class="col">
<div *ngIf="nodeService.detailView.getOsmTagValue('name')">
<span class="form-control-plaintext" id="elementKey" >{{nodeService.detailView.getOsmTagValue('name')}}</span>
</div>
<div *ngIf="!nodeService.detailView.getOsmTagValue('name')">
<span class="form-control-plaintext text-muted" id="elementKey" >Keine Angabe bisher.</span>
</div>
</div>
<div class="col-auto">
<a href="http://www.openstreetmap.org/copyright" target="_blank"><i aria-hidden="true" class="listicon gp_osmlink"></i></a>
</div>
</div>
<div class="form-group row item-detail">
<label class="col-sm-4 col-form-label">
<strong>Homepage</strong>
</label>
<div class="col">
<div *ngIf="nodeService.detailView.getOsmTagValue('contact:websit')">
<span class="form-control-plaintext" id="elementKey" >{{nodeService.detailView.getOsmTagValue('contact:websit')}}</span>
</div>
<div *ngIf="!nodeService.detailView.getOsmTagValue('contact:websit')">
<span class="form-control-plaintext text-muted" id="elementKey" >Keine Angabe bisher.</span>
</div>
</div>
<div class="col-auto">
<a href="http://www.openstreetmap.org/copyright" target="_blank"><i aria-hidden="true" class="listicon gp_osmlink"></i></a>
</div>
</div>
<div class="form-group row item-detail">
<label class="col-sm-4 col-form-label">
<strong>Straße</strong>
</label>
<div class="col">
<div *ngIf="nodeService.detailView.getOsmTagValue('addr:street')">
<span class="form-control-plaintext" id="elementKey" >{{nodeService.detailView.getOsmTagValue('addr:street')}}</span>
</div>
<div *ngIf="!nodeService.detailView.getOsmTagValue('addr:street')">
<span class="form-control-plaintext text-muted" id="elementKey" >Keine Angabe bisher.</span>
</div>
</div>
<div class="col-auto">
<a href="http://www.openstreetmap.org/copyright" target="_blank"><i aria-hidden="true" class="listicon gp_osmlink"></i></a>
</div>
</div>
<div class="form-group row item-detail">
<label class="col-sm-4 col-form-label">
<strong>Hausnummer</strong>
</label>
<div class="col">
<div *ngIf="nodeService.detailView.getOsmTagValue('addr:housenumber')">
<span class="form-control-plaintext" id="elementKey" >{{nodeService.detailView.getOsmTagValue('addr:housenumber')}}</span>
</div>
<div *ngIf="!nodeService.detailView.getOsmTagValue('addr:housenumber')">
<span class="form-control-plaintext text-muted" id="elementKey" >Keine Angabe bisher.</span>
</div>
</div>
<div class="col-auto">
<a href="http://www.openstreetmap.org/copyright" target="_blank"><i aria-hidden="true" class="listicon gp_osmlink"></i></a>
</div>
</div>
<div class="form-group row item-detail">
<label class="col-sm-4 col-form-label">
<strong>PLZ</strong>
</label>
<div class="col">
<div *ngIf="nodeService.detailView.getOsmTagValue('addr:postcode')">
<span class="form-control-plaintext" id="elementKey" >{{nodeService.detailView.getOsmTagValue('addr:postcode')}}</span>
</div>
<div *ngIf="!nodeService.detailView.getOsmTagValue('addr:postcode')">
<span class="form-control-plaintext text-muted" id="elementKey" >Keine Angabe bisher.</span>
</div>
</div>
<div class="col-auto">
<a href="http://www.openstreetmap.org/copyright" target="_blank"><i aria-hidden="true" class="listicon gp_osmlink"></i></a>
</div>
</div>
<div class="form-group row item-detail">
<label class="col-sm-4 col-form-label">
<strong>Stadt</strong>
</label>
<div class="col">
<div *ngIf="nodeService.detailView.getOsmTagValue('addr:city')">
<span class="form-control-plaintext" id="elementKey" >{{nodeService.detailView.getOsmTagValue('addr:city')}}</span>
</div>
<div *ngIf="!nodeService.detailView.getOsmTagValue('addr:city')">
<span class="form-control-plaintext text-muted" id="elementKey" >Keine Angabe bisher.</span>
</div>
</div>
<div class="col-auto">
<a href="http://www.openstreetmap.org/copyright" target="_blank"><i aria-hidden="true" class="listicon gp_osmlink"></i></a>
</div>
</div>
<div class="form-group row item-detail">
<label class="col-sm-4 col-form-label">
<strong>Land</strong>
</label>
<div class="col">
<div *ngIf="nodeService.detailView.getOsmTagValue('addr:country')">
<span class="form-control-plaintext" id="elementKey" >{{nodeService.detailView.getOsmTagValue('addr:country')}}</span>
</div>
<div *ngIf="!nodeService.detailView.getOsmTagValue('addr:country')">
<span class="form-control-plaintext text-muted" id="elementKey" >Keine Angabe bisher.</span>
</div>
</div>
<div class="col-auto">
<a href="http://www.openstreetmap.org/copyright" target="_blank"><i aria-hidden="true" class="listicon gp_osmlink"></i></a>
</div>
</div>
<div class="form-group row item-detail">
<label class="col-sm-4 col-form-label">
<strong>E-Mail</strong>
</label>
<div class="col">
<div *ngIf="nodeService.detailView.getOsmTagValue('email')">
<span class="form-control-plaintext" id="elementKey" >{{nodeService.detailView.getOsmTagValue('email')}}</span>
</div>
<div *ngIf="!nodeService.detailView.getOsmTagValue('email')">
<span class="form-control-plaintext text-muted" id="elementKey" >Keine Angabe bisher.</span>
</div>
</div>
<div class="col-auto">
<a href="http://www.openstreetmap.org/copyright" target="_blank"><i aria-hidden="true" class="listicon gp_osmlink"></i></a>
</div>
</div>
<div class="form-group row item-detail">
<label class="col-sm-4 col-form-label">
<strong>Öffnungszeiten</strong>
</label>
<div class="col">
<div *ngIf="nodeService.detailView.getOsmTagValue('opening_hours')">
<span class="form-control-plaintext" id="elementKey" >{{nodeService.detailView.getOsmTagValue('opening_hours')}}</span>
</div>
<div *ngIf="!nodeService.detailView.getOsmTagValue('opening_hours')">
<span class="form-control-plaintext text-muted" id="elementKey" >Keine Angabe bisher.</span>
</div>
</div>
<div class="col-auto">
<a href="http://www.openstreetmap.org/copyright" target="_blank"><i aria-hidden="true" class="listicon gp_osmlink"></i></a>
</div>
</div>
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment