diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-07-21 14:34:33 +0200 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-07-24 08:20:48 +0200 |
commit | e3e531c2383b6c7207afd2bb269ec67487dfa16b (patch) | |
tree | 32d292fa670c4a7e0391d7c4a7e8b674715ab4ee /server/sonar-web/src/main | |
parent | a5c10797e35669c5372014f6a95c750c1f24372a (diff) | |
download | sonarqube-e3e531c2383b6c7207afd2bb269ec67487dfa16b.tar.gz sonarqube-e3e531c2383b6c7207afd2bb269ec67487dfa16b.zip |
Move 'Analyse' section just after tags on the project dashboard sidebar
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/events/AnalysesList.js | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/meta/Meta.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/events/AnalysesList.js b/server/sonar-web/src/main/js/apps/overview/events/AnalysesList.js index cf8aa197c0a..c1b78936fce 100644 --- a/server/sonar-web/src/main/js/apps/overview/events/AnalysesList.js +++ b/server/sonar-web/src/main/js/apps/overview/events/AnalysesList.js @@ -40,7 +40,7 @@ type State = { metrics: Array<Metric> }; -const PAGE_SIZE = 5; +const PAGE_SIZE = 3; export default class AnalysesList extends React.PureComponent { mounted: boolean; diff --git a/server/sonar-web/src/main/js/apps/overview/meta/Meta.js b/server/sonar-web/src/main/js/apps/overview/meta/Meta.js index db9b0cb523c..1a57590524f 100644 --- a/server/sonar-web/src/main/js/apps/overview/meta/Meta.js +++ b/server/sonar-web/src/main/js/apps/overview/meta/Meta.js @@ -56,6 +56,8 @@ const Meta = ({ component, history, measures, areThereCustomOrganizations, route {isProject && <MetaTags component={component} />} + {isProject && <AnalysesList project={component.key} history={history} router={router} />} + {shouldShowQualityGate && <MetaQualityGate gate={qualityGate} />} {shouldShowQualityProfiles && @@ -70,8 +72,6 @@ const Meta = ({ component, history, measures, areThereCustomOrganizations, route <MetaKey component={component} /> {shouldShowOrganizationKey && <MetaOrganizationKey component={component} />} - - {isProject && <AnalysesList project={component.key} history={history} router={router} />} </div> ); }; |