commit e7723f4290dd79eddc2a8dd1d4c2725914a90b55 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Thu Nov 3 19:44:33 2016 +0000 Add latest change to the changelog commit e2104997ab796eeba320931beaec3bc99fd2d296 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Thu Nov 3 19:43:27 2016 +0000 Pass correct info to updated social links template commit 586ca9b5446e272ef3b89a615ba0666e6f7d8d82 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Thu Nov 3 19:42:08 2016 +0000 Remove reply/like/repost links, add facebook link commit 00483089380d2e00d24d86a4b1a03363161c7a97 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Thu Nov 3 19:22:46 2016 +0000 Add dummy Facebook URLs for syndication commit 2e001b04e36a7fd1198fe5ee70db65cd2523e123 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Thu Nov 3 19:22:11 2016 +0000 Clarify that syndication isn’t being tested during micropub client integration test
27 lines
1.7 KiB
PHP
27 lines
1.7 KiB
PHP
@if ($note->twitter)
|
|
{!! $note->twitter->html !!}
|
|
@elseif ($note->in_reply_to)
|
|
<div class="p-in-reply-to h-cite reply-to">
|
|
In reply to <a href="{{ $note->reply_to }}" class="u-url">{{ $note->in_reply_to }}</a>
|
|
</div>
|
|
@endif
|
|
<div class="note">
|
|
<div class="e-content p-name">
|
|
{!! $note->note !!}
|
|
@if(count($note->photoURLs) > 0)
|
|
@foreach($note->photoURLs as $photoURL)
|
|
<img src="{{ $photoURL }}" alt="" class="note-photo u-photo">
|
|
@endforeach
|
|
@endif
|
|
</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->placeLink)in <span class="p-location h-card"><a class="p-name u-url" href="{{ $note->placeLink }}">{{ $note->address }}</a><data class="p-latitude" value="{{ $note->latitude }}"></data><data class="p-longitude" value="{{ $note->longitude }}"></data></span>
|
|
@elseif($note->address)in <span class="p-location h-adr">{!! $note->address !!}<data class="p-latitude" value="{{ $note->latitude }}"></data><data class="p-longitude" value="{{ $note->longitude }}"></data></span>@endif
|
|
@if($note->replies > 0)Replies: {{ $note->replies }}@endif
|
|
@if($note->tweet_id || $note->facebook_url)@include('templates.social-links', ['tweet_id' => $note->tweet_id, 'facebook_url' => $note->facebook_url])@endif
|
|
@if ($note->placeLink)
|
|
<div class="map" data-latitude="{{ $note->latitude }}" data-longitude="{{ $note->longitude }}"></div>
|
|
@endif
|
|
</div>
|
|
</div>
|