We do not provide code edit assistance. The template files for CB Activity can be found at the below location.
/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default
Make a copy of the default template folder, rename it to something like "custom", then delete all the files you don't intend on changing. Next select it within CB Activity as the template to prevent changes being lost on update (note you will need to maintain your template file and check for changes with new releases).