add: individual topic write permissions
This commit is contained in:
parent
3738a5cd1f
commit
8c779b2f2e
6 changed files with 80 additions and 9 deletions
|
@ -9,6 +9,7 @@
|
|||
(text "{{ components::topic_display(id=topic_id, topic=topic, community=community, show_description=false) }}")
|
||||
(div
|
||||
("class" "flex gap_2")
|
||||
(text "{% if can_post -%}")
|
||||
(a
|
||||
("href" "/communities/intents/post?community={{ community.id }}&topic={{ topic_id }}&sig=true")
|
||||
("class" "button small lowered")
|
||||
|
@ -16,6 +17,7 @@
|
|||
(icon (text "plus"))
|
||||
(span
|
||||
(str (text "general:action.post"))))
|
||||
(text "{%- endif %}")
|
||||
(a
|
||||
("href" "/community/{{ community.title }}")
|
||||
("class" "button lowered small")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue