add: forge pinned tickets
This commit is contained in:
parent
68071b96c8
commit
46f8aea538
5 changed files with 44 additions and 16 deletions
|
@ -3,5 +3,4 @@
|
|||
("class" "flex flex-col gap-4 w-full")
|
||||
(text "{{ macros::forge_nav(community=community, selected=\"info\") }}")
|
||||
(text "{{ components::community_info(community=community) }}"))
|
||||
; (text "{{ components::community_banner(id=community.id, community=community) }}")
|
||||
(text "{% endblock %}")
|
||||
|
|
|
@ -2,6 +2,19 @@
|
|||
(div
|
||||
("class" "flex flex-col gap-4 w-full")
|
||||
(text "{{ macros::forge_nav(community=community, selected=\"tickets\") }}")
|
||||
(div
|
||||
("class" "card-nest")
|
||||
(div
|
||||
("class" "card small flex items-center gap-2")
|
||||
(icon (text "pin"))
|
||||
(str (text "communities:label.pinned")))
|
||||
|
||||
(div
|
||||
("class" "card flex flex-col gap-2")
|
||||
(text "{% for post in pinned -%}")
|
||||
(text "{{ components::ticket(post=post[0], owner=post[1]) }}")
|
||||
(text "{%- endfor %}")))
|
||||
|
||||
(div
|
||||
("class" "card-nest")
|
||||
(div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue