From d053e1bb231569114df401c26908e6fc24531f2f Mon Sep 17 00:00:00 2001
From: Stas Vilchik
Date: Wed, 27 Jan 2016 15:44:24 +0100
Subject: [PATCH] SONAR-7230 improve rendering of notifications page
---
.../account/components/GlobalNotifications.js | 12 ++-
.../apps/account/components/Notifications.js | 2 +-
.../account/components/ProjectNotification.js | 73 +++++++++++++++++++
.../components/ProjectNotifications.js | 66 ++++++-----------
.../src/main/less/components/columns.less | 4 +
server/sonar-web/src/main/less/init/misc.less | 5 +-
6 files changed, 109 insertions(+), 53 deletions(-)
create mode 100644 server/sonar-web/src/main/js/apps/account/components/ProjectNotification.js
diff --git a/server/sonar-web/src/main/js/apps/account/components/GlobalNotifications.js b/server/sonar-web/src/main/js/apps/account/components/GlobalNotifications.js
index 5f5de5de9b4..180f22468f8 100644
--- a/server/sonar-web/src/main/js/apps/account/components/GlobalNotifications.js
+++ b/server/sonar-web/src/main/js/apps/account/components/GlobalNotifications.js
@@ -24,12 +24,10 @@ import { translate } from '../../../helpers/l10n';
export default function GlobalNotifications ({ notifications, channels }) {
return (
-
-
-
- {translate('my_profile.overall_notifications.title')}
-
-
+
+
+ {translate('my_profile.overall_notifications.title')}
+
@@ -48,6 +46,6 @@ export default function GlobalNotifications ({ notifications, channels }) {
checkboxId={(d, c) => `global_notifs_${d}_${c}`}
checkboxName={(d, c) => `global_notifs[${d}.${c}]`}/>
-
+
);
}
diff --git a/server/sonar-web/src/main/js/apps/account/components/Notifications.js b/server/sonar-web/src/main/js/apps/account/components/Notifications.js
index 75784ae9aa1..853d64d3c35 100644
--- a/server/sonar-web/src/main/js/apps/account/components/Notifications.js
+++ b/server/sonar-web/src/main/js/apps/account/components/Notifications.js
@@ -32,7 +32,7 @@ export default function Notifications ({ globalNotifications, projectNotificatio
{translate('notification.dispatcher.information')}