jonnybarnes.uk/resources/views/singlenote.blade.php
Jonny Barnes 3486c6253f Squashed commit of the following:
commit ac37a5d6bc0f0befd7bfaed08074b0f38b7a7501
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Tue Nov 29 20:52:49 2016 +0000

    Update changelog

commit d8fae341224f6dee1c1e32c3895dd8a038ff511d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Tue Nov 29 20:10:12 2016 +0000

    output of gulp

commit 7c25002ffdf77134d6b5ffa04ee7c945024f0666
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Tue Nov 29 20:09:44 2016 +0000

    slightly better layout of replies

commit 8c9fda30af582ef1de87962f1293545e065ecfac
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Tue Nov 29 19:58:52 2016 +0000

    Close the anchor tags

commit 9c75d3c97fc1ef5a4706f2433c9c41b74b9bb9bd
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Tue Nov 29 19:58:04 2016 +0000

    Add test reply to style
2016-11-29 20:53:05 +00:00

45 lines
1.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@extends('master')
@section('title')
{{ strip_tags($note->note) }} « Notes « Jonny Barnes
@stop
@section('content')
<div class="h-entry">
@include('templates.note', ['note' => $note])
@foreach($replies as $reply)
<div class="u-comment h-cite">
<a class="u-author h-card mini-h-card" href="{{ $reply['url'] }}">
<img src="{{ $reply['photo'] }}" alt="" class="photo u-photo logo"> <span class="fn">{{ $reply['name'] }}</span>
</a> said at <a class="dt-published u-url" href="{{ $reply['source'] }}">{{ $reply['date'] }}</a>
<div class="e-content p-name">
{!! $reply['reply'] !!}
</div>
</div>
@endforeach
@if(count($likes) > 0)<h1 class="notes-subtitle">Likes</h1>@endif
@foreach($likes as $like)
<a href="{{ $like['url'] }}"><img src="{{ $like['photo'] }}" alt="profile picture of {{ $like['name'] }}" class="like-photo"></a>
@endforeach
@if(count($reposts) > 0)<h1 class="notes-subtitle">Reposts</h1>@endif
@foreach($reposts as $repost)
<p><a class="h-card vcard mini-h-card p-author" href="{{ $repost['url'] }}">
<img src="{{ $repost['photo'] }}" alt="profile picture of {{ $repost['name'] }}" class="photo u-photo logo"> <span class="fn">{{ $repost['name'] }}</span>
</a> reposted this at <a href="{{ $repost['source'] }}">{{ $repost['date'] }}</a>.</p>
@endforeach
<!-- these empty tags are for https://brid.gys publishing service -->
<a href="https://brid.gy/publish/twitter"></a>
<a href="https://brid.gy/publish/facebook"></a>
</div>
@stop
@section('scripts')
@include('templates.mapbox-links')
<script src="/assets/frontend/Autolinker.min.js"></script>
<script src="/assets/js/links.js"></script>
<script src="/assets/js/maps.js"></script>
<script src="/assets/prism/prism.js"></script>
<link rel="stylesheet" href="/assets/prism/prism.css">
@stop