From 07632edc480ef8a384da51edf63221f52e12990b Mon Sep 17 00:00:00 2001 From: Monkey Do Date: Mon, 18 May 2020 19:51:20 +0200 Subject: [PATCH] fix: fix mentions of "open in a new tab" After PR #383 mentions of "click to open in a new tab" are wrong and misleading --- src/client/entity-editor/edition-section/edition-section.js | 4 ++-- src/client/entity-editor/name-section/name-section.js | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/client/entity-editor/edition-section/edition-section.js b/src/client/entity-editor/edition-section/edition-section.js index 331a5d9ee3..8c77bdc0dc 100644 --- a/src/client/entity-editor/edition-section/edition-section.js +++ b/src/client/entity-editor/edition-section/edition-section.js @@ -224,8 +224,8 @@ function EditionSection({ 'An existing Edition Group with the same name as this Edition already exists' }:
- The first match has been selected automatically.
- Please review the choice: click on an item to open it in a new tab: + The first match has been selected automatically. Please review the choice: +
Click on an item to open it (Ctrl/Cmd + click to open in a new tab)
diff --git a/src/client/entity-editor/name-section/name-section.js b/src/client/entity-editor/name-section/name-section.js index ed544aa03d..1278b84957 100644 --- a/src/client/entity-editor/name-section/name-section.js +++ b/src/client/entity-editor/name-section/name-section.js @@ -161,7 +161,7 @@ class NameSection extends React.Component { We found the following  {_.startCase(entityType)}{exactMatches.length > 1 ? 's' : ''} with exactly the same name or alias: -
Click on a name to open in a new tab +
Click on a name to open it (Ctrl/Cmd + click to open in a new tab) {exactMatches.map((match) => ( @@ -187,7 +187,8 @@ class NameSection extends React.Component { If the {_.startCase(entityType)} you want to add appears in the results - below, click on it to inspect it in a new tab before adding a possible duplicate. + below, click on it to inspect it before adding a possible duplicate.
+ Ctrl/Cmd + click to open in a new tab