Fix bug in legfile_detail template

- Still using old-style url tag