Hide latitude, longitude in data tags so its machine readable, but not cluttering the UI

This commit is contained in:
Jonny Barnes 2016-10-24 18:04:59 +01:00
parent 963e5f1152
commit 776ebd5bb0
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
## Version {next}
- Having used `yarn` for npm packages, we now also use it for bower packages
- Update typekit sri hash
- Hide co-ordinates, in data tags, we want them to be read by machines, but not humans
## Version 0.0.14.10 (2016-10-21)
- Fix: Trying to get brid.gy markup compatibility

View file

@ -16,7 +16,7 @@
</div>
<div class="note-metadata">
<a class="u-url" href="/notes/{{ $note->nb60id }}"><time class="dt-published" datetime="{{ $note->iso8601_time }}">{{ $note->human_time }}</time></a>@if($note->client_name) via <a class="client" href="{{ $note->client_id }}">{{ $note->client_name }}</a>@endif
@if($note->address)in <span class="p-location"><span class="p-name">@if($note->placeLink)<a href="{{ $note->placeLink }}">@endif{{ $note->address }}@if($note->placeLink)</a>@endif</span> <span class="coordinates">(<span class="p-latitude">{{ $note->latitude }}</span>, <span class="p-longitude">{{ $note->longitude }}</span>)</span></span>@endif
@if($note->address)in <span class="p-location"><span class="p-name">@if($note->placeLink)<a href="{{ $note->placeLink }}">@endif{{ $note->address }}@if($note->placeLink)</a>@endif</span><data class="p-latitude" value="{{ $note->latitude }}"><data class="p-longitude" value="{{ $note->longitude }}"></span>@endif
@if($note->replies > 0)Replies: {{ $note->replies }}@endif
@if($note->tweet_id)@include('templates.social-links', ['tweet_id' => $note->tweet_id, 'nb60id' => $note->nb60id])@endif
@if ($note->placeLink)