Edit report templates

To edit the template of a required report:

  • Find the template of the required report in /usr/share/staffcop/analytics/templates. For example, the template of “Activity report” is found in /usr/share/staffcop/analytics/templates/report/activity.html

  • Create a directory for your report changing ../analytics/templates.. to ../override... For example, /usr/share/staffcop/override/report/.

mkdir -p /usr/share/staffcop/override/report/
  • Copy the template file to the specified directory.

cp /usr/share/staffcop/analytics/templates/report/activity.html /usr/share/staffcop/override/report/
  • Edit the copied template the way you need.