diff --git a/crates/app/src/langs/en-US.toml b/crates/app/src/langs/en-US.toml index a65c0cb..5cd2089 100644 --- a/crates/app/src/langs/en-US.toml +++ b/crates/app/src/langs/en-US.toml @@ -22,6 +22,7 @@ version = "1.0.0" "general:action.report" = "Report" "general:action.manage" = "Manage" "general:action.open" = "Open" +"general:action.view" = "View" "general:action.copy_link" = "Copy link" "general:label.safety" = "Safety" "general:label.share" = "Share" @@ -147,6 +148,7 @@ version = "1.0.0" "settings:tab.security" = "Security" "settings:tab.blocks" = "Blocks" "settings:tab.billing" = "Billing" +"settings:tab.uploads" = "Uploads" "mod_panel:label.open_reported_content" = "Open reported content" "mod_panel:label.manage_profile" = "Manage profile" diff --git a/crates/app/src/public/html/communities/create_post.html b/crates/app/src/public/html/communities/create_post.html index 93cb7d9..c19f3c3 100644 --- a/crates/app/src/public/html/communities/create_post.html +++ b/crates/app/src/public/html/communities/create_post.html @@ -97,8 +97,10 @@ // create body const body = new FormData(); - for (const file of e.target.file_picker.files) { - body.append(file.name, file); + if (e.target.file_picker) { + for (const file of e.target.file_picker.files) { + body.append(file.name, file); + } } body.append( diff --git a/crates/app/src/public/html/profile/settings.html b/crates/app/src/public/html/profile/settings.html index 62e9c48..e01cc3e 100644 --- a/crates/app/src/public/html/profile/settings.html +++ b/crates/app/src/public/html/profile/settings.html @@ -49,6 +49,11 @@ {{ text "settings:tab.blocks" }} + + {{ icon "image-up" }} + {{ text "settings:tab.uploads" }} + + {% if config.stripe %} {{ icon "credit-card" }} @@ -391,6 +396,86 @@ + +