Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #573 from B77Mills/updateMagazineButtons
Browse files Browse the repository at this point in the history
Update magazine publication buttons component
  • Loading branch information
brandonbk authored Feb 15, 2023
2 parents 3b52529 + 45aff5b commit 2cf9c8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $ const nodeClass = ["magazine-publication-card-block", input.class].join(" ");
</if>
<@footer>
<@left>
<theme-magazine-publication-buttons publication=publication issue=issue />
<theme-magazine-publication-buttons publication=publication issue=issue buttons=input.buttons />
</@left>
</@footer>
</@body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ const issue = getAsObject(input, "issue");
Subscribe
</marko-web-magazine-publication-subscribe-url>
</if>
<if(button === "renew")>
<if(button === "renewal")>
<marko-web-magazine-publication-renewal-url tag=null obj=issue.publication link=targetBlankLink>
Renew
</marko-web-magazine-publication-renewal-url>
Expand Down Expand Up @@ -48,4 +48,9 @@ $ const issue = getAsObject(input, "issue");
E-Inquiry
</marko-web-magazine-publication-einquiry-url>
</if>
<if(button === "change-address")>
<marko-web-magazine-publication-change-address-url tag=null obj=issue.publication link=targetBlankLink>
Change Address
</marko-web-magazine-publication-change-address-url>
</if>
</for>

0 comments on commit 2cf9c8f

Please sign in to comment.