forked from GNUsocial/gnu-social
[Favourite][Reply][Repeat] The respective svg for note actions is assigned. Repeat note handler needs work. "An exception has been thrown during the rendering of a template ("No value in table note matches the requested criteria")." exception thrown on repeat.
This commit is contained in:
@@ -50,9 +50,15 @@ class Repeat extends NoteHandlerPlugin
|
||||
$is_set = false;
|
||||
}
|
||||
$form = Form::create([
|
||||
['is_set', HiddenType::class, ['data' => $is_set ? '1' : '0']],
|
||||
['note_id', HiddenType::class, ['data' => $note->getId()]],
|
||||
['repeat', SubmitType::class, ['label' => ' ']],
|
||||
['repeat', SubmitType::class,
|
||||
[
|
||||
'label' => ' ',
|
||||
'attr' => [
|
||||
'class' => $is_set ? 'note-actions-set' : 'note-actions-unset',
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
||||
// Handle form
|
||||
|
Reference in New Issue
Block a user