[MTE-17] Adjust download link title to also fallback to asset's filename to be in sync with download teaser Created: 15/Apr/15  Updated: 15/Apr/15  Resolved: 15/Apr/15

Status: Closed
Project: Magnolia Templating Essentials
Component/s: models
Affects Version/s: None
Fix Version/s: 0.5

Type: Improvement Priority: Neutral
Reporter: Philip Mundt Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

When using a download teaser and the asset doesn't have a title, the teaser title will fallback to the filename of the asset.

This is currently not the case with the download link, it will display an empty string instead.

Both components should behave the same way!


Generated at Mon Feb 12 07:40:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.