Better location markup

This commit is contained in:
Jonny Barnes 2016-10-21 17:01:04 +01:00
parent c0e169b5e8
commit 36a7c7ca9a

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 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->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->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)