diff options
| author | winter | 2025-01-18 16:33:25 +0000 |
|---|---|---|
| committer | winter | 2025-01-18 16:33:25 +0000 |
| commit | c11c5064019f96d704cf324c8ee8580dd9e0d594 (patch) | |
| tree | 1b1f47bdbc76f54062f0f7dff8bc0be077ad202f /templates/reply_button.php | |
| parent | 57f3f83a01c42b702005990bfc109367ffcf5f66 (diff) | |
disable note actions when logged out
Diffstat (limited to 'templates/reply_button.php')
| -rw-r--r-- | templates/reply_button.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/reply_button.php b/templates/reply_button.php index 4162d23..b86a21f 100644 --- a/templates/reply_button.php +++ b/templates/reply_button.php @@ -6,6 +6,7 @@ $id = "interactButton-reply-$note->id"; ?> <div class="interactButtonContainer reply"> <button title="<?= __('note.action.reply') ?>" class="icon material-symbols-outlined reply" id="<?= $id ?>" + <?= ($disabled ?? false) ? 'disabled' : '' ?> _="on click send toggle to [me, next .noteReplyForm] on toggle toggle .active on closest <div/>"><?= $icon ?></button> <label for="<?= $id ?>"><?= $count ?? '' ?></label> </div>
\ No newline at end of file |
