Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 4.x][Fixes #968] Adjustments to links inside Share Panel #1030

Closed
wants to merge 1 commit into from

Conversation

DavidQuartz
Copy link
Member

Share links have been adjusted according to #968 (comment)

Screenshot 2022-06-08 at 14 09 47

Screenshot 2022-06-08 at 14 10 02

@@ -130,7 +131,8 @@ function Share({
</div>
<div className="gn-share-panel-body">
<SharePageLink url={pageUrl} label={<Message msgId="gnviewer.thisPage" />} />
<SharePageLink url={embedUrl} label={<Message msgId={`gnhome.${resourceType}`} />} />
<SharePageLink url={embedUrl} label={<Message msgId={`gnviewer.embed${resourceType}`} />} />
{resourceType === 'document' && <SharePageLink url={downloadUrl} label={<Message msgId={`gnviewer.directLink`} />} />}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This backport does not match the commit on master, please use the same commit on master

fe3ddfd#diff-e81b8603dbbf83db9f5f8a705cd5dafc164127477a90240b41072c740eb9e349R145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants