Add selected_resources
to the Jinja context
#5001
Merged
selected_resources
to the Jinja context
#5001