diff options
| author | winter | 2025-03-30 19:00:19 +0100 |
|---|---|---|
| committer | winter | 2025-03-30 19:00:19 +0100 |
| commit | cd10f94269d7dcdd93df9fcda142a1e5a4441ae9 (patch) | |
| tree | 75a00ef94c94259d3e6308d67e491b3800b47d89 /templates/note/reply_button.php | |
| parent | c26a1dca22fcced7b9cd37ace7a20ae71491fd66 (diff) | |
implement basic interaction controls
Diffstat (limited to 'templates/note/reply_button.php')
| -rw-r--r-- | templates/note/reply_button.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/note/reply_button.php b/templates/note/reply_button.php index de4cb1b..79267b6 100644 --- a/templates/note/reply_button.php +++ b/templates/note/reply_button.php @@ -7,10 +7,11 @@ $icon = $note->inReplyTo == null ? 'reply' : 'reply-all'; $id = "interactButton-reply-$note->id"; ?> <div class="interactButtonContainer reply"> - <button title="<?= __('note.action.reply') ?>" class="material-symbols <?= $icon ?>" id="<?= $id ?>" <?= ($disabled ?? false) ? 'disabled' : '' ?> _=" + <button title="<?= __('note.action.reply' . ($disabled ? '.forbidden' : '')) ?>" class="material-symbols <?= $icon ?>" + id="<?= $id ?>" <?= ($disabled ?? false) ? 'disabled' : '' ?> _=" on click send toggle to [me, next .noteReplyForm] tell next <textarea/> js(you) you.focus() end on toggle toggle .active on closest <div/>"></button> - <label for="<?= $id ?>"><?= $count ?? '' ?></label> + <label for="<?= $id ?>"><?= $count ?? '' ?></label> </div>
\ No newline at end of file |
