Fix consistencies in variable names

Fix consistencies in variable names in the External Trainings controller
and views