Skip to content

Feature/cms 1356 displaying element data in various view modes#16324

Merged
brandonkelly merged 8 commits into5.6from
feature/cms-1356-displaying-element-data-in-various-view-modes
Dec 14, 2024
Merged

Feature/cms 1356 displaying element data in various view modes#16324
brandonkelly merged 8 commits into5.6from
feature/cms-1356-displaying-element-data-in-various-view-modes

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Dec 12, 2024

Description

This PR makes it possible for the Element attributes and fields to be displayed differently on element index pages depending on the selected view mode (structure, table, thumbs, cards).

If an entry type is configured to have an icon, that icon is no longer displayed next to the entry type name in the cards view mode (as opposed to that icon being hidden with css).

When an element is displayed in the cards view mode, a lightswitch field shows its value when the field is toggled off.

Comparison of how the same element, with the same attributes and fields set to show in a table and cards views:
Screenshot 2024-12-12 at 13 32 03
Screenshot 2024-12-12 at 13 33 16

Related issues

cms-1356

@linear
Copy link
Copy Markdown

linear Bot commented Dec 12, 2024

@i-just i-just requested a review from brandonkelly December 12, 2024 15:23
@brandonkelly brandonkelly merged commit e2bb579 into 5.6 Dec 14, 2024
@brandonkelly brandonkelly deleted the feature/cms-1356-displaying-element-data-in-various-view-modes branch December 14, 2024 00:58
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