jonnybarnes.uk/resources/views/singlenote.blade.php
Jonny Barnes 3213788dbb Squashed commit of the following:
commit 8e1dd96ad9a3301560a79aa3e6231e5cbc5112a8
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Feb 5 20:50:50 2017 +0000

    Update changelog

commit 2d5eae57534f40d6f768ab92e46123d45b85f23d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Feb 5 20:47:21 2017 +0000

    Link to correct js files, also pre-compress js assets

commit 281844d09ced2035da05336d6a47399e3cf6a92a
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Feb 5 20:31:12 2017 +0000

    Adding a links util
2017-02-05 20:51:26 +00:00

44 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 «
@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')
<script defer src="/assets/js/links.js"></script>
<link rel="stylesheet" href="/assets/frontend/mapbox-gl.css">
<script defer src="/assets/js/maps.js"></script>
<script src="/assets/prism/prism.js"></script>
<link rel="stylesheet" href="/assets/prism/prism.css">
@stop