]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9410 Make more obvious that the reset button will only reset the date on the...
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Wed, 12 Jul 2017 11:19:21 +0000 (13:19 +0200)
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>
Thu, 13 Jul 2017 12:34:17 +0000 (14:34 +0200)
server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityDateInput.js
server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityPageHeader.js
server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/__snapshots__/ProjectActivityDateInput-test.js.snap
server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/__snapshots__/ProjectActivityPageHeader-test.js.snap
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 82aa95a96c26c5c4feca3ce28b56c595b8c5bbb9..3a0212037acffe1e4425fcf2fd624e3b7ec6fc92 100644 (file)
@@ -64,7 +64,7 @@ export default class ProjectActivityDateInput extends React.PureComponent {
           className="spacer-left"
           onClick={this.handleResetClick}
           disabled={this.props.from == null && this.props.to == null}>
-          {translate('reset_verb')}
+          {translate('project_activity.reset_dates')}
         </button>
       </div>
     );
index ebbce83df7cac44926aed6fbf913cae6090f1743..2f468c7c77643833be34f27a72ead1d55ad159e0 100644 (file)
@@ -53,7 +53,7 @@ export default class ProjectActivityPageHeader extends React.PureComponent {
     return (
       <header className="page-header">
         <Select
-          className="input-medium pull-left spacer-right"
+          className="input-medium pull-left big-spacer-right"
           placeholder={translate('project_activity.filter_events') + '...'}
           clearable={true}
           searchable={false}
index 438df209b7f9d20e87ff7f885c31b44b7badbb6d..bc15b05c60e54b331acd5304b57248758fdc7357 100644 (file)
@@ -24,7 +24,7 @@ exports[`should render correctly the date inputs 1`] = `
     disabled={false}
     onClick={[Function]}
   >
-    reset_verb
+    project_activity.reset_dates
   </button>
 </div>
 `;
index a185ef12c0c8c40ba01c89582cd3e402ba12235f..42faa3e8acd586bf768b7ae457f7bebb17c66cd5 100644 (file)
@@ -10,7 +10,7 @@ exports[`should render correctly the list of series 1`] = `
     autosize={true}
     backspaceRemoves={true}
     backspaceToRemoveMessage="Press backspace to remove {label}"
-    className="input-medium pull-left spacer-right"
+    className="input-medium pull-left big-spacer-right"
     clearAllText="Clear all"
     clearValueText="Clear value"
     clearable={true}
index 45bc006fd303b6a5767112492edb2081991ad137..c190942d7ed933793ab0debe3703352166d031c5 100644 (file)
@@ -1280,6 +1280,7 @@ project_activity.add_custom_event=Create Custom Event
 project_activity.change_custom_event=Change Event
 project_activity.remove_custom_event=Delete Event
 project_activity.remove_custom_event.question=Are you sure you want to delete this event?
+project_activity.reset_dates=Reset dates
 project_activity.delete_analysis=Delete Analysis
 project_activity.delete_analysis.question=Are you sure you want to delete this analysis from the project history?
 project_activity.filter_events=Filter events