Skip to content

Allow activity verbs with same name #51

@bodgerbarnett

Description

@bodgerbarnett

I'm trying to display an activity feed for a group which could include a number of different activities which could be described as "created". For instance, the creation of the group itself, the creation of an invite to the group etc.

So I'd like to be able to create a template in the groups app called created.html but also a template in the invitations app called created.html.

The existing template tag will use the first one it finds and not use the app-specific one.

I was hoping that the tag might be able to use the target of the activity to try and figure this out but I'm not sure how to implement it so I can do a pull request.

Is this possible or am I barking up the wrong tree here? Maybe naming the templates different things is the only way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions