Squashed commit of the following:

commit 54a5ba8c4942b57b42168a353b6649be325940a1
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Oct 21 15:47:27 2016 +0100

    Add co-ordinates and tweak microformat markup of location data
This commit is contained in:
Jonny Barnes 2016-10-21 15:49:56 +01:00
parent f9a92a2142
commit 99231d8114
7 changed files with 8 additions and 4 deletions

View file

@ -74,6 +74,11 @@ nav {
fill: $blue;
}
.coordinates {
font-size: 60%;
color: $base0;
}
.reply {
margin-left: 2em;
margin-right: 2em;

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)<span class="note-address p-location">in @if($note->placeLink)<a href="{{ $note->placeLink }}">@endif<span class="p-name">{{ $note->address }}</span>@if($note->placeLink)</a>@endif</span>@endif
@if($note->address)in <span class="p-location 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>@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)