add: request-to-join communities
add: private joined communities setting add: "void" community add: ability to delete communities
This commit is contained in:
parent
3a8af17154
commit
d0c1fbcf9a
20 changed files with 669 additions and 122 deletions
|
@ -75,7 +75,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{% if not is_self %}
|
||||
{% if not is_self and user %}
|
||||
<div class="card-nest">
|
||||
<div class="card small">
|
||||
<b>{{ text "auth:label.relationship" }}</b>
|
||||
|
@ -157,8 +157,8 @@
|
|||
</script>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endif %} {% if not profile.settings.private_communities or
|
||||
is_self %}
|
||||
<div class="card-nest">
|
||||
<div class="card small flex gap-2 items-center">
|
||||
{{ icon "users-round" }}
|
||||
|
@ -174,6 +174,7 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="rhs w-full">{% block content %}{% endblock %}</div>
|
||||
|
|
|
@ -378,10 +378,21 @@
|
|||
profile_settings,
|
||||
[
|
||||
[
|
||||
["private_profile", "Private profile"],
|
||||
[
|
||||
"private_profile",
|
||||
"Only allow users I'm following to view my profile",
|
||||
],
|
||||
"{{ user.settings.private_profile }}",
|
||||
"checkbox",
|
||||
],
|
||||
[
|
||||
[
|
||||
"private_communities",
|
||||
"Keep my joined communities private",
|
||||
],
|
||||
"{{ user.settings.private_communities }}",
|
||||
"checkbox",
|
||||
],
|
||||
],
|
||||
settings,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue