diff --git a/crates/app/src/langs/en-US.toml b/crates/app/src/langs/en-US.toml index b40b671..de3a48f 100644 --- a/crates/app/src/langs/en-US.toml +++ b/crates/app/src/langs/en-US.toml @@ -114,6 +114,8 @@ version = "1.0.0" "settings:label.theme_hue" = "Theme hue" "settings:label.theme_sat" = "Theme sat" "settings:label.theme_lit" = "Theme lit" +"settings:label.import" = "Import" +"settings:label.export" = "Export" "mod_panel:label.open_reported_content" = "Open reported content" "mod_panel:label.manage_profile" = "Manage profile" diff --git a/crates/app/src/public/html/profile/posts.html b/crates/app/src/public/html/profile/posts.html index d0ef890..df064f8 100644 --- a/crates/app/src/public/html/profile/posts.html +++ b/crates/app/src/public/html/profile/posts.html @@ -34,10 +34,12 @@ profile.settings.enable_questions and user %}
{% for post in posts %} - {% if post[0].context.repost and post[0].context.repost.reposting %} - {{ components::repost(repost=post[3], post=post[0], owner=post[1], secondary=true, community=post[2], show_community=true, can_manage_post=is_self) }} - {% else %} - {{ components::post(post=post[0], owner=post[1], question=post[4], secondary=true, community=post[2], can_manage_post=is_self) }} + {% if post[2].read_access == "Everybody" %} + {% if post[0].context.repost and post[0].context.repost.reposting %} + {{ components::repost(repost=post[3], post=post[0], owner=post[1], secondary=true, community=post[2], show_community=true, can_manage_post=is_self) }} + {% else %} + {{ components::post(post=post[0], owner=post[1], question=post[4], secondary=true, community=post[2], can_manage_post=is_self) }} + {% endif %} {% endif %} {% endfor %} diff --git a/crates/app/src/public/html/profile/settings.html b/crates/app/src/public/html/profile/settings.html index b3ba3dc..6211fe7 100644 --- a/crates/app/src/public/html/profile/settings.html +++ b/crates/app/src/public/html/profile/settings.html @@ -313,6 +313,21 @@