aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note/reply_button.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note/reply_button.php')
-rw-r--r--templates/note/reply_button.php5
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