first draft of associated resources badges in results popovers
Note that this isn't working for the listview popovers yet