add: letter reactions
This commit is contained in:
parent
3ead205cd8
commit
a6bf547fdc
7 changed files with 65 additions and 4 deletions
|
@ -2640,6 +2640,11 @@
|
|||
("href" "/mail/compose?receivers={{ owner.username }}{% for receiver in letter.receivers %},id%3A{{ receiver }}{% endfor %}&subject=Re%3A%20{{ letter.subject }}&replying_to={{ letter.id }}")
|
||||
("title" "Reply all")
|
||||
(icon (text "reply-all")))
|
||||
(div
|
||||
("class" "flex gap_2 reactions_box")
|
||||
("hook" "check_reactions")
|
||||
("hook-arg:id" "{{ letter.id }}")
|
||||
(text "{{ self::likes(id=letter.id, asset_type=\"Letter\", likes=letter.likes, dislikes=letter.dislikes, disable_dislikes=owner.settings.hide_dislikes, secondary=true) }}"))
|
||||
(text "{% if user and letter.owner == user.id -%}")
|
||||
(button
|
||||
("class" "small lowered red")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue