generated from t/malachite
fix: respect private profile and check blocks on profile
This commit is contained in:
parent
2bd23f8214
commit
0b242ac5f0
4 changed files with 50 additions and 3 deletions
|
@ -247,6 +247,7 @@ video {
|
|||
user-select: none;
|
||||
appearance: none;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.button:not(nav *, .tab, .dropdown .inner *, .square) {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
(text "{% if user -%}")
|
||||
(meta ("http-equiv" "refresh") ("content" "0; /chats"))
|
||||
(text "{% else %}")
|
||||
(meta ("http-equiv" "refresh") ("content" "0; {{ config.service_hosts.tetratto|safe }}"))
|
||||
(meta ("http-equiv" "refresh") ("content" "0; /login"))
|
||||
(text "{%- endif %}")
|
||||
(text "{% endblock %} {% block body %}")
|
||||
(div
|
||||
|
|
|
@ -64,6 +64,10 @@
|
|||
("href" "{{ config.service_hosts.tetratto }}/auth/register")
|
||||
(text "sign up"))
|
||||
(text "{%- else -%}")
|
||||
(a
|
||||
("class" "button")
|
||||
("href" "/@{{ user.username }}")
|
||||
(text "my profile"))
|
||||
(a
|
||||
("class" "button")
|
||||
("href" "{{ config.service_hosts.tetratto }}/settings")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue