From: Anon Date: Sat, 4 Jun 2022 16:47:10 +0000 (-0500) Subject: Add support for filtering mod logs X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7BdonateLemmyUrl%7D?a=commitdiff_plain;h=a8ab4e0558820e26a6308e732b2ee1e11dec1051;p=lemmy-ui.git Add support for filtering mod logs --- diff --git a/lemmy-translations b/lemmy-translations index 7c1b691..29c689a 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit 7c1b691af63845a2fe2f8219b4620b8db3c9c3ba +Subproject commit 29c689af8d16417c1b84d9491f6bcea888720a87 diff --git a/src/assets/css/main.css b/src/assets/css/main.css index fe728ca..3ec52d0 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -375,6 +375,10 @@ br.big { border-radius: 4px; } +.modlog-choices-font-size { + font-size: .9375rem !important; +} + .preview-lines { overflow: hidden; text-overflow: ellipsis; diff --git a/src/shared/components/home/site-form.tsx b/src/shared/components/home/site-form.tsx index 09a7ca3..e2266fe 100644 --- a/src/shared/components/home/site-form.tsx +++ b/src/shared/components/home/site-form.tsx @@ -54,6 +54,7 @@ export class SiteForm extends Component { description: None, community_creation_admin_only: None, auth: undefined, + hide_modlog_mod_names: Some(true), }), loading: false, themeList: None, @@ -98,6 +99,7 @@ export class SiteForm extends Component { default_theme: Some(site.default_theme), default_post_listing_type: Some(site.default_post_listing_type), legal_information: site.legal_information, + hide_modlog_mod_names: site.hide_modlog_mod_names, auth: undefined, }); }, @@ -437,6 +439,25 @@ export class SiteForm extends Component { +
+
+
+ + +
+
+