blob: e5e5389a322d1ad06a3fe1be9b488036be7c5259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
use Digitigrade\Model\Note;
call_template('skeleton', [
'pageTitle' => '"' . $note->plainContent . '" - @' . $note->author->getFullHandle(),
'renderTitleHeading' => false
], function () {
global $note;
$notes = Note::findAllInThread($note->threadApex ?? $note);
foreach ($notes as $n) {
call_template('note', ['note' => $n, 'selected' => $n == $note]);
}
});
|