Add repository parameters to metric detail links

Until now one had to reselect the repository every time after selecting
the detail view of a certain metric. This commit adds the repository
argument to each link.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>