diff options
| author | winter | 2025-01-13 21:12:22 +0000 |
|---|---|---|
| committer | winter | 2025-01-13 21:12:22 +0000 |
| commit | c298fa4d4cc4277c1f7c2a54d9fb98b395b9bc12 (patch) | |
| tree | 4037c3bfc88a585085a3db5c0c8455fad702eff5 /templates/reply_button.php | |
| parent | 5e5b7c5d6d4bbdd4acaea7d4b6c5be1e27b04a86 (diff) | |
tidy stylesheets and improve replies styling
Diffstat (limited to 'templates/reply_button.php')
| -rw-r--r-- | templates/reply_button.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/reply_button.php b/templates/reply_button.php index 6b755df..1b9736b 100644 --- a/templates/reply_button.php +++ b/templates/reply_button.php @@ -1,2 +1,7 @@ +<?php +use Digitigrade\Model\Note; + +$icon = count(Note::findAllInThread($note, 2)) > 1 ? 'reply_all' : 'reply'; +?> <button title="<?= __('note.action.reply') ?>" class="icon material-symbols-outlined reply" - _="on click send toggle to [me, next .noteReplyForm] on toggle toggle .active">reply</button>
\ No newline at end of file + _="on click send toggle to [me, next .noteReplyForm] on toggle toggle .active"><?= $icon ?></button>
\ No newline at end of file |
