Skip to content

Commit

Permalink
Merge pull request #427 from bookbrainz/new-tab
Browse files Browse the repository at this point in the history
fix: fix mentions of "open in a new tab"
  • Loading branch information
MonkeyDo committed May 18, 2020
2 parents 5e976f3 + 07632ed commit 3846eec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/client/entity-editor/edition-section/edition-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ function EditionSection({
'An existing Edition Group with the same name as this Edition already exists'
}:
<br/>
<small>The first match has been selected automatically.<br/>
Please review the choice: click on an item to open it in a new tab:
<small>The first match has been selected automatically. Please review the choice:
<br/>Click on an item to open it (Ctrl/Cmd + click to open in a new tab)
</small>
<SearchResults condensed results={matchingNameEditionGroups}/>
</Alert>
Expand Down
5 changes: 3 additions & 2 deletions src/client/entity-editor/name-section/name-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class NameSection extends React.Component {
We found the following&nbsp;
{_.startCase(entityType)}{exactMatches.length > 1 ? 's' : ''} with
exactly the same name or alias:
<br/><small className="help-block">Click on a name to open in a new tab</small>
<br/><small className="help-block">Click on a name to open it (Ctrl/Cmd + click to open in a new tab)</small>
<ListGroup className="margin-top-1 margin-bottom-1">
{exactMatches.map((match) =>
(
Expand All @@ -187,7 +187,8 @@ class NameSection extends React.Component {
<Row>
<Col md={6} mdOffset={3}>
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.<br/>
<small>Ctrl/Cmd + click to open in a new tab</small>
<SearchResults condensed results={searchResults}/>
</Col>
</Row>
Expand Down

0 comments on commit 3846eec

Please sign in to comment.