am 1a00f7fe: fix \'next\' links to disable them when at the end of a list. Also remove the "next class" link at the end of training.

* commit '1a00f7fecd240871caa219bb45460b43c652c604':
  fix 'next' links to disable them when at the end of a list. Also remove the "next class" link at the end of training.