AndyB
Well-known member
The Resource manager by default shows a Download button like this:

My goal is to change the Download button so it shows like this:

In the xfrm_resource_wrapper_macros template the following phrase will be updated using Template modifications:
I assume I will use $resource.filename instead of the phrase. My question is how can I update the $resource object to include the filename?
Thank you.

My goal is to change the Download button so it shows like this:

In the xfrm_resource_wrapper_macros template the following phrase will be updated using Template modifications:
icon="download">{{ phrase('download') }}</xf:button>
I assume I will use $resource.filename instead of the phrase. My question is how can I update the $resource object to include the filename?
Thank you.