Skip to content

Add ability to use custom templates for message/template items #86

@MartinLyne

Description

@MartinLyne

So I just got into using notifications and feel that the messages have an overly strict template. Fixed date format, requires a from-user and click url.

Wanted to gather some thoughts, expanding the Interface/s to require a getTemplateName ("YourBundle::template.html.twig") that replaces the normal template if found.

I'm still mulling that in my head. the alternative is.. I make a whole new event, a more generic notification that allows you to customise the navbar icon (currently stuck with bell for general, envelope for message) and uses the same custom template solution as above for rendering each item.

Currently got a bad cold, so if any of this has an easier solution or just sounds like fever dreams, please, let me know.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions