diff options
| author | winter | 2025-01-23 17:23:58 +0000 |
|---|---|---|
| committer | winter | 2025-01-23 17:23:58 +0000 |
| commit | ddccaf16f39a4bf710266edc389fcde124e7ef56 (patch) | |
| tree | f3e2b5f78bd828adfc8f842e2b3c5a6c07bde26e /templates/reply_button.php | |
| parent | 1b60d5ca77a387122bcf900c2972edca63403155 (diff) | |
use icons-in-css instead of icon font
Diffstat (limited to 'templates/reply_button.php')
| -rw-r--r-- | templates/reply_button.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/reply_button.php b/templates/reply_button.php index b86a21f..af36000 100644 --- a/templates/reply_button.php +++ b/templates/reply_button.php @@ -1,12 +1,11 @@ <?php use Digitigrade\Model\Note; -$icon = $note->countReplies() > 0 ? 'reply_all' : 'reply'; +$icon = $note->countReplies() > 0 ? 'reply-all' : 'reply'; $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> + <button title="<?= __('note.action.reply') ?>" class="material-symbols <?= $icon ?>" id="<?= $id ?>" <?= ($disabled ?? false) ? 'disabled' : '' ?> + _="on click send toggle to [me, next .noteReplyForm] on toggle toggle .active on closest <div/>"></button> <label for="<?= $id ?>"><?= $count ?? '' ?></label> </div>
\ No newline at end of file |
