https://bugs.kde.org/show_bug.cgi?id=447743
Bug ID: 447743 Summary: Make List-Id id and phrase available separately to grantlee for header themeing Product: kdepim Version: GIT (master) Platform: unspecified OS: All Status: REPORTED Severity: wishlist Priority: NOR Component: messageviewer Assignee: kdepim-bugs@kde.org Reporter: bugs.kde....@e3q.eu CC: kdepim-bugs@kde.org Target Milestone: --- AFAICT, all variables available to grantlee header theme editors are listed in https://invent.kde.org/pim/messagelib/-/blob/master/messageviewer/src/header/grantleeheaderformatter.cpp There, the List-Id header is exposed as a string containing all of the List-Id header content. However, the List-Id header is structured (https://datatracker.ietf.org/doc/html/rfc2919). Namely, it contains the actual id between angle brackets and possibly also a descriptive phrase in front. Because for presentation purposes, the phrase is more useful than the id itself, it would be useful to expose these separately. The grantlee variable header.listid could be modified to have properties/fields for each, so header.listid.phrase (e.g., for display) and header.listid.id (e.g., for in title attribute of element used to display header.listid.phrase). In case the listid variable cannot be modified this way in a backwards-compatible manner, perhaps a new variable, e.g., header.structuredlistid, can be added. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.