Making Cards Fully Clickable

Created on 26 August 2022, about 2 years ago
Updated 12 July 2023, over 1 year ago

This ticket is to add the functionality to make tickets fully clickable.

The logic would be:
- if there is only 1 link, with no link text - hide the link itself, and make entire card clickable.
- if there is more than 1 link, or if there is link text - than we show the links as buttons at the bottom of the card.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada aastrong

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada aastrong

    So here is the plan for this to work.

    #1. Setup logic in our twig template for all cards.
    The logic follows as such

    - If it is manual content
    - If the link field is present
    - If the link text is filled out ( show button, and make title and image clickable )
    - If the link text is empty ( make entire card clickable )

  • Status changed to Closed: outdated about 2 months ago
  • We are not supporting this version. Please use 2.2.x

Production build 0.71.5 2024