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

Add share and pdf download links to TOC [PUB-234] #493

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

web-dev-trev
Copy link
Member

No description provided.


<ul class="m-article-actions{{ (isset($variation)) ? ' '.$variation : '' }}" aria-labelledby="h-article-actions{{ (isset($variation)) ? $variation : '' }}">

@if (empty($hideShare))
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure that a slot value for hideShare and pdfDownloadPath are being passed to this molecule.

Copy link
Member

Choose a reason for hiding this comment

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

I'm specifically looking at the call to the molecule in digitalPublicationArticleDetail.blade.php. In other places where _m-article-actions.blade.php is used to render the icons will appear, but in the case of digitalPublicationArticleDetail it calls _m-article-actions----digital-publication.blade.php directly, and should pass these values.

Copy link
Member

@nikhiltri nikhiltri left a comment

Choose a reason for hiding this comment

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

Looks good! ⭐

Copy link

sonarcloud bot commented Aug 27, 2024

@web-dev-trev web-dev-trev merged commit 02cf00b into develop Aug 27, 2024
3 checks passed
@web-dev-trev web-dev-trev deleted the fix/print-icons-in-digipub-toc branch August 27, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants