add: user associations
This commit is contained in:
parent
50319f9124
commit
675b3e4ee6
11 changed files with 131 additions and 9 deletions
|
@ -188,6 +188,20 @@
|
|||
);
|
||||
}, 100);
|
||||
}, 150);"))))
|
||||
(div
|
||||
("class" "card-nest w-full")
|
||||
(div
|
||||
("class" "card small flex items-center justify-between gap-2")
|
||||
(div
|
||||
("class" "flex items-center gap-2")
|
||||
(text "{{ icon \"users-round\" }}")
|
||||
(span
|
||||
(text "{{ text \"mod_panel:label.associations\" }}"))))
|
||||
(div
|
||||
("class" "card tertiary flex flex-wrap gap-2")
|
||||
(text "{% for user in associations -%}")
|
||||
(text "{{ components::user_plate(user=user, show_menu=false) }}")
|
||||
(text "{%- endfor %}")))
|
||||
(div
|
||||
("class" "card-nest w-full")
|
||||
(div
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
(text "{% if user and user.id == post.owner -%}")
|
||||
(a
|
||||
("href" "/post/{{ post.id }}#/edit")
|
||||
("data-tab-button" "edit")
|
||||
(text "{{ icon \"pen\" }}")
|
||||
(span
|
||||
(text "{{ text \"communities:label.edit_content\" }}")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue