aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note.php')
-rw-r--r--templates/note.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/note.php b/templates/note.php
index 31795e4..6e718f5 100644
--- a/templates/note.php
+++ b/templates/note.php
@@ -20,9 +20,9 @@
<?= $note->getFormattedContent('text/html') ?? htmlspecialchars($note->plainContent) ?>
</div>
<div class="buttons">
- <button title="Like" class="icon material-symbols-outlined">favorite</button>
- <button title="Dislike" class="icon material-symbols-outlined">heart_broken</button>
- <button title="Reshare" class="icon material-symbols-outlined">repeat</button>
+ <?php foreach (['like', 'dislike', 'reshare'] as $action) {
+ render_template('interaction_button', ['action' => $action, 'note' => $note]);
+ } ?>
</div>
</div>
</article> \ No newline at end of file