add: outbox tab on profile

tab is only visible to profile owner and mods
This commit is contained in:
trisua 2025-06-01 19:26:55 -04:00
parent 5dec98d698
commit 7bda718082
12 changed files with 264 additions and 9 deletions

View file

@ -211,5 +211,18 @@
(a
("href" "/@{{ profile.username }}/media")
("class" "{% if selected == 'media' -%}active{%- endif %}")
(str (text "auth:label.media"))))
(str (text "auth:label.media")))
(text "{% if is_self or is_helper %}")
(a
("href" "/@{{ profile.username }}/outbox")
("class" "{% if selected == 'outbox' -%}active{%- endif %}")
(str (text "auth:label.outbox")))
(text "{% endif %}")
(text "{% if is_helper %}")
(a
("href" "/requests?id={{ profile.id }}")
(str (text "requests:label.requests")))
(text "{% endif %}"))
(text "{%- endmacro %}")