forked from inspirehep/inspirehep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
11 changed files
with
69 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -518,7 +518,7 @@ describe('Literature collection', () => { | |
); | ||
cy.get('.ant-notification-notice-description').should( | ||
'have.text', | ||
'This paper cannot be claimed automatically. Please contact us at [email protected]' | ||
'This paper cannot be claimed automatically. Please contact us' | ||
); | ||
}); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,14 @@ import UserAction from '../../common/components/UserAction'; | |
|
||
export const CLAIMING_DISABLED_INFO = ( | ||
<p> | ||
There is no profile associated to your account. Please contact us at{' '} | ||
<a href="mailto:[email protected]">[email protected]</a> | ||
There is no profile associated to your account. Please{' '} | ||
<a | ||
href="https://help.inspirehep.net/knowledge-base/contact-us" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
contact us | ||
</a> | ||
</p> | ||
); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,8 @@ import React from 'react'; | |
|
||
import DisabledEditRecordAction from '../../common/components/DisabledEditRecordAction'; | ||
import EditRecordAction from '../../common/components/EditRecordAction'; | ||
import LinkWithTargetBlank from '../../common/components/LinkWithTargetBlank'; | ||
import { PidValue } from '../../types'; | ||
|
||
|
||
type EditAuthorRecordActionProps = { | ||
isCatalogerLoggedIn: boolean; | ||
canEdit: boolean; | ||
|
@@ -15,18 +13,22 @@ type EditAuthorRecordActionProps = { | |
|
||
const CAN_NOT_EDIT_AUTHOR_MESSAGE = ( | ||
<span> | ||
Login to edit your profile. For any changes in other profiles, contact us at{' '} | ||
<LinkWithTargetBlank href="mailto:[email protected]"> | ||
[email protected] | ||
</LinkWithTargetBlank> | ||
Login to edit your profile. For any changes in other profiles{' '} | ||
<a | ||
href="https://help.inspirehep.net/knowledge-base/contact-us" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
contact us | ||
</a> | ||
</span> | ||
); | ||
|
||
export default function EditAuthorRecordAction({ | ||
isCatalogerLoggedIn, | ||
canEdit, | ||
pidValue, | ||
page | ||
page, | ||
}: EditAuthorRecordActionProps) { | ||
return canEdit ? ( | ||
<EditRecordAction | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,14 @@ exports[`AssignNoProfileAction renders 1`] = ` | |
<Tooltip | ||
title={ | ||
<p> | ||
There is no profile associated to your account. Please contact us at | ||
There is no profile associated to your account. Please | ||
<a | ||
href="mailto:[email protected]" | ||
href="https://help.inspirehep.net/knowledge-base/contact-us" | ||
rel="noreferrer" | ||
target="_blank" | ||
> | ||
[email protected] | ||
contact us | ||
</a> | ||
</p> | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -169,14 +169,14 @@ exports[`UserFeedback renders when tracker is blocked 1`] = ` | |
feedback form | ||
</LinkWithTargetBlank> | ||
or by email at | ||
<LinkWithTargetBlank | ||
as="a" | ||
href="mailto:[email protected]" | ||
or | ||
<a | ||
href="https://help.inspirehep.net/knowledge-base/contact-us" | ||
rel="noreferrer" | ||
target="_blank" | ||
> | ||
[email protected] | ||
</LinkWithTargetBlank> | ||
contact us | ||
</a> | ||
. | ||
</p> | ||
</React.Fragment> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,12 +125,14 @@ exports[`HeaderMenu renders when logged in 1`] = ` | |
<Tooltip | ||
title={ | ||
<p> | ||
There is no profile associated to your account. Please contact us at | ||
There is no profile associated to your account. Please | ||
<a | ||
href="mailto:[email protected]" | ||
href="https://help.inspirehep.net/knowledge-base/contact-us" | ||
rel="noreferrer" | ||
target="_blank" | ||
> | ||
[email protected] | ||
contact us | ||
</a> | ||
</p> | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,8 +81,14 @@ export function assignLiteratureItemError(key) { | |
message: 'Assignment Error!', | ||
description: ( | ||
<span> | ||
This paper cannot be claimed automatically. Please contact us at{' '} | ||
<a href="mailto:[email protected]">[email protected]</a> | ||
This paper cannot be claimed automatically. Please{' '} | ||
<a | ||
href="https://help.inspirehep.net/knowledge-base/contact-us" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
contact us | ||
</a> | ||
</span> | ||
), | ||
}); | ||
|