add: outbox tab on profile
tab is only visible to profile owner and mods
This commit is contained in:
parent
5dec98d698
commit
7bda718082
12 changed files with 264 additions and 9 deletions
|
@ -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 %}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue