commit 921d3789e8ef14c426d7629e4a5a8a788cdc4e44 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Oct 24 23:42:09 2016 +0100 remove indie-action markup for now commit 0df3d68eec48d119f1eeb701201accf53590d991 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Oct 24 23:31:18 2016 +0100 close data tags
27 lines
1.6 KiB
PHP
27 lines
1.6 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->latitude }}"></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)@include('templates.social-links', ['tweet_id' => $note->tweet_id, 'nb60id' => $note->nb60id])@endif
|
|
@if ($note->placeLink)
|
|
<div class="map" data-latitude="{{ $note->latitude }}" data-longitude="{{ $note->longitude }}"></div>
|
|
@endif
|
|
</div>
|
|
</div>
|