From 99745723fb670ea4ba1cb8111e527986533dee09 Mon Sep 17 00:00:00 2001 From: IAmSamHankins Date: Tue, 13 Jun 2017 12:40:07 -0400 Subject: [PATCH] style updates to flagged user names queue and updated translations --- .../routes/Community/components/Community.css | 19 ++++++++++++++----- .../routes/Community/components/styles.css | 8 +++++++- locales/en.yml | 8 ++++---- locales/es.yml | 6 +++--- 4 files changed, 28 insertions(+), 13 deletions(-) diff --git a/client/coral-admin/src/routes/Community/components/Community.css b/client/coral-admin/src/routes/Community/components/Community.css index 28551c8a0..e65c34514 100644 --- a/client/coral-admin/src/routes/Community/components/Community.css +++ b/client/coral-admin/src/routes/Community/components/Community.css @@ -175,7 +175,7 @@ right: 0; height: 100%; top: 0; - padding: 40px 18px; + padding: 50px 18px; box-sizing: border-box; } @@ -310,24 +310,33 @@ .flaggedByCount { display: block; text-align: left; + margin-top: 5px; +} + +.flaggedByCount i { + font-size: 14px; + margin-right: 10px; } .flaggedBy { display: inline; padding: 3px; - font-size: 16px; + font-size: 14px; + margin-left: 5px; } .flaggedByLabel { - font-weight: bold; + font-weight: 600; font-size: 14px; } .flaggedReasons { - padding-top: 15px; margin-left: 24px; + margin-top: 10px; } -.flaggedByReason { +p.flaggedByReason { font-size: 1tpx; + margin: 0px; + line-height: 1.4; } diff --git a/client/coral-admin/src/routes/Community/components/styles.css b/client/coral-admin/src/routes/Community/components/styles.css index 2cd3f7b50..8e4b716af 100644 --- a/client/coral-admin/src/routes/Community/components/styles.css +++ b/client/coral-admin/src/routes/Community/components/styles.css @@ -52,6 +52,10 @@ span { } } +.approve { + margin-top: 10px; +} + .notFound { position: relative; margin: 20px auto; @@ -193,7 +197,7 @@ span { top: 0; padding: 40px 18px; box-sizing: border-box; - } + } .itemHeader { display: flex; @@ -255,6 +259,8 @@ span { } + + .empty { color: #444; margin-top: 50px; diff --git a/locales/en.yml b/locales/en.yml index ce9abdce5..113737642 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -42,17 +42,17 @@ en: banned: Banned banned_user: "Banned User" cancel: Cancel - dont_like_username: "I don't like this username" + dont_like_username: "Dislike username" flaggedaccounts: "Flagged Usernames" flags: Flags - impersonating: "This user is impersonating" + impersonating: "Impersonation" loading: "Loading results" moderator: Moderator newsroom_role: "Newsroom Role" - no_flagged_accounts: "The Account Flags queue is currently empty." + no_flagged_accounts: "The Flagged Usernames queue is currently empty." no_results: "No users found with that user name or email address. They're hiding!" note: "Note: Banning this user will not let them edit comment or remove anything." - offensive: "This comment is offensive" + offensive: "Offensive" other: Other people: People role: "Select role..." diff --git a/locales/es.yml b/locales/es.yml index 1b483b70c..6897f6f8b 100644 --- a/locales/es.yml +++ b/locales/es.yml @@ -44,14 +44,14 @@ es: dont_like_username: "No me gusta este nombre de usuario" flaggedaccounts: "Nombres de Usuario Reportados" flags: Reportes - impersonating: "El usuario esta suplantando identidad" + impersonating: Impersonando loading: "Cargando resultados" moderator: Moderator newsroom_role: "Rol en la redacción" - no_flagged_accounts: "No hay ninguna cuenta reportada en este momento." + no_flagged_accounts: "No hay ningún nombre de usario reportado en este momento." no_results: "No se encontraron usuarios con ese nombre o correo." note: "Nota: Suspender a este usuario no le va a permitir (al usuario) borrar ni editar ni comentar." - offensive: "Este comentario es ofensivo" + offensive: Ofensivo other: Otro people: Gente role: "Seleccionar rol..."