I have two views that show roughly the same data, but one is by client while the other is by project. Normally this would be great, as the same display template gets re-used across both views. However, I need the display of those items to be different when they list by client vs by project. However, they already have display templates defined. Is there some way for me to have two display templates for a single type?
edit
Ok, I forgot one important detail that makes this more complicated. While there are individual models (view models) that hold the items for each view, the items themselves are of mixed types (common base class). The display templates are for each of the types of items that can be in the list, so I can't use an attribute on the model.
I suppose I could make individual sub-models to wrap or replace the classes, but that's more duplication and work than I'd prefer.